diff options
author | Hyun Kwon <hyun.kwon@xilinx.com> | 2014-03-18 12:18:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 23:49:07 -0400 |
commit | e8b2d7a565ae4fc8627ffe35b953062ff6119533 (patch) | |
tree | 2dbfab202ac06794c06cbe880f4fda5e86e8a3e9 /include/uapi | |
parent | 7b0fd4568bee379474eb0d989ef1125064f19fa7 (diff) |
[media] v4l: Sort YUV formats of v4l2_mbus_pixelcode
Keep the formats sorted by type, bus_width, bits per component, samples
per pixel and order of subsamples, in that order.
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/media-bus-format.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h index b585bb32d25e..363a30fd8a21 100644 --- a/include/uapi/linux/media-bus-format.h +++ b/include/uapi/linux/media-bus-format.h | |||
@@ -67,6 +67,10 @@ | |||
67 | #define MEDIA_BUS_FMT_YUYV10_2X10 0x200b | 67 | #define MEDIA_BUS_FMT_YUYV10_2X10 0x200b |
68 | #define MEDIA_BUS_FMT_YVYU10_2X10 0x200c | 68 | #define MEDIA_BUS_FMT_YVYU10_2X10 0x200c |
69 | #define MEDIA_BUS_FMT_Y12_1X12 0x2013 | 69 | #define MEDIA_BUS_FMT_Y12_1X12 0x2013 |
70 | #define MEDIA_BUS_FMT_UYVY12_2X12 0x201c | ||
71 | #define MEDIA_BUS_FMT_VYUY12_2X12 0x201d | ||
72 | #define MEDIA_BUS_FMT_YUYV12_2X12 0x201e | ||
73 | #define MEDIA_BUS_FMT_YVYU12_2X12 0x201f | ||
70 | #define MEDIA_BUS_FMT_UYVY8_1X16 0x200f | 74 | #define MEDIA_BUS_FMT_UYVY8_1X16 0x200f |
71 | #define MEDIA_BUS_FMT_VYUY8_1X16 0x2010 | 75 | #define MEDIA_BUS_FMT_VYUY8_1X16 0x2010 |
72 | #define MEDIA_BUS_FMT_YUYV8_1X16 0x2011 | 76 | #define MEDIA_BUS_FMT_YUYV8_1X16 0x2011 |
@@ -76,16 +80,12 @@ | |||
76 | #define MEDIA_BUS_FMT_VYUY10_1X20 0x201b | 80 | #define MEDIA_BUS_FMT_VYUY10_1X20 0x201b |
77 | #define MEDIA_BUS_FMT_YUYV10_1X20 0x200d | 81 | #define MEDIA_BUS_FMT_YUYV10_1X20 0x200d |
78 | #define MEDIA_BUS_FMT_YVYU10_1X20 0x200e | 82 | #define MEDIA_BUS_FMT_YVYU10_1X20 0x200e |
79 | #define MEDIA_BUS_FMT_YUV10_1X30 0x2016 | ||
80 | #define MEDIA_BUS_FMT_AYUV8_1X32 0x2017 | ||
81 | #define MEDIA_BUS_FMT_UYVY12_2X12 0x201c | ||
82 | #define MEDIA_BUS_FMT_VYUY12_2X12 0x201d | ||
83 | #define MEDIA_BUS_FMT_YUYV12_2X12 0x201e | ||
84 | #define MEDIA_BUS_FMT_YVYU12_2X12 0x201f | ||
85 | #define MEDIA_BUS_FMT_UYVY12_1X24 0x2020 | 83 | #define MEDIA_BUS_FMT_UYVY12_1X24 0x2020 |
86 | #define MEDIA_BUS_FMT_VYUY12_1X24 0x2021 | 84 | #define MEDIA_BUS_FMT_VYUY12_1X24 0x2021 |
87 | #define MEDIA_BUS_FMT_YUYV12_1X24 0x2022 | 85 | #define MEDIA_BUS_FMT_YUYV12_1X24 0x2022 |
88 | #define MEDIA_BUS_FMT_YVYU12_1X24 0x2023 | 86 | #define MEDIA_BUS_FMT_YVYU12_1X24 0x2023 |
87 | #define MEDIA_BUS_FMT_YUV10_1X30 0x2016 | ||
88 | #define MEDIA_BUS_FMT_AYUV8_1X32 0x2017 | ||
89 | 89 | ||
90 | /* Bayer - next is 0x3019 */ | 90 | /* Bayer - next is 0x3019 */ |
91 | #define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001 | 91 | #define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001 |