summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSebastien Zwickert <dilaroga@free.fr>2011-11-02 00:55:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-02 15:47:27 +0100
commitd66ee6ac4898b8af2f9c39bd0893e89e823286ac (patch)
treeeadeffa696d7a4438356bf75f5882a8dfa9c09b4 /configure
parente377e6621bf2327161eff6de67b5f18fd070f7ae (diff)
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index e688f587cc..279e4167d7 100755
--- a/configure
+++ b/configure
@@ -111,6 +111,7 @@ Configuration options:
--enable-vaapi enable VAAPI code [autodetect]
--enable-vdpau enable VDPAU code [autodetect]
--disable-dxva2 disable DXVA2 code
+ --disable-vda disable VDA code
--enable-runtime-cpudetect detect cpu capabilities at runtime (bigger binary)
--enable-hardcoded-tables use hardcoded tables instead of runtime generation
--enable-memalign-hack emulate memalign, interferes with memory debuggers
@@ -1052,6 +1053,7 @@ CONFIG_LIST="
swscale_alpha
thumb
vaapi
+ vda
vdpau
version3
x11grab
@@ -1377,6 +1379,8 @@ h264_crystalhd_decoder_select="crystalhd h264_mp4toannexb_bsf h264_parser"
h264_dxva2_hwaccel_deps="dxva2api_h"
h264_dxva2_hwaccel_select="dxva2 h264_decoder"
h264_vaapi_hwaccel_select="vaapi"
+h264_vda_hwaccel_deps="VideoDecodeAcceleration_VDADecoder_h"
+h264_vda_hwaccel_select="vda"
h264_vdpau_decoder_select="vdpau h264_decoder"
imc_decoder_select="fft mdct sinewin"
jpegls_decoder_select="golomb"
@@ -2955,6 +2959,7 @@ check_func_headers windows.h MapViewOfFile
check_func_headers windows.h VirtualAlloc
check_header dlfcn.h
+check_header VideoDecodeAcceleration/VDADecoder.h
check_header dxva2api.h -D_WIN32_WINNT=0x0600
check_header libcrystalhd/libcrystalhd_if.h
check_header malloc.h
@@ -2970,6 +2975,11 @@ check_header X11/extensions/XvMClib.h
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
+# adds ldflags for VDA module
+if enabled vda; then
+ add_ldflags -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore
+fi
+
# check for some common methods of building with pthread support
# do this before the optional library checks as some of them require pthreads
if ! disabled pthreads && ! enabled w32threads; then