mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
deinterlace: add condition for force_prog [1/1]
PD#SWPL-11550 Problem: force_prog only for progressive. Solution: add condition for force_prog Verify: TL1 Change-Id: I44e165c779eefcefcc18a286e66a598ffef1294f Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
This commit is contained in:
@@ -3097,7 +3097,10 @@ static void config_di_mif(struct DI_MIF_s *di_mif, struct di_buf_s *di_buf)
|
||||
di_mif->chroma_y_end0 =
|
||||
di_buf->vframe->height / 2 - 1;
|
||||
} else {
|
||||
di_mif->src_prog = force_prog?1:0;
|
||||
if (di_pre_stru.cur_inp_type & VIDTYPE_INTERLACE)
|
||||
di_mif->src_prog = 0;
|
||||
else
|
||||
di_mif->src_prog = force_prog?1:0;
|
||||
di_mif->src_field_mode = 1;
|
||||
if (
|
||||
(di_buf->vframe->type & VIDTYPE_TYPEMASK) ==
|
||||
|
||||
Reference in New Issue
Block a user