summaryrefslogtreecommitdiff
authorHui Zhang <hui.zhang@amlogic.com>2020-01-10 01:24:21 (GMT)
committer Gerrit Code Review <gituser@scgit2.amlogic.com>2020-01-10 01:24:21 (GMT)
commit11c4b31f8f23974c01e5e62d38c7d17cd151361c (patch)
tree86ff6fe8d87b072be71876ce0a835ddaab1f73f8
parentb34f2e35d9fa47a1340993d844b7ffeac3324ac8 (diff)
parentf1c8a12e77f0a81c2f998ce0358988b7ade54ead (diff)
downloadmedia_modules-11c4b31f8f23974c01e5e62d38c7d17cd151361c.zip
media_modules-11c4b31f8f23974c01e5e62d38c7d17cd151361c.tar.gz
media_modules-11c4b31f8f23974c01e5e62d38c7d17cd151361c.tar.bz2
Merge "media_module: Optimize h264 decoder error recovery issue [1/1]" into amlogic-4.9-dev
Diffstat
-rw-r--r--drivers/frame_provider/decoder/h264_multi/vmh264.c4
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