Home | History | Annotate | Download | only in include
      1 /****************************************************************************
      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_V4L2_MEDIABUS_H
     20 #define __LINUX_V4L2_MEDIABUS_H
     21 #include <linux/types.h>
     22 #include <linux/videodev2.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 enum v4l2_mbus_pixelcode {
     25  V4L2_MBUS_FMT_FIXED = 0x0001,
     26  V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE = 0x1001,
     27  V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE = 0x1002,
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29  V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE = 0x1003,
     30  V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE = 0x1004,
     31  V4L2_MBUS_FMT_BGR565_2X8_BE = 0x1005,
     32  V4L2_MBUS_FMT_BGR565_2X8_LE = 0x1006,
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  V4L2_MBUS_FMT_RGB565_2X8_BE = 0x1007,
     35  V4L2_MBUS_FMT_RGB565_2X8_LE = 0x1008,
     36  V4L2_MBUS_FMT_XRGB8888_4X8_LE = 0x1009,
     37  V4L2_MBUS_FMT_Y8_1X8 = 0x2001,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  V4L2_MBUS_FMT_UYVY8_1_5X8 = 0x2002,
     40  V4L2_MBUS_FMT_VYUY8_1_5X8 = 0x2003,
     41  V4L2_MBUS_FMT_YUYV8_1_5X8 = 0x2004,
     42  V4L2_MBUS_FMT_YVYU8_1_5X8 = 0x2005,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  V4L2_MBUS_FMT_UYVY8_2X8 = 0x2006,
     45  V4L2_MBUS_FMT_VYUY8_2X8 = 0x2007,
     46  V4L2_MBUS_FMT_YUYV8_2X8 = 0x2008,
     47  V4L2_MBUS_FMT_YVYU8_2X8 = 0x2009,
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  V4L2_MBUS_FMT_Y10_1X10 = 0x200a,
     50  V4L2_MBUS_FMT_YUYV10_2X10 = 0x200b,
     51  V4L2_MBUS_FMT_YVYU10_2X10 = 0x200c,
     52  V4L2_MBUS_FMT_Y12_1X12 = 0x2013,
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54  V4L2_MBUS_FMT_UYVY8_1X16 = 0x200f,
     55  V4L2_MBUS_FMT_VYUY8_1X16 = 0x2010,
     56  V4L2_MBUS_FMT_YUYV8_1X16 = 0x2011,
     57  V4L2_MBUS_FMT_YVYU8_1X16 = 0x2012,
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59  V4L2_MBUS_FMT_YUV8_1X24 = 0x2014,
     60  V4L2_MBUS_FMT_YUYV10_1X20 = 0x200d,
     61  V4L2_MBUS_FMT_YVYU10_1X20 = 0x200e,
     62  V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001,
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64  V4L2_MBUS_FMT_SGBRG8_1X8 = 0x3013,
     65  V4L2_MBUS_FMT_SGRBG8_1X8 = 0x3002,
     66  V4L2_MBUS_FMT_SRGGB8_1X8 = 0x3014,
     67  V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 0x300b,
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69  V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 0x300c,
     70  V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 0x3009,
     71  V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 0x300d,
     72  V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 0x3003,
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74  V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 0x3004,
     75  V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 0x3005,
     76  V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 0x3006,
     77  V4L2_MBUS_FMT_SBGGR10_1X10 = 0x3007,
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79  V4L2_MBUS_FMT_SGBRG10_1X10 = 0x300e,
     80  V4L2_MBUS_FMT_SGRBG10_1X10 = 0x300a,
     81  V4L2_MBUS_FMT_SRGGB10_1X10 = 0x300f,
     82  V4L2_MBUS_FMT_SBGGR12_1X12 = 0x3008,
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84  V4L2_MBUS_FMT_SGBRG12_1X12 = 0x3010,
     85  V4L2_MBUS_FMT_SGRBG12_1X12 = 0x3011,
     86  V4L2_MBUS_FMT_SRGGB12_1X12 = 0x3012,
     87  V4L2_MBUS_FMT_JPEG_1X8 = 0x4001,
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 };
     90 struct v4l2_mbus_framefmt {
     91  __u32 width;
     92  __u32 height;
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94  __u32 code;
     95  __u32 field;
     96  __u32 colorspace;
     97  __u32 reserved[7];
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 };
    100 #endif
    101