summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaik Ameer Basha <shaik.ameer@samsung.com>2012-07-31 17:44:02 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-15 17:50:46 +0400
commit8ab023812b2b5e81bb1876a925541bceaf62538a (patch)
tree5a101d335b727f8384d2b3625e97d31540dc3f67 /include
parentaa15f47714e0e98ae78c1516c2fc989fd375fe3b (diff)
downloadlinux-8ab023812b2b5e81bb1876a925541bceaf62538a.tar.xz
[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')
-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.. */