linux-stable/drivers/media/platform
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
..
am437x [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
atmel [media] atmel-isc: mark PM functions as __maybe_unused 2016-09-19 16:25:33 -03:00
blackfin [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
coda [media] media: coda: Fix probe() if reset controller is missing 2016-07-08 16:34:59 -03:00
davinci [media] vpbe_display: convert g/s_crop to g/s_selection 2016-08-24 09:52:53 -03:00
exynos-gsc [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
exynos4-is [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
marvell-ccic [media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:13:30 -03:00
mtk-vcodec [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
mtk-vpu [media] VPU: mediatek: remove redundant dev_err call in mtk_vpu_probe() 2016-07-13 08:00:23 -03:00
omap [media] omap_vout: convert g/s_crop to g/s_selection 2016-08-24 09:49:44 -03:00
omap3isp [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00
rcar-vin [media] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE 2016-09-19 16:33:41 -03:00
s3c-camif [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
s5p-g2d [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
s5p-jpeg [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
s5p-mfc [media] s5p-mfc: Remove deprecated create_singlethread_workqueue 2016-08-24 13:37:18 -03:00
soc_camera [media] soc-camera/rcar-vin: remove obsolete driver 2016-09-19 16:29:54 -03:00
sti [media] hva: fix sparse warnings 2016-09-19 16:28:48 -03:00
ti-vpe [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
vivid [media] vivid: fix error return code in vivid_create_instance() 2016-09-19 14:18:42 -03:00
vsp1 [media] vsp1: fix CodingStyle violations on multi-line comments 2016-09-19 15:18:01 -03:00
xilinx [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
Kconfig [media] pxa_camera: allow building it if COMPILE_TEST is set 2016-09-09 10:55:13 -03:00
m2m-deinterlace.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
Makefile [media] pxa_camera: merge soc_mediabus.c into pxa_camera.c 2016-09-12 06:42:24 -03:00
mx2_emmaprp.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
pxa_camera.c [media] pxa_camera: remove duplicated include from pxa_camera.c 2016-09-19 14:18:14 -03:00
rcar-fcp.c [media] v4l: rcar-fcp: Extend compatible list to support the FDP 2016-09-09 11:31:00 -03:00
rcar_jpu.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
sh_veu.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
sh_vou.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
via-camera.c [media] via-camera: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:14:04 -03:00
via-camera.h
vim2m.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00