st/va: add dst rect to avoid scale on deint
authorLeo Liu <leo.liu@amd.com>
Fri, 29 Sep 2017 01:41:29 +0000 (21:41 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 29 Sep 2017 14:06:30 +0000 (10:06 -0400)
commit361d8f82c03ae78373483e91ad3ec339ccd05236
treee54fd8ecd8472c9f0e418683dfeab129863a69c8
parentd190bfc1ad1a90f6d231c0c840a8153c22c06423
st/va: add dst rect to avoid scale on deint

For 1080p video transcode, the height will be scaled to 1088 when deint
to progressive buffer. Set dst rect to make sure no scale.

Fixes: 3ad8687 "st/va: use new vl_compositor_yuv_deint_full() to deint"

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Andy Furniss <adf.lists@gmail.com>
src/gallium/state_trackers/va/picture.c