media_module: Optimize the h264 frame drop problem [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Sat, 28 Dec 2019 09:41:52 +0000 (17:41 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Sun, 5 Jan 2020 03:00:46 +0000 (11:00 +0800)
commita56d65e0a508ebedc4d38de113b4f3df37d30f1e
tree4d6f0b742c3c44a1ac042c97f6c7ddc5ac26e765
parentb10e987573bfa6c1a23bce134fbd1dcedda93a44
media_module: Optimize the h264 frame drop problem [1/1]

PD#OTT-7782

Problem:
Very few decoded macro block error can also cause the
frame drop.

Solution:
If the decoded macro block error rate less than 10% (it can adjust
the threshold based on field conditions later), the frame is
considered correct, thus reducing the frame drop and ensuring that
there is only a small mosaic.

Verify:
U212

Change-Id: I62d9d4ed5c4929689f2102979081a223765b3a18
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c