]> Pileus Git - ~andy/linux/commit
[media] Make use of media bus pixel codes in adv7170 driver
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 27 Oct 2011 21:50:21 +0000 (18:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 14:42:56 +0000 (12:42 -0200)
commit0d37d35035cb41f01e12082fa6b39a2e465ca4ba
tree82eee3bc011fdf05f1932e9c5d7debff53780da1
parentfabade547fd306cd3e8b1dc068ccdfec2553bad5
[media] Make use of media bus pixel codes in adv7170 driver

The ADV7170/ADV7171 can operate in either 8-bit or 16-bit YCrCb Mode.

* 8-Bit YCrCb Mode
This default mode accepts multiplexed YCrCb inputs through
the P7-P0 pixel inputs. The inputs follow the sequence Cb0, Y0
Cr0, Y1 Cb1, Y2, etc. The Y, Cb and Cr data are input on a
rising clock edge.

* 16-Bit YCrCb Mode
This mode accepts Y inputs through the P7–P0 pixel inputs and
multiplexed CrCb inputs through the P15–P8 pixel inputs. The
data is loaded on every second rising edge of CLOCK. The inputs
follow the sequence Cb0, Y0 Cr0, Y1 Cb1, Y2, etc.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/adv7170.c