linux/drivers/media/platform/rcar-vin
Niklas Söderlund b6f556cb93 [media] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE
The HW can capture both ODD and EVEN fields in separate buffers so it's
possible to support V4L2_FIELD_ALTERNATE. This patch add support for
this mode.

At probe time and when S_STD is called the driver will default to use
V4L2_FIELD_INTERLACED if the subdevice reports V4L2_FIELD_ALTERNATE. The
driver will only change the field type if the subdevice implements
G_STD, if not it will keep the default at V4L2_FIELD_ALTERNATE.

The user can always explicitly ask for V4L2_FIELD_ALTERNATE in S_FMT and
the driver will use that field format.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-19 16:33:41 -03:00
..
Kconfig [media] rcar-vin: add dependency on MEDIA_CONTROLLER 2016-08-23 14:46:22 -03:00
Makefile
rcar-core.c [media] adv7180: rcar-vin: change mbus format to UYVY 2016-09-19 16:30:20 -03:00
rcar-dma.c [media] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE 2016-09-19 16:33:41 -03:00
rcar-v4l2.c [media] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE 2016-09-19 16:33:41 -03:00
rcar-vin.h [media] rcar-vin: move media bus information to struct rvin_graph_entity 2016-08-23 16:23:38 -03:00