VPP: fix the AVS steping and frame origin issue
authorLi Xiaowei <xiaowei.a.li@intel.com>
Wed, 19 Dec 2012 09:06:00 +0000 (17:06 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 20 Dec 2012 01:51:05 +0000 (09:51 +0800)
commit28f267a1e158492cf519b9b86598af88fbc5955d
tree6e58ecd85b36730256b2708d0172e33601af4815
parenta6dfb8f7fb601f102b414ac0c9088b5b8e88060f
VPP: fix the AVS steping and frame origin issue

On HSW/IVB, when the resolution of source rectangle is
not the same as src surface, or the source rectangle does
not locate at (0,0), the scaled picture is not correct,
adjust the steping size and frame origin according to the
src rectangle's location and resolution.

Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.c