vdec: Temporarily save the value of the register [1/1]
authoryuanfa.zhuang <yuanfa.zhuang@amlogic.com>
Tue, 22 Dec 2020 09:33:43 +0000 (17:33 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Thu, 24 Dec 2020 05:40:07 +0000 (21:40 -0800)
commit8c69b346b6ec7d0dafe3d17b7f023380ceaa9a69
treef702f87e183e43ba85dadb59e973086381904daf
parent829a87f7aa41f092650e9e671f76f60b51590894
vdec: Temporarily save the value of the register [1/1]

PD#SWPL-38043

Problem:
AV_SCRATCH_F register is tampered with by mpeg2
during multi-channel playback, resulting in playback show mosaic

Solution:
Increase the variable to save the value,
read the value directly next time

Verify:
S905X4-AH212

Signed-off-by: yuanfa.zhuang <yuanfa.zhuang@amlogic.com>
Change-Id: If36a83b1965d51045af2cd399934c87740e79616
drivers/frame_provider/decoder/h264_multi/vmh264.c