]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: Enable HOLD_CAPTURE_BUF for H.264
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 13 May 2022 20:29:22 +0000 (22:29 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 17 May 2022 08:11:19 +0000 (10:11 +0200)
commit5fbe5b65ba40cff039de9f46a672fa46527b5d0a
tree72e0c358737c44028cf2029622155cbb76346f1f
parent07b55d5c7a6b5ba493928fe8124f42990e448665
media: hantro: Enable HOLD_CAPTURE_BUF for H.264

This is needed to optimize field decoding. Each field will be
decoded into the same capture buffer. To be able to queue multiple
buffers, we need to be able to ask the driver to hold the capture
buffer.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_v4l2.c