[FFmpeg-cvslog] dxva2: don't check for DXVA_PictureParameters->wDecodedPictureIndex

Rafaël Carré git at videolan.org
Thu Feb 23 05:03:04 CET 2012


ffmpeg | branch: master | Rafaël Carré <funman at videolan.org> | Mon Feb  6 16:08:08 2012 -0500| [562ebc30775db243941db3c96396e7bf8a0e0a44] | committer: Diego Biurrun

dxva2: don't check for DXVA_PictureParameters->wDecodedPictureIndex

This structure is well defined by Microsoft at:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff564012(v=vs.85).aspx
Thus, the wDecodedPictureIndex member is guaranteed to exist.

Also, both the MPEG-2 and VC-1 hwaccel decoders depend on this struct member,
but only the VC-1 decoder was disabled if the check failed.

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=562ebc30775db243941db3c96396e7bf8a0e0a44
---

 configure |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 5c0e56c..5e62e22 100755
--- a/configure
+++ b/configure
@@ -1378,7 +1378,7 @@ truehd_decoder_select="mlp_decoder"
 tscc_decoder_select="zlib"
 twinvq_decoder_select="mdct lsp sinewin"
 vc1_decoder_select="h263_decoder h264chroma"
-vc1_dxva2_hwaccel_deps="dxva2api_h DXVA_PictureParameters_wDecodedPictureIndex"
+vc1_dxva2_hwaccel_deps="dxva2api_h"
 vc1_dxva2_hwaccel_select="dxva2 vc1_decoder"
 vc1_vaapi_hwaccel_select="vaapi vc1_decoder"
 vc1_vdpau_decoder_select="vdpau vc1_decoder"
@@ -2885,8 +2885,6 @@ check_header vdpau/vdpau.h
 check_header vdpau/vdpau_x11.h
 check_header X11/extensions/XvMClib.h
 
-check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
-
 disabled  zlib || check_lib   zlib.h      zlibVersion -lz   || disable  zlib
 disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
 



More information about the ffmpeg-cvslog mailing list