]> git.baikalelectronics.ru Git - kernel.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)
commit6ba2246f0995e5c596d46c39df49c1ea1c13660f
treed3bb4f4222af5f16cfca638ab3faf1fa9f21daf8
parent53fc3595c726a69dd60c90ce7adc134a6a0d679b
[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