]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (9787): soc-camera: let camera host drivers decide upon pixel format
authorGuennadi Liakhovetski <lyakh@axis700.grange>
Mon, 1 Dec 2008 12:44:59 +0000 (09:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:22 +0000 (09:38 -0200)
commitea1fd9ff0638ddd34d4dca77ca18412b0cf9c8e4
tree58a33458a15e9720adc027ef443828550ba1f0eb
parent29b4c37691d6b9ed60e06a603114d512361fb55b
V4L/DVB (9787): soc-camera: let camera host drivers decide upon pixel format

Pixel format requested by the user is not necessarily the same, as what
a sensor driver provides. There are situations, when a camera host driver
provides the required format, but requires a different format from the
sensor. Further, the list of formats, supported by sensors is pretty static
and can be pretty good described with a constant list of structures. Whereas
decisions, made by camera host drivers to support requested formats can be
quite complex, therefore it is better to let the host driver do the work.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pxa_camera.c
drivers/media/video/sh_mobile_ceu_camera.c
drivers/media/video/soc_camera.c
include/media/soc_camera.h