[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)
commitee1c02949d99be22485c790fe1c26aaa88e77837
tree662f84f5fe30dc3cc4b9f0eb403f08547edd5246
parent35be6d865c2b6c0866164fef14832ecc5def9d2b
[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