media-bus-format.h revision 05d08e9716b5974d6ed08973f44930804890b902
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_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 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 25#define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 26#define MEDIA_BUS_FMT_RGB555_2X8_PADHI_BE 0x1003 27#define MEDIA_BUS_FMT_RGB555_2X8_PADHI_LE 0x1004 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define MEDIA_BUS_FMT_RGB565_1X16 0x1017 30#define MEDIA_BUS_FMT_BGR565_2X8_BE 0x1005 31#define MEDIA_BUS_FMT_BGR565_2X8_LE 0x1006 32#define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008 35#define MEDIA_BUS_FMT_RGB666_1X18 0x1009 36#define MEDIA_BUS_FMT_RBG888_1X24 0x100e 37#define MEDIA_BUS_FMT_RGB666_1X24_CPADHI 0x1015 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#define MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 0x1010 40#define MEDIA_BUS_FMT_BGR888_1X24 0x1013 41#define MEDIA_BUS_FMT_GBR888_1X24 0x1014 42#define MEDIA_BUS_FMT_RGB888_1X24 0x100a 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44#define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b 45#define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c 46#define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011 47#define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49#define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d 50#define MEDIA_BUS_FMT_RGB888_1X32_PADHI 0x100f 51#define MEDIA_BUS_FMT_Y8_1X8 0x2001 52#define MEDIA_BUS_FMT_UV8_1X8 0x2015 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54#define MEDIA_BUS_FMT_UYVY8_1_5X8 0x2002 55#define MEDIA_BUS_FMT_VYUY8_1_5X8 0x2003 56#define MEDIA_BUS_FMT_YUYV8_1_5X8 0x2004 57#define MEDIA_BUS_FMT_YVYU8_1_5X8 0x2005 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#define MEDIA_BUS_FMT_UYVY8_2X8 0x2006 60#define MEDIA_BUS_FMT_VYUY8_2X8 0x2007 61#define MEDIA_BUS_FMT_YUYV8_2X8 0x2008 62#define MEDIA_BUS_FMT_YVYU8_2X8 0x2009 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64#define MEDIA_BUS_FMT_Y10_1X10 0x200a 65#define MEDIA_BUS_FMT_UYVY10_2X10 0x2018 66#define MEDIA_BUS_FMT_VYUY10_2X10 0x2019 67#define MEDIA_BUS_FMT_YUYV10_2X10 0x200b 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69#define MEDIA_BUS_FMT_YVYU10_2X10 0x200c 70#define MEDIA_BUS_FMT_Y12_1X12 0x2013 71#define MEDIA_BUS_FMT_UYVY12_2X12 0x201c 72#define MEDIA_BUS_FMT_VYUY12_2X12 0x201d 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74#define MEDIA_BUS_FMT_YUYV12_2X12 0x201e 75#define MEDIA_BUS_FMT_YVYU12_2X12 0x201f 76#define MEDIA_BUS_FMT_UYVY8_1X16 0x200f 77#define MEDIA_BUS_FMT_VYUY8_1X16 0x2010 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79#define MEDIA_BUS_FMT_YUYV8_1X16 0x2011 80#define MEDIA_BUS_FMT_YVYU8_1X16 0x2012 81#define MEDIA_BUS_FMT_YDYUYDYV8_1X16 0x2014 82#define MEDIA_BUS_FMT_UYVY10_1X20 0x201a 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84#define MEDIA_BUS_FMT_VYUY10_1X20 0x201b 85#define MEDIA_BUS_FMT_YUYV10_1X20 0x200d 86#define MEDIA_BUS_FMT_YVYU10_1X20 0x200e 87#define MEDIA_BUS_FMT_VUY8_1X24 0x2024 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89#define MEDIA_BUS_FMT_YUV8_1X24 0x2025 90#define MEDIA_BUS_FMT_UYVY12_1X24 0x2020 91#define MEDIA_BUS_FMT_VYUY12_1X24 0x2021 92#define MEDIA_BUS_FMT_YUYV12_1X24 0x2022 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94#define MEDIA_BUS_FMT_YVYU12_1X24 0x2023 95#define MEDIA_BUS_FMT_YUV10_1X30 0x2016 96#define MEDIA_BUS_FMT_AYUV8_1X32 0x2017 97#define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99#define MEDIA_BUS_FMT_SGBRG8_1X8 0x3013 100#define MEDIA_BUS_FMT_SGRBG8_1X8 0x3002 101#define MEDIA_BUS_FMT_SRGGB8_1X8 0x3014 102#define MEDIA_BUS_FMT_SBGGR10_ALAW8_1X8 0x3015 103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104#define MEDIA_BUS_FMT_SGBRG10_ALAW8_1X8 0x3016 105#define MEDIA_BUS_FMT_SGRBG10_ALAW8_1X8 0x3017 106#define MEDIA_BUS_FMT_SRGGB10_ALAW8_1X8 0x3018 107#define MEDIA_BUS_FMT_SBGGR10_DPCM8_1X8 0x300b 108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109#define MEDIA_BUS_FMT_SGBRG10_DPCM8_1X8 0x300c 110#define MEDIA_BUS_FMT_SGRBG10_DPCM8_1X8 0x3009 111#define MEDIA_BUS_FMT_SRGGB10_DPCM8_1X8 0x300d 112#define MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE 0x3003 113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114#define MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE 0x3004 115#define MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE 0x3005 116#define MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE 0x3006 117#define MEDIA_BUS_FMT_SBGGR10_1X10 0x3007 118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119#define MEDIA_BUS_FMT_SGBRG10_1X10 0x300e 120#define MEDIA_BUS_FMT_SGRBG10_1X10 0x300a 121#define MEDIA_BUS_FMT_SRGGB10_1X10 0x300f 122#define MEDIA_BUS_FMT_SBGGR12_1X12 0x3008 123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124#define MEDIA_BUS_FMT_SGBRG12_1X12 0x3010 125#define MEDIA_BUS_FMT_SGRBG12_1X12 0x3011 126#define MEDIA_BUS_FMT_SRGGB12_1X12 0x3012 127#define MEDIA_BUS_FMT_JPEG_1X8 0x4001 128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129#define MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8 0x5001 130#define MEDIA_BUS_FMT_AHSV8888_1X32 0x6001 131#endif 132