From 7017393a306c061afe295102d272201a8cb34809 Mon Sep 17 00:00:00 2001 From: miaohong chen Date: Fri, 8 Jan 2021 14:10:45 +0800 Subject: [PATCH] vmh264: Play special stream,enter PIP,video freeze in PIP window [1/1] PD#SWPL-39853 Problem: Registers are misused during two-channel playback. Solution: Delete register references that will cause misuse when reset buffer. Verify: AH212 Signed-off-by: miaohong chen Change-Id: I3fb13e56af77045f094b1fe397cd02dd165b8060 --- drivers/frame_provider/decoder/h264_multi/vmh264.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/frame_provider/decoder/h264_multi/vmh264.c b/drivers/frame_provider/decoder/h264_multi/vmh264.c index a276fcb..8366c05 100644 --- a/drivers/frame_provider/decoder/h264_multi/vmh264.c +++ b/drivers/frame_provider/decoder/h264_multi/vmh264.c @@ -9906,13 +9906,6 @@ static void h264_reset_bufmgr(struct vdec_s *vdec) /*hw->decode_pic_count = 0; hw->seq_info2 = 0;*/ - if (!hw->is_used_v4l) { - hw->cfg_param1 = READ_VREG(AV_SCRATCH_1); - hw->cfg_param2 = READ_VREG(AV_SCRATCH_2); - hw->cfg_param3 = READ_VREG(AV_SCRATCH_6); - hw->cfg_param4 = READ_VREG(AV_SCRATCH_B); - } - if (vh264_set_params(hw, hw->cfg_param1, hw->cfg_param2, -- 2.20.1