]> git.sesse.net Git - ffmpeg/commit
lavfi/vf_scale_vaapi: add scaling mode setting support.
authorJun Zhao <mypopydev@gmail.com>
Wed, 12 Sep 2018 12:14:58 +0000 (20:14 +0800)
committerJun Zhao <jun.zhao@intel.com>
Mon, 10 Dec 2018 07:24:47 +0000 (15:24 +0800)
commita271025215528c68d010d27bae976033e1c46f92
tree431576aefb7d5a6667c815b9e28bc6e78d3c4361
parent234926033097116a8dfab1e15d8cc1c04677f562
lavfi/vf_scale_vaapi: add scaling mode setting support.

before this change, scale_vaapi hard coding the scaling mode, add a
new option "mode" to setting the scaling mode, it can be use to change
scaling algorithm for performance/quality trade off.

Note: VA_FILTER_SCALING_NL_ANAMORPHIC(nolinear ananorphic scaling
algorithm) doesn't support by i965/iHD driver now, add this just for
completeness.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavfilter/vf_scale_vaapi.c