From 92c6a099bafd10e5f2fc8a157f033692f930f998 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 20 Jan 2010 18:54:51 +0000 Subject: H264 DXVA2 implementation It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under VISTA and Windows 7). It is implemented by using AVHWAccel API. It has been tested successfully for some time in VLC using an nvidia card on Windows 7. To compile it, you need to have the system header dxva2api.h (either from microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h) The generated libavcodec.dll does not depend directly on any new lib as the necessary objects are given by the application using FFmpeg. Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 0f136054a8..7a8fc2497a 100755 --- a/configure +++ b/configure @@ -107,6 +107,7 @@ Configuration options: --disable-rdft disable RDFT code --disable-vaapi disable VAAPI code --disable-vdpau disable VDPAU code + --disable-dxva2 disable DXVA2 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 @@ -865,6 +866,7 @@ CONFIG_LIST=" bzlib dct doc + dxva2 fastdiv ffmpeg ffplay @@ -1174,6 +1176,8 @@ h263_vaapi_hwaccel_select="vaapi h263_decoder" h263i_decoder_select="h263_decoder" h263p_encoder_select="h263_encoder" h264_decoder_select="golomb" +h264_dxva2_hwaccel_deps="dxva2api_h" +h264_dxva2_hwaccel_select="dxva2 h264_decoder" h264_vaapi_hwaccel_deps="va_va_h" h264_vaapi_hwaccel_select="vaapi" h264_vdpau_decoder_deps="vdpau_vdpau_h vdpau_vdpau_x11_h" @@ -2399,6 +2403,7 @@ check_func_headers windows.h VirtualAlloc check_header conio.h check_header dlfcn.h +check_header dxva2api.h check_header malloc.h check_header poll.h check_header sys/mman.h -- cgit v1.2.3