tvin: vdin: fix afbce 576p color anomaly [1/1]

PD#SWPL-3424

Problem:
dvd play 576p media, tl1 display color anomaly

Solution:
encoder use same default color setting with decoder

Verify:
x301

Change-Id: I8954874ea048b2d9e9b7aa58c883da1f306c4459
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
This commit is contained in:
Xuhua Zhang
2018-12-21 13:16:24 +08:00
committed by Jianxin Pan
parent f00295ae3a
commit ced96322a7

View File

@@ -409,9 +409,9 @@ void vdin_afbce_config(struct vdin_dev_s *devp)
int sblk_num;
int uncmp_bits;
int uncmp_size;
int def_color_0 = 0;
int def_color_1 = 0;
int def_color_2 = 0;
int def_color_0 = 4095;
int def_color_1 = 2048;
int def_color_2 = 2048;
int def_color_3 = 0;
int hblksize_out = (devp->h_active + 31) >> 5;
int vblksize_out = (devp->v_active + 3) >> 2;