]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/media/davinci/ccdc_types.h
a27defcf972c723ea35af46cc5b502e74d284494
[mirror_ubuntu-artful-kernel.git] / include / media / davinci / ccdc_types.h
1 /*
2 * Copyright (C) 2008-2009 Texas Instruments Inc
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 **************************************************************************/
15 #ifndef _CCDC_TYPES_H
16 #define _CCDC_TYPES_H
17 enum ccdc_pixfmt {
18 CCDC_PIXFMT_RAW,
19 CCDC_PIXFMT_YCBCR_16BIT,
20 CCDC_PIXFMT_YCBCR_8BIT
21 };
22
23 enum ccdc_frmfmt {
24 CCDC_FRMFMT_PROGRESSIVE,
25 CCDC_FRMFMT_INTERLACED
26 };
27
28 /* PIXEL ORDER IN MEMORY from LSB to MSB */
29 /* only applicable for 8-bit input mode */
30 enum ccdc_pixorder {
31 CCDC_PIXORDER_YCBYCR,
32 CCDC_PIXORDER_CBYCRY,
33 };
34
35 enum ccdc_buftype {
36 CCDC_BUFTYPE_FLD_INTERLEAVED,
37 CCDC_BUFTYPE_FLD_SEPARATED
38 };
39 #endif