deinterlace: process prog 420 as 422 [1/1]
authorJihong Sui <jihong.sui@amlogic.com>
Thu, 11 Jul 2019 02:31:26 +0000 (10:31 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sun, 14 Jul 2019 01:56:49 +0000 (18:56 -0700)
PD#SWPL-11051

Problem:
Abnormal display of red subtitles

Solution:
process prog 420 as 422

Verify:
tl1

Change-Id: I46e0af178d6d87fc3a815f70c5a84d0f80772b6c
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c

index 8e07797..27bfa87 100644 (file)
@@ -3053,7 +3053,7 @@ config_di_wr_mif(struct DI_SIM_MIF_s *di_nrwr_mif,
                di_mtnwr_mif->canvas_num = di_buf->mtn_canvas_idx;
        }
 }
-static bool force_prog;
+static bool force_prog = true;
 module_param_named(force_prog, force_prog, bool, 0664);
 static void config_di_mif(struct DI_MIF_s *di_mif, struct di_buf_s *di_buf)
 {