media_module: h264 show mosaic picture when resolution change [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Sun, 31 May 2020 05:56:37 +0000 (13:56 +0800)
committerYixin Peng <yixin.peng@amlogic.com>
Tue, 9 Jun 2020 12:27:41 +0000 (05:27 -0700)
commit641dadc6d2aae578a1f38c2d1d3b48e593369e1d
tree1b9c9ad3411e825871e16f5b68ddfe0a38f9cc94
parentca77e3cdd215e013e807bb9a04600b30c4563fa3
media_module: h264 show mosaic picture when resolution change [1/1]

PD#SWPL-26883

Problem:
When the dpb buffer reset immediately
after the resolution change, When switch
a bigger resolution, but the buffer size
used the small buffer, causing this problems.

Solution:
Optimize the dpb buffer reset logic
to use the correct buffer.

Verify:
U215

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