summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp/ispvideo.h
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2011-03-29 10:19:09 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-04-19 16:28:08 +0200
commitc09af044db91bf0f8ca5073f5863c7280de39cc1 (patch)
treea8279dc3db8b1ca73a246c5be857bbc024a87dca /drivers/media/video/omap3isp/ispvideo.h
parent[media] omap3isp: ccdc: support Y10/12, 8-bit bayer fmts (diff)
downloadlinux-c09af044db91bf0f8ca5073f5863c7280de39cc1.tar.xz
linux-c09af044db91bf0f8ca5073f5863c7280de39cc1.zip
[media] omap3isp: lane shifter support
To use the lane shifter, set different pixel formats at each end of the link at the CCDC input. Signed-off-by: Michael Jones <michael.jones@matrix-vision.de> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp/ispvideo.h')
-rw-r--r--drivers/media/video/omap3isp/ispvideo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/omap3isp/ispvideo.h b/drivers/media/video/omap3isp/ispvideo.h
index 524a1acd0906..911bea64e78a 100644
--- a/drivers/media/video/omap3isp/ispvideo.h
+++ b/drivers/media/video/omap3isp/ispvideo.h
@@ -49,6 +49,8 @@ struct v4l2_pix_format;
* bits. Identical to @code if the format is 10 bits wide or less.
* @uncompressed: V4L2 media bus format code for the corresponding uncompressed
* format. Identical to @code if the format is not DPCM compressed.
+ * @flavor: V4L2 media bus format code for the same pixel layout but
+ * shifted to be 8 bits per pixel. =0 if format is not shiftable.
* @pixelformat: V4L2 pixel format FCC identifier
* @bpp: Bits per pixel
*/
@@ -56,6 +58,7 @@ struct isp_format_info {
enum v4l2_mbus_pixelcode code;
enum v4l2_mbus_pixelcode truncated;
enum v4l2_mbus_pixelcode uncompressed;
+ enum v4l2_mbus_pixelcode flavor;
u32 pixelformat;
unsigned int bpp;
};