OSDN Git Service

[media] adv7175: Make use of media bus pixel codes
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 5 Oct 2011 20:48:43 +0000 (17:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Oct 2011 09:59:05 +0000 (07:59 -0200)
commitf1a84c9b0a962a940a1f8b9202d84842e54e8d7c
treee41930f4a70f679ad1633cf87da65a4158823e4c
parent4c2625db6f172114bcc4fd9e62f3c030c5fb4e4c
[media] adv7175: Make use of media bus pixel codes

The ADV7175A/ADV7176A 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/adv7175.c