vpp: set vd mif chroma init hphase to 8 when h crop start is odd [1/2]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Fri, 23 Aug 2019 05:27:25 +0000 (13:27 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 27 Aug 2019 03:03:17 +0000 (20:03 -0700)
commit9611846594b4b8da1eca858e4ab2effd20192914
tree418c9c95387e024ee9fcc5317030f2782bee832e
parenta91ebe6e28025d053bdab48c2e0d419adade796e
vpp: set vd mif chroma init hphase to 8 when h crop start is odd [1/2]

PD#SWPL-13223

Problem:
when crop left is odd, the video has white edge

Solution:
if vframe not processed by di,
set vd mif chroma init hphase to 8 when h crop start is odd

Verify:
verify on T972

Change-Id: Ica57503e6eebd57972129513304ae39b445ccf77
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/video_sink/video.c