1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 */ 15 16 #ifndef _SH_CSS_UDS_H_ 17 #define _SH_CSS_UDS_H_ 18 19 #include <type_support.h> 20 21 #define SIZE_OF_SH_CSS_UDS_INFO_IN_BITS (4 * 16) 22 #define SIZE_OF_SH_CSS_CROP_POS_IN_BITS (2 * 16) 23 24 /* Uds types, used in pipeline_global.h and sh_css_internal.h */ 25 26 struct sh_css_uds_info { 27 u16 curr_dx; 28 u16 curr_dy; 29 u16 xc; 30 u16 yc; 31 }; 32 33 struct sh_css_crop_pos { 34 u16 x; 35 u16 y; 36 }; 37 38 #endif /* _SH_CSS_UDS_H_ */ 39