diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-09-01 11:58:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:53:25 -0400 |
commit | dacdde78b39e49edf2f7af85be4b613978280b26 (patch) | |
tree | 78765a533ff3520c0145bcb9f35f0d5f5a4109ff /drivers/media/Kconfig | |
parent | 076704332ca6da550cbc279918ef8b88b4ac1e45 (diff) |
[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 'drivers/media/Kconfig')
0 files changed, 0 insertions, 0 deletions