]> 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)
commit1105524ff08bb2d33c6206ea65ce10fddb6dafde
tree72e0c358737c44028cf2029622155cbb76346f1f
parent0647e9133054a275d8146eab01ee31e010f5dd83
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