]> git.baikalelectronics.ru Git - kernel.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)
commit48476839847318735eb348d6b08cbf2332cea225
tree7e98837dca066f550713b376cea16d953605235e
parent9c107cf75f13f526d4f5bc15f2ed5f3c0be63336
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