summaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorShaik Ameer Basha2012-07-31 15:44:02 +0200
committerMauro Carvalho Chehab2012-09-15 15:50:46 +0200
commit8ab023812b2b5e81bb1876a925541bceaf62538a (patch)
tree5a101d335b727f8384d2b3625e97d31540dc3f67 /include/linux/videodev2.h
parentMerge tag 'v3.6-rc5' into staging/for_v3.7 (diff)
downloadkernel-qcow2-linux-8ab023812b2b5e81bb1876a925541bceaf62538a.tar.gz
kernel-qcow2-linux-8ab023812b2b5e81bb1876a925541bceaf62538a.tar.xz
kernel-qcow2-linux-8ab023812b2b5e81bb1876a925541bceaf62538a.zip
[media] v4l: Add new YVU420 multi planar fourcc definition
This patch adds new 'YM21' fourcc definition for multiplanar YCrCb pixel format - V4L2_PIX_FMT_YVU420M. Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 91939a7a896e..4862165e195e 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -368,6 +368,7 @@ struct v4l2_pix_format {
/* three non contiguous planes - Y, Cb, Cr */
#define V4L2_PIX_FMT_YUV420M v4l2_fourcc('Y', 'M', '1', '2') /* 12 YUV420 planar */
+#define V4L2_PIX_FMT_YVU420M v4l2_fourcc('Y', 'M', '2', '1') /* 12 YVU420 planar */
/* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */
#define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */