sr: fix core0 input size config
authorDezhi Kong <dezhi.kong@amlogic.com>
Tue, 4 Sep 2018 12:06:54 +0000 (20:06 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 5 Sep 2018 10:44:28 +0000 (03:44 -0700)
PD#170665: sr: fix core0 input size config

Change-Id: I83ae7300917d2b17dac85fea455452d8a17f5f57
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
drivers/amlogic/media/video_sink/video.c

index dbce86b..36ae922 100644 (file)
@@ -6104,8 +6104,8 @@ SET_FILTER:
                if (!legacy_vpp) {
                        VSYNC_WR_MPEG_REG(
                                VPP_PREBLEND_H_SIZE + cur_dev->vpp_off,
-                               (cur_frame_par->VPP_pic_in_height_ << 16)
-                               | cur_frame_par->VPP_line_in_length_);
+                               (cur_frame_par->video_input_h << 16)
+                               | cur_frame_par->video_input_w);
                        VSYNC_WR_MPEG_REG(
                                VPP_POSTBLEND_H_SIZE + cur_dev->vpp_off,
                                ((cur_frame_par->VPP_post_blend_vd_v_end_ + 1)