]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: vicodec: add QP controls
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 19 Aug 2018 14:18:11 +0000 (10:18 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 12:09:33 +0000 (08:09 -0400)
commit48568b0c30c28e0a5daf56ba36278f68f10f8f29
treed6ea42d10ff30a057a5b056155b70304859939a8
parent3799eca51c5be3cd76047a582ac52087373b54b3
media: vicodec: add QP controls

Instead of hardcoding the quantization parameter (or 'DEADZONE_WIDTH'
as it was called in the codec) make this configurable through two
controls: one for I frames, one for P frames.

Also allow changing these parameters and the GOP_SIZE parameter while
streaming.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/vicodec-codec.c
drivers/media/platform/vicodec/vicodec-codec.h
drivers/media/platform/vicodec/vicodec-core.c