vmh264: stream mosaic [1/1]
authormiaohong chen <miaohong.chen@amlogic.com>
Tue, 14 Jul 2020 13:28:23 +0000 (21:28 +0800)
committerMiaohong Chen <miaohong.chen@amlogic.com>
Tue, 21 Jul 2020 03:20:07 +0000 (20:20 -0700)
commit0d05325ed3f04d98a838a28b3c7b15d365dfaaad
treeeff8f27ced5bdfb8f604dec57fc16d9aaf82a5a9
parent8871c3e8322a3feecceb13280b517f1ebe38cdbe
vmh264: stream mosaic [1/1]

PD#SWPL-29711

Problem:
H264 stream mosaic

Solution:
The first gop of the code stream is a single slice,
and the latter part is a multi-slice.
Because the multi-slice detection mechanism is added before,
the single slice decision is triggered by mistake, resulting in mosaic.
Improve multi-slice detection mechanism.

Verify:
u212

Change-Id: I1e3491a1e0441eb50dcec8666c5ebffcd01ba1f7
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
(cherry picked from commit 9a5cbbebe1cc6f2b7dff38121ba5a2c9397f6fbf)
drivers/frame_provider/decoder/h264_multi/vmh264.c