diff options
author | miaohong chen <miaohong.chen@amlogic.com> | 2021-01-08 14:10:45 +0800 |
---|---|---|
committer | Miaohong Chen <miaohong.chen@amlogic.com> | 2021-01-11 22:17:07 -0800 |
commit | 7017393a306c061afe295102d272201a8cb34809 (patch) | |
tree | 67b8ec4654d555e851c2c898cd57e88d2517ee97 | |
parent | dc8c4d351365fa1f55186ecb1c93c0b07e9bb6a6 (diff) | |
download | media_modules-7017393a306c061afe295102d272201a8cb34809.tar.gz |
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 <miaohong.chen@amlogic.com>
Change-Id: I3fb13e56af77045f094b1fe397cd02dd165b8060
-rw-r--r-- | drivers/frame_provider/decoder/h264_multi/vmh264.c | 7 |
1 files changed, 0 insertions, 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, |