media_module: h264 and mpeg2 pip playback, h264 show mosaic picture [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Fri, 8 Jan 2021 06:23:28 +0000 (14:23 +0800)
committerYixin Peng <yixin.peng@amlogic.com>
Mon, 11 Jan 2021 05:51:40 +0000 (21:51 -0800)
commitdc8c4d351365fa1f55186ecb1c93c0b07e9bb6a6
tree4497a5a5ed27da7cf3c3cdc8090cb05d0678bdd3
parentca75bec43e49c57a8bc9bebde62d962eff12a265
media_module: h264 and mpeg2 pip playback, h264 show mosaic picture [1/1]

PD#SWPL-40045

Problem:
When the IQIDCT_CONTROL register is not saved
because CSD data is not found at playback start,
next time to decode, the IQIDCT_CONTROL register's
value is wrong, cause this problem.

Solution:
When the IQIDCT_CONTROL register is not saved,
set IQIDCT_CONTROL register the initialized value(0x200).

Verify:
SC2

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