]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: venus: venc: set correctly GOP size and number of B-frames
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Fri, 1 Dec 2017 15:08:01 +0000 (10:08 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 15:38:08 +0000 (10:38 -0500)
commit8fc58186bb41ff8789ad9e993c03a23d67698709
tree7e98837dca066f550713b376cea16d953605235e
parentfdda01090cc22312d83cba78def3668ec7ac6715
media: venus: venc: set correctly GOP size and number of B-frames

This change fixes the calculation of B-frames and GOP size by
adopt v4l2 controls with the firmware interface expectations.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[hans.verkuil@cisco.com: fixed two small checkpatch comments]
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/qcom/venus/venc.c
drivers/media/platform/qcom/venus/venc_ctrls.c