picdec: fix no scale mode, frame stretch [1/1]
authorCao Jian <jian.cao@amlogic.com>
Thu, 19 Sep 2019 03:38:57 +0000 (11:38 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 23 Sep 2019 12:57:47 +0000 (05:57 -0700)
commit3ed69ef88fdabcd26ec4bb2117494e1944355824
treead37bf19357969b96cfbd79ee7c19c40b436feb2
parent92fe4708d70714cf49c2fb6d2311411fa661c1e7
picdec: fix no scale mode, frame stretch [1/1]

PD#SWPL-14477

Problem:
the picture is rotated 90 degrees,
stretching left and right

Solution:
modify conditions for frame width or height
equal to screen width or height

Verify:
verify by g12b-w400

Change-Id: I0ca9cc255b202306562bee69726400c697f3b053
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
drivers/amlogic/media/video_processor/pic_dev/picdec.c