diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-09-01 17:58:22 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 08:53:25 +0100 |
commit | dacdde78b39e49edf2f7af85be4b613978280b26 (patch) | |
tree | 78765a533ff3520c0145bcb9f35f0d5f5a4109ff /include/media | |
parent | [media] v4l: Rename V4L2_MBUS_FMT_GREY8_1X8 to V4L2_MBUS_FMT_Y8_1X8 (diff) | |
download | linux-dacdde78b39e49edf2f7af85be4b613978280b26.tar.xz linux-dacdde78b39e49edf2f7af85be4b613978280b26.zip |
[media] v4l: Group media bus pixel codes by types and sort them alphabetically
Adding new pixel codes at the end of the enumeration will soon create a
mess, so group the pixel codes by type and sort them by bus_width, bits
per component, samples per pixel and order of subsamples.
As the codes are part of the kernel ABI their value can't change when a
new code is inserted in the enumeration, so they are given an explicit
numerical value. When inserting a new pixel code developers must use and
update the next free value.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions