summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@chromium.org>2020-10-21 03:09:43 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-16 21:08:23 +0300
commitde04408fd12d5d3b9fb3724034666a84cccbf190 (patch)
tree5aaec6a28d36ffaa6b4ac0cd12c0e87b42beaf12 /include
parent4568ea3fa95d33cc10e8938949ae9a875046e553 (diff)
downloadlinux-de04408fd12d5d3b9fb3724034666a84cccbf190.tar.xz
media: venus: vdec: return parsed crop information from stream
Per the stateful codec specification, VIDIOC_G_SELECTION with a target of V4L2_SEL_TGT_COMPOSE is supposed to return the crop area of capture buffers containing the decoded frame. Until now the driver did not get that information from the firmware and just returned the dimensions of CAPTURE buffers. The firmware unfortunately does not always provide the crop information from the stream ; also make sure to detect when that happens and fallback to providing the coded size in these cases. Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions