media: imx: add capture compose rectangle
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 17 Jan 2019 15:51:52 +0000 (13:51 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 21 Jan 2019 17:48:40 +0000 (15:48 -0200)
commit439d8186fb235ab6d9bc08a23a8a9530a5f3ac95
tree0c771c8489c2c10cf029f4e23308401621ac6878
parentcd9f125cfaa5047899e1d39d6fc0a9ed5e40afa7
media: imx: add capture compose rectangle

Allowing to compose captured images into larger memory buffers
will let us lift alignment restrictions on CSI crop width.

For now all compose rectangles are identical to the complete
frame width / height. This will be changed in the next patches.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/imx-ic-prpencvf.c
drivers/staging/media/imx/imx-media-capture.c
drivers/staging/media/imx/imx-media-csi.c
drivers/staging/media/imx/imx-media-vdic.c
drivers/staging/media/imx/imx-media.h