]> git.baikalelectronics.ru Git - kernel.git/commit
[media] coda: correctly set capture compose rectangle
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 20 Jan 2017 14:00:21 +0000 (12:00 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 10:16:01 +0000 (08:16 -0200)
commit51cdce1ff4626d3be22cfd24a4e8604851040164
treed857d6e15f343f6c4a0ecbd51d86663745e6724e
parent428643806b3a443d51c8d05f9c79c361b51274bc
[media] coda: correctly set capture compose rectangle

Correctly store the rectangle of valid video data in the destination
q_data before rounding up to macroblock size. This fixes the output
of VIDIOC_G_SELECTION for the capture side compose rectangle.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c