]> git.baikalelectronics.ru Git - 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)
commitbc25314122753cf9efb5eb0d68f73f9cf7b3e459
treed6ea42d10ff30a057a5b056155b70304859939a8
parent6f8477fcda787f9b7aac0c2a2a3092bc14553abf
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