author | Peng Yixin <yixin.peng@amlogic.com> | 2020-01-09 09:00:26 (GMT) |
---|---|---|
committer | Yixin Peng <yixin.peng@amlogic.com> | 2020-01-09 09:43:52 (GMT) |
commit | f1c8a12e77f0a81c2f998ce0358988b7ade54ead (patch) | |
tree | f3f4ba19d972c8fefc85d34f036392ec226e1050 | |
parent | 6933cd86d1d664d20e8a26069f29f9642bb41b2a (diff) | |
download | media_modules-f1c8a12e77f0a81c2f998ce0358988b7ade54ead.zip media_modules-f1c8a12e77f0a81c2f998ce0358988b7ade54ead.tar.gz media_modules-f1c8a12e77f0a81c2f998ce0358988b7ade54ead.tar.bz2 |
media_module: Optimize h264 decoder error recovery issue [1/1]
PD#NONE
Problem:
1.Set the correct value for error_proc_policy.
2.Modify the value of the mb_count_threshold
to reduce the display of the mosaic.
Solution:
1.Set the value of error_proc_policy to 0x7Cfb6
2.Set the value of mb_count_threshold to 5
Verify:
U212
Change-Id: I89421ef9953ec1189e793b6af07a0b9102dad679
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
-rw-r--r-- | drivers/frame_provider/decoder/h264_multi/vmh264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/frame_provider/decoder/h264_multi/vmh264.c b/drivers/frame_provider/decoder/h264_multi/vmh264.c index 8361006..4759eee 100644 --- a/drivers/frame_provider/decoder/h264_multi/vmh264.c +++ b/drivers/frame_provider/decoder/h264_multi/vmh264.c @@ -275,7 +275,7 @@ static unsigned int i_only_flag; bit[17] 1: If the decoded Mb count is insufficient but greater than the threshold, it is considered the correct frame. bit[18] 1: time out status, store pic to dpb buffer. */ -static unsigned int error_proc_policy = 0xCfb6; /*0x1f14*/ +static unsigned int error_proc_policy = 0x7Cfb6; /*0x1f14*/ /* @@ -315,7 +315,7 @@ static unsigned int frmbase_cont_bitlevel2 = 0x1; static unsigned int check_slice_num = 30; -static unsigned int mb_count_threshold = 10; /*percentage*/ +static unsigned int mb_count_threshold = 5; /*percentage*/ #define MH264_USERDATA_ENABLE |