]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Add support for V4L2_FIELD_SEQ_{TB,BT}
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 10 Dec 2019 02:05:59 +0000 (03:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 15:18:45 +0000 (16:18 +0100)
commitcb83fac3b104ac89546966f00069db8c98c43e2d
tree906cf89382dedf9f638dddbfc0f3fbf130cad732
parente8e37fae947ee91e7d84409431dcaf4eb76932bf
media: rcar-vin: Add support for V4L2_FIELD_SEQ_{TB,BT}

The hardware does not support capturing the field types
V4L2_FIELD_SEQ_TB and V4L2_FIELD_SEQ_BT. To capture in these formats the
driver needs to adjust the offset of the capture buffer and capture
twice to each vb2 buffer.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rcar-vin/rcar-dma.c
drivers/media/platform/rcar-vin/rcar-v4l2.c
drivers/media/platform/rcar-vin/rcar-vin.h