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
/*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,