V4L/DVB (9791): pxa-camera: pixel format negotiation
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 1 Dec 2008 12:45:35 +0000 (09:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:24 +0000 (09:38 -0200)
commit2a48fc739df213b8f98b4effd95ce5ec93bca3da
tree8a5bcd3e361b33b259c63c22137c1e38d72c0465
parentc2786ad27104c558b92343e8816e18654aae1759
V4L/DVB (9791): pxa-camera: pixel format negotiation

Use the new format-negotiation infrastructure, support all four YUV422
packed and the planar formats.

The new translation structure enables to build the format
list with buswidth, depth, host format and camera format
checked, so that it's not done anymore on try_fmt nor
set_fmt.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pxa_camera.c