]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: ti-vpe: vpdma: Add RAW8 and RAW16 data types
authorBenoit Parrot <bparrot@ti.com>
Fri, 18 Nov 2016 23:20:42 +0000 (21:20 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 10:10:49 +0000 (08:10 -0200)
commit238d7dc8ac8ab618120cbe2502a1cc40f7533e6f
tree662f84f5fe30dc3cc4b9f0eb403f08547edd5246
parentfe48e68c36742e35f2c59ac86ba1ee63d10ee9e9
[media] media: ti-vpe: vpdma: Add RAW8 and RAW16 data types

Add RAW8 and RAW16 data type to VPDMA.
To handle RAW format we are re-using the YUV CBY422
vpdma data type so that we use the vpdma to re-order
the incoming bytes, as the VIP parser assumes that the
first byte presented on the bus is the MSB of a 2
bytes value.

RAW8 handles from 1 to 8 bits.
RAW16 handles from 9 to 16 bits.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/ti-vpe/vpdma.c
drivers/media/platform/ti-vpe/vpdma.h