[media] v4l: Add 8-bit YUYV on 16-bit bus and SGRBG10 media bus pixel codes
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 1 Sep 2010 15:59:36 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:53:35 +0000 (04:53 -0300)
commit2d8deaf6b13e1b00fb65333bac9380b8c318adcf
treea6f60ffb764a54487b57246c7bea2c1ecfd19dd7
parentf80a3ab083474670527df3ca849546a7059da766
[media] v4l: Add 8-bit YUYV on 16-bit bus and SGRBG10 media bus pixel codes

Add the following media bus format code definitions:

- V4L2_MBUS_FMT_SGRBG10_1X10 for 10-bit GRBG Bayer
- V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 for 10-bit DPCM compressed GRBG Bayer
- V4L2_MBUS_FMT_YUYV16_1X16 for 8-bit YUYV on 16-bit bus
- V4L2_MBUS_FMT_UYVY16_1X16 for 8-bit UYVY on 16-bit bus
- V4L2_MBUS_FMT_YVYU16_1X16 for 8-bit YVYU on 16-bit bus
- V4L2_MBUS_FMT_VYUY16_1X16 for 8-bit VYUY on 16-bit bus

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>
include/linux/v4l2-mediabus.h