summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2013-09-20 22:55:13 +0900
committerwm4 <wm4@nowhere>2013-09-25 13:53:42 +0200
commit39d1ab82e5a3ac30e5495c6b6773823c2ff56594 (patch)
tree03d5ab170fe12046bff32234e4e0b55d67457ce2 /configure
parent1ee8d0210d8ad613e462eab10a1a4139b62de367 (diff)
downloadmpv-39d1ab82e5a3ac30e5495c6b6773823c2ff56594.tar.bz2
mpv-39d1ab82e5a3ac30e5495c6b6773823c2ff56594.tar.xz
vaapi: add vf_vavpp and use it for deinterlacing
Merged from pull request #246 by xylosper. Minor cosmetic changes, some adjustments (compatibility with older libva versions), and manpage additions by wm4. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 8304d46fda..fbffd008e9 100755
--- a/configure
+++ b/configure
@@ -1869,6 +1869,8 @@ echores "$_vdpau"
echocheck "VAAPI"
+_vaapi_vpp=no
+def_vaapi_vpp='#define CONFIG_VAAPI_VPP 0'
if test "$_vaapi" = auto && test "$_x11" = yes ; then
_vaapi=no
if test "$_dl" = yes ; then
@@ -1884,6 +1886,15 @@ else
fi
echores "$_vaapi"
+if test "$_vaapi" = yes ; then
+ echocheck "VAAPI VPP"
+ if pkg-config 'libva >= 0.34.0' ; then
+ _vaapi_vpp=yes
+ def_vaapi_vpp='#define CONFIG_VAAPI_VPP 1'
+ fi
+ echores "$_vaapi_vpp"
+fi
+
echocheck "Xinerama"
if test "$_xinerama" = auto && test "$_x11" = yes ; then
@@ -3173,6 +3184,7 @@ VDPAU_DEC_OLD = $_vdpau_dec_old
VDA = $_vda
VDA_REFCOUNTING = $_vda_refcounting
VAAPI = $_vaapi
+VAAPI_VPP = $_vaapi_vpp
WIN32 = $_win32
X11 = $_x11
WAYLAND = $_wayland
@@ -3351,6 +3363,7 @@ $def_vdpau
$def_vda
$def_vda_refcounting
$def_vaapi
+$def_vaapi_vpp
$def_vm
$def_x11
$def_wayland