blob: 79d4cd5e4c5432e6d074c5a0326374c832e56d9f [file] [log] [blame]
Christopher Ferris05d08e92016-02-04 13:16:38 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __LINUX_MEDIA_BUS_FORMAT_H
20#define __LINUX_MEDIA_BUS_FORMAT_H
21#define MEDIA_BUS_FMT_FIXED 0x0001
22#define MEDIA_BUS_FMT_RGB444_1X12 0x1016
Christopher Ferris05d08e92016-02-04 13:16:38 -080023#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001
24#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002
25#define MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE 0x1003
26#define MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE 0x1004
Christopher Ferris05d08e92016-02-04 13:16:38 -080027#define MEDIA_BUS_FMT_RGB565_1X16 0x1017
28#define MEDIA_BUS_FMT_BGR565_2X8_BE 0x1005
29#define MEDIA_BUS_FMT_BGR565_2X8_LE 0x1006
30#define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007
Christopher Ferris05d08e92016-02-04 13:16:38 -080031#define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008
32#define MEDIA_BUS_FMT_RGB666_1X18 0x1009
Christopher Ferrisb7cef6d2023-05-09 19:04:15 +000033#define MEDIA_BUS_FMT_BGR666_1X18 0x1023
Christopher Ferris05d08e92016-02-04 13:16:38 -080034#define MEDIA_BUS_FMT_RBG888_1X24 0x100e
35#define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015
Christopher Ferrisb7cef6d2023-05-09 19:04:15 +000036#define MEDIA_BUS_FMT_BGR666_1X24_CPADHI 0x1024
37#define MEDIA_BUS_FMT_RGB565_1X24_CPADHI 0x1022
Christopher Ferris05d08e92016-02-04 13:16:38 -080038#define MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 0x1010
39#define MEDIA_BUS_FMT_BGR888_1X24 0x1013
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070040#define MEDIA_BUS_FMT_BGR888_3X8 0x101b
Christopher Ferris05d08e92016-02-04 13:16:38 -080041#define MEDIA_BUS_FMT_GBR888_1X24 0x1014
42#define MEDIA_BUS_FMT_RGB888_1X24 0x100a
Christopher Ferris05d08e92016-02-04 13:16:38 -080043#define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b
44#define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c
Christopher Ferris9584fa42019-12-09 15:36:13 -080045#define MEDIA_BUS_FMT_RGB888_3X8 0x101c
Christopher Ferris05667cd2021-02-16 16:01:34 -080046#define MEDIA_BUS_FMT_RGB888_3X8_DELTA 0x101d
Christopher Ferris05d08e92016-02-04 13:16:38 -080047#define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011
48#define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012
Christopher Ferris7447a1c2022-10-04 18:24:44 -070049#define MEDIA_BUS_FMT_RGB666_1X30_CPADLO 0x101e
50#define MEDIA_BUS_FMT_RGB888_1X30_CPADLO 0x101f
Christopher Ferris05d08e92016-02-04 13:16:38 -080051#define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d
52#define MEDIA_BUS_FMT_RGB888_1X32_PADHI 0x100f
Christopher Ferris525ce912017-07-26 13:12:53 -070053#define MEDIA_BUS_FMT_RGB101010_1X30 0x1018
Christopher Ferris7447a1c2022-10-04 18:24:44 -070054#define MEDIA_BUS_FMT_RGB666_1X36_CPADLO 0x1020
55#define MEDIA_BUS_FMT_RGB888_1X36_CPADLO 0x1021
Christopher Ferris525ce912017-07-26 13:12:53 -070056#define MEDIA_BUS_FMT_RGB121212_1X36 0x1019
57#define MEDIA_BUS_FMT_RGB161616_1X48 0x101a
Christopher Ferris05d08e92016-02-04 13:16:38 -080058#define MEDIA_BUS_FMT_Y8_1X8 0x2001
59#define MEDIA_BUS_FMT_UV8_1X8 0x2015
Christopher Ferris05d08e92016-02-04 13:16:38 -080060#define MEDIA_BUS_FMT_UYVY8_1_5X8 0x2002
61#define MEDIA_BUS_FMT_VYUY8_1_5X8 0x2003
62#define MEDIA_BUS_FMT_YUYV8_1_5X8 0x2004
63#define MEDIA_BUS_FMT_YVYU8_1_5X8 0x2005
Christopher Ferris05d08e92016-02-04 13:16:38 -080064#define MEDIA_BUS_FMT_UYVY8_2X8 0x2006
65#define MEDIA_BUS_FMT_VYUY8_2X8 0x2007
66#define MEDIA_BUS_FMT_YUYV8_2X8 0x2008
67#define MEDIA_BUS_FMT_YVYU8_2X8 0x2009
Christopher Ferris05d08e92016-02-04 13:16:38 -080068#define MEDIA_BUS_FMT_Y10_1X10 0x200a
Christopher Ferris9ce28842018-10-25 12:11:39 -070069#define MEDIA_BUS_FMT_Y10_2X8_PADHI_LE 0x202c
Christopher Ferris05d08e92016-02-04 13:16:38 -080070#define MEDIA_BUS_FMT_UYVY10_2X10 0x2018
71#define MEDIA_BUS_FMT_VYUY10_2X10 0x2019
72#define MEDIA_BUS_FMT_YUYV10_2X10 0x200b
Christopher Ferris05d08e92016-02-04 13:16:38 -080073#define MEDIA_BUS_FMT_YVYU10_2X10 0x200c
74#define MEDIA_BUS_FMT_Y12_1X12 0x2013
75#define MEDIA_BUS_FMT_UYVY12_2X12 0x201c
76#define MEDIA_BUS_FMT_VYUY12_2X12 0x201d
Christopher Ferris05d08e92016-02-04 13:16:38 -080077#define MEDIA_BUS_FMT_YUYV12_2X12 0x201e
78#define MEDIA_BUS_FMT_YVYU12_2X12 0x201f
Christopher Ferrisaf09c702020-06-01 20:29:29 -070079#define MEDIA_BUS_FMT_Y14_1X14 0x202d
Christopher Ferris8b7fdc92023-02-21 13:36:32 -080080#define MEDIA_BUS_FMT_Y16_1X16 0x202e
Christopher Ferris05d08e92016-02-04 13:16:38 -080081#define MEDIA_BUS_FMT_UYVY8_1X16 0x200f
82#define MEDIA_BUS_FMT_VYUY8_1X16 0x2010
Christopher Ferris05d08e92016-02-04 13:16:38 -080083#define MEDIA_BUS_FMT_YUYV8_1X16 0x2011
84#define MEDIA_BUS_FMT_YVYU8_1X16 0x2012
85#define MEDIA_BUS_FMT_YDYUYDYV8_1X16 0x2014
86#define MEDIA_BUS_FMT_UYVY10_1X20 0x201a
Christopher Ferris05d08e92016-02-04 13:16:38 -080087#define MEDIA_BUS_FMT_VYUY10_1X20 0x201b
88#define MEDIA_BUS_FMT_YUYV10_1X20 0x200d
89#define MEDIA_BUS_FMT_YVYU10_1X20 0x200e
90#define MEDIA_BUS_FMT_VUY8_1X24 0x2024
Christopher Ferris05d08e92016-02-04 13:16:38 -080091#define MEDIA_BUS_FMT_YUV8_1X24 0x2025
Christopher Ferris525ce912017-07-26 13:12:53 -070092#define MEDIA_BUS_FMT_UYYVYY8_0_5X24 0x2026
Christopher Ferris05d08e92016-02-04 13:16:38 -080093#define MEDIA_BUS_FMT_UYVY12_1X24 0x2020
94#define MEDIA_BUS_FMT_VYUY12_1X24 0x2021
95#define MEDIA_BUS_FMT_YUYV12_1X24 0x2022
Christopher Ferris05d08e92016-02-04 13:16:38 -080096#define MEDIA_BUS_FMT_YVYU12_1X24 0x2023
97#define MEDIA_BUS_FMT_YUV10_1X30 0x2016
Christopher Ferris525ce912017-07-26 13:12:53 -070098#define MEDIA_BUS_FMT_UYYVYY10_0_5X30 0x2027
Christopher Ferris05d08e92016-02-04 13:16:38 -080099#define MEDIA_BUS_FMT_AYUV8_1X32 0x2017
Christopher Ferris525ce912017-07-26 13:12:53 -0700100#define MEDIA_BUS_FMT_UYYVYY12_0_5X36 0x2028
101#define MEDIA_BUS_FMT_YUV12_1X36 0x2029
102#define MEDIA_BUS_FMT_YUV16_1X48 0x202a
103#define MEDIA_BUS_FMT_UYYVYY16_0_5X48 0x202b
Christopher Ferris05d08e92016-02-04 13:16:38 -0800104#define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001
Christopher Ferris05d08e92016-02-04 13:16:38 -0800105#define MEDIA_BUS_FMT_SGBRG8_1X8 0x3013
106#define MEDIA_BUS_FMT_SGRBG8_1X8 0x3002
107#define MEDIA_BUS_FMT_SRGGB8_1X8 0x3014
108#define MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8 0x3015
Christopher Ferris05d08e92016-02-04 13:16:38 -0800109#define MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8 0x3016
110#define MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8 0x3017
111#define MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8 0x3018
112#define MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8 0x300b
Christopher Ferris05d08e92016-02-04 13:16:38 -0800113#define MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8 0x300c
114#define MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8 0x3009
115#define MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8 0x300d
116#define MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE 0x3003
Christopher Ferris05d08e92016-02-04 13:16:38 -0800117#define MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE 0x3004
118#define MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE 0x3005
119#define MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE 0x3006
120#define MEDIA_BUS_FMT_SBGGR10_1X10 0x3007
Christopher Ferris05d08e92016-02-04 13:16:38 -0800121#define MEDIA_BUS_FMT_SGBRG10_1X10 0x300e
122#define MEDIA_BUS_FMT_SGRBG10_1X10 0x300a
123#define MEDIA_BUS_FMT_SRGGB10_1X10 0x300f
124#define MEDIA_BUS_FMT_SBGGR12_1X12 0x3008
Christopher Ferris05d08e92016-02-04 13:16:38 -0800125#define MEDIA_BUS_FMT_SGBRG12_1X12 0x3010
126#define MEDIA_BUS_FMT_SGRBG12_1X12 0x3011
127#define MEDIA_BUS_FMT_SRGGB12_1X12 0x3012
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800128#define MEDIA_BUS_FMT_SBGGR14_1X14 0x3019
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800129#define MEDIA_BUS_FMT_SGBRG14_1X14 0x301a
130#define MEDIA_BUS_FMT_SGRBG14_1X14 0x301b
131#define MEDIA_BUS_FMT_SRGGB14_1X14 0x301c
132#define MEDIA_BUS_FMT_SBGGR16_1X16 0x301d
Christopher Ferris6a9755d2017-01-13 14:09:31 -0800133#define MEDIA_BUS_FMT_SGBRG16_1X16 0x301e
134#define MEDIA_BUS_FMT_SGRBG16_1X16 0x301f
135#define MEDIA_BUS_FMT_SRGGB16_1X16 0x3020
Christopher Ferris05d08e92016-02-04 13:16:38 -0800136#define MEDIA_BUS_FMT_JPEG_1X8 0x4001
Christopher Ferris05d08e92016-02-04 13:16:38 -0800137#define MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8 0x5001
138#define MEDIA_BUS_FMT_AHSV8888_1X32 0x6001
Christopher Ferris05667cd2021-02-16 16:01:34 -0800139#define MEDIA_BUS_FMT_METADATA_FIXED 0x7001
Christopher Ferris05d08e92016-02-04 13:16:38 -0800140#endif