vpp: add threshold to omit irregular screen AR [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Wed, 19 Jun 2019 19:36:59 +0000 (03:36 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 20 Jun 2019 12:05:45 +0000 (05:05 -0700)
commit15df568a37142d4ec138d406705440c8e06de900
tree335b5144036fc0388735dd826bd1e06ad7b63ce8
parent4c5182874167c50d60e8fd76a0c3bbc7ee0bafea
vpp: add threshold to omit irregular screen AR [1/1]

PD#TV-3602

Problem:
The irregular aspect ratio of screen will cause that video
position dose not match the axis even if the source aspect
ration matches the display windows's aspect ratio.

Solution:
Add threshold to omit the irregular screen aspect ratio.

Verify:
Verified on X301

Change-Id: Ie375de69e42fc168fb3b5a51d9ab2662789dc807
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/video_sink/vpp.c