media: allegro: add control to disable encoder buffer
authorMichael Tretter <m.tretter@pengutronix.de>
Wed, 8 Sep 2021 13:03:15 +0000 (14:03 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 Oct 2021 14:56:40 +0000 (15:56 +0100)
commit7aea2c0b48a568e6732c1d30516febe36bf555f1
tree55e43bd8b85e6612b602deb1c528c12fe31ede6c
parent98f1cbf65bf275cce2b9985a8d89cd4fc287a9cc
media: allegro: add control to disable encoder buffer

The encoder buffer can have a negative impact on the quality of the
encoded video.

Add a control to allow user space to disable the encoder buffer per
channel if the VCU supports the encoder buffer but the quality is not
sufficient.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/allegro-dvt/allegro-core.c
include/uapi/linux/v4l2-controls.h