Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: mtk-vcodec: MT8173 h264/vp8 encoder min/max bitrate settings

Set recommend min/max bitrate range for MT8173 h264/vp8 encoder.

Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Irui Wang and committed by
Mauro Carvalho Chehab
64cdf7e5 51f7be81

+3 -3
+3 -3
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
··· 392 392 .num_capture_formats = ARRAY_SIZE(mtk_video_formats_capture_h264), 393 393 .output_formats = mtk_video_formats_output, 394 394 .num_output_formats = ARRAY_SIZE(mtk_video_formats_output), 395 - .min_bitrate = 1, 396 - .max_bitrate = 4000000, 395 + .min_bitrate = 64, 396 + .max_bitrate = 60000000, 397 397 .core_id = VENC_SYS, 398 398 }; 399 399 ··· 404 404 .output_formats = mtk_video_formats_output, 405 405 .num_output_formats = ARRAY_SIZE(mtk_video_formats_output), 406 406 .min_bitrate = 64, 407 - .max_bitrate = 4000000, 407 + .max_bitrate = 9000000, 408 408 .core_id = VENC_LT_SYS, 409 409 }; 410 410