1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #ifndef _SH_CSS_UDS_H_ 8 #define _SH_CSS_UDS_H_ 9 10 #include <type_support.h> 11 12 #define SIZE_OF_SH_CSS_UDS_INFO_IN_BITS (4 * 16) 13 #define SIZE_OF_SH_CSS_CROP_POS_IN_BITS (2 * 16) 14 15 /* Uds types, used in pipeline_global.h and sh_css_internal.h */ 16 17 struct sh_css_uds_info { 18 u16 curr_dx; 19 u16 curr_dy; 20 u16 xc; 21 u16 yc; 22 }; 23 24 struct sh_css_crop_pos { 25 u16 x; 26 u16 y; 27 }; 28 29 #endif /* _SH_CSS_UDS_H_ */ 30