1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2008-2009 Texas Instruments Inc
4  *
5  **************************************************************************/
6 #ifndef _CCDC_TYPES_H
7 #define _CCDC_TYPES_H
8 enum ccdc_pixfmt {
9 	CCDC_PIXFMT_RAW,
10 	CCDC_PIXFMT_YCBCR_16BIT,
11 	CCDC_PIXFMT_YCBCR_8BIT
12 };
13 
14 enum ccdc_frmfmt {
15 	CCDC_FRMFMT_PROGRESSIVE,
16 	CCDC_FRMFMT_INTERLACED
17 };
18 
19 /* PIXEL ORDER IN MEMORY from LSB to MSB */
20 /* only applicable for 8-bit input mode  */
21 enum ccdc_pixorder {
22 	CCDC_PIXORDER_YCBYCR,
23 	CCDC_PIXORDER_CBYCRY,
24 };
25 
26 enum ccdc_buftype {
27 	CCDC_BUFTYPE_FLD_INTERLEAVED,
28 	CCDC_BUFTYPE_FLD_SEPARATED
29 };
30 #endif
31