Commit 64cdf7e5 authored by Irui Wang's avatar Irui Wang Committed by Mauro Carvalho Chehab

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: default avatarIrui Wang <irui.wang@mediatek.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 51f7be81
...@@ -392,8 +392,8 @@ static const struct mtk_vcodec_enc_pdata mt8173_avc_pdata = { ...@@ -392,8 +392,8 @@ static const struct mtk_vcodec_enc_pdata mt8173_avc_pdata = {
.num_capture_formats = ARRAY_SIZE(mtk_video_formats_capture_h264), .num_capture_formats = ARRAY_SIZE(mtk_video_formats_capture_h264),
.output_formats = mtk_video_formats_output, .output_formats = mtk_video_formats_output,
.num_output_formats = ARRAY_SIZE(mtk_video_formats_output), .num_output_formats = ARRAY_SIZE(mtk_video_formats_output),
.min_bitrate = 1, .min_bitrate = 64,
.max_bitrate = 4000000, .max_bitrate = 60000000,
.core_id = VENC_SYS, .core_id = VENC_SYS,
}; };
...@@ -404,7 +404,7 @@ static const struct mtk_vcodec_enc_pdata mt8173_vp8_pdata = { ...@@ -404,7 +404,7 @@ static const struct mtk_vcodec_enc_pdata mt8173_vp8_pdata = {
.output_formats = mtk_video_formats_output, .output_formats = mtk_video_formats_output,
.num_output_formats = ARRAY_SIZE(mtk_video_formats_output), .num_output_formats = ARRAY_SIZE(mtk_video_formats_output),
.min_bitrate = 64, .min_bitrate = 64,
.max_bitrate = 4000000, .max_bitrate = 9000000,
.core_id = VENC_LT_SYS, .core_id = VENC_LT_SYS,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment