]> asedeno.scripts.mit.edu Git - linux.git/commit
[media] coda: support YUYV output if VDOA is used
authorMichael Tretter <m.tretter@pengutronix.de>
Fri, 20 Jan 2017 14:00:25 +0000 (12:00 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 10:44:05 +0000 (08:44 -0200)
commitd40e98c13b3e7cb1aa16e9c14f35db3c8c3dd033
treed3bb4f4222af5f16cfca638ab3faf1fa9f21daf8
parente7f3c54810350827823d241905fb7823eee30c21
[media] coda: support YUYV output if VDOA is used

The VDOA is able to transform the NV12 custom macroblock tiled format of
the CODA to YUYV format. If and only if the VDOA is available, the
driver can also provide YUYV support.

While the driver is configured to produce YUYV output, the CODA must be
configured to produce NV12 macroblock tiled frames and the VDOA must
transform the intermediate result into the final YUYV output.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda-common.c