osd: calc osd parameters used num/den replace left/right shift [1/1]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Sun, 5 May 2019 08:54:58 +0000 (16:54 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 13 May 2019 02:33:54 +0000 (19:33 -0700)
commitff60d1531d0a0b20c783b8fabefb68aec6b3cf2c
tree317174ff0f440589096e010766ff5ef61e7425e6
parentdb946d0bd35546ed9dedafc419e0bab06d2f4089
osd: calc osd parameters used num/den replace left/right shift  [1/1]

PD#OTT-3615

Problem:
a line on the right displayed

Solution:
calc osd parameters used num/den replace left/right shift

Verify:
Verfied on u212

Change-Id: If59d9de0bb3c525d2b67d05ec449d458fbbcdfe2
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/osd/osd.h
drivers/amlogic/media/osd/osd_hw.c