V4L/DVB (9790): soc-camera: pixel format negotiation - core support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 1 Dec 2008 12:45:27 +0000 (09:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:24 +0000 (09:38 -0200)
commitc2786ad27104c558b92343e8816e18654aae1759
tree45d36ef3dd9f8182477a6386c5063aa3f4177dbb
parentd2e3dce083bc96b3bfb71603eaa1726181f7184b
V4L/DVB (9790): soc-camera: pixel format negotiation - core support

Allocate and fill a list of formats, supported by this specific
camera-host combination. Use it for format enumeration. Take care to stay
backwards-compatible.

Camera hosts rely on sensor formats available, as well as
host specific translations. We add a structure so that hosts
can define a translation table and use it for format check
and setup.

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