media: coda: use encoder crop rectangle to set visible width and height
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 28 Jun 2018 10:57:54 +0000 (06:57 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 25 Jul 2018 12:30:25 +0000 (08:30 -0400)
commit40fa8df63ce48d43f229d4dc6d43b3b9105abb20
treeac1a7de6fa682bde13d9c4be7932946cb2b671b2
parent9e49ca530eebd6775410317aac8a68f88171f89c
media: coda: use encoder crop rectangle to set visible width and height

Allow to set a crop rectangle on the encoder output queue to set the
visible resolution as required by the V4L2 codec API.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda-common.c