summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheng Nan <b38800@freescale.com>2012-12-07 17:08:07 +0800
committerJason Liu <r64343@freescale.com>2012-12-12 19:12:16 +0800
commit10ca42019bd2c7b4c6bed470ae0c77740cbbcb09 (patch)
treea79d493a6b1d7efbe4aef9bfc1bafb3b927ec9eb
parentbad76dac10fbbd0bfb9e387dd1435e84e8b4ad66 (diff)
ENGR00236196: mxc_vout: add YV12 format support in enum fmt field.
Since YV12 format is supported in mxc_v4l2_capture, it should be also supported in mxc_vout. Signed-off-by: Sheng Nan <b38800@freescale.com>
-rw-r--r--drivers/media/video/mxc/output/mxc_vout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/mxc/output/mxc_vout.c b/drivers/media/video/mxc/output/mxc_vout.c
index 388c4b39570f..ec789ec2e826 100644
--- a/drivers/media/video/mxc/output/mxc_vout.c
+++ b/drivers/media/video/mxc/output/mxc_vout.c
@@ -189,6 +189,10 @@ const static struct v4l2_fmtdesc mxc_formats[] = {
.pixelformat = V4L2_PIX_FMT_YUV420,
},
{
+ .description = "YVU420",
+ .pixelformat = V4L2_PIX_FMT_YVU420,
+ },
+ {
.description = "TILED NV12P",
.pixelformat = IPU_PIX_FMT_TILED_NV12,
},