[FFmpeg-cvslog] r21424 - in trunk: configure libavcodec/Makefile libavcodec/allcodecs.c libavcodec/dxva2_vc1.c

Måns Rullgård mans
Mon Jan 25 01:03:09 CET 2010


Ramiro Polla <ramiro.polla at gmail.com> writes:

> On Sun, Jan 24, 2010 at 5:54 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
>> On Sun, Jan 24, 2010 at 05:39:45PM -0200, Ramiro Polla wrote :
>>> I tried looking for an updated dxva2api.h but now the link you pointed
>>> to [1] is an empty file. What's the "official" place to find
>>> dxva2api.h?
>>>
>>> Ramiro Polla
>>> [1] http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h
>>
>> This is fixed. Sorry for the inconveniance.
>
> Thanks.
>
> I see it was updated from the one I had on FATE but I don't know how
> to track updates to this file. Will it provide any kind of versioning?
> Attached patch adds a configure check.
>
> Index: configure
> ===================================================================
> --- configure	(revision 21433)
> +++ configure	(working copy)
> @@ -1234,7 +1234,7 @@
>  truehd_decoder_select="mlp_decoder"
>  tscc_decoder_select="zlib"
>  vc1_decoder_select="h263_decoder"
> -vc1_dxva2_hwaccel_deps="dxva2api_h"
> +vc1_dxva2_hwaccel_deps="dxva2api_h DXVA_PictureParameters_wDecodedPictureIndex"
>  vc1_dxva2_hwaccel_select="dxva2 vc1_decoder"
>  vc1_vaapi_hwaccel_deps="va_va_h"
>  vc1_vaapi_hwaccel_select="vaapi vc1_decoder"
> @@ -2422,6 +2422,8 @@
>  check_header vdpau/vdpau_x11.h
>  check_header X11/extensions/XvMClib.h
>  
> +check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
> +
>  if ! enabled_any memalign memalign_hack posix_memalign malloc_aligned &&
>       enabled_any $need_memalign ; then
>      die "Error, no aligned memory allocator but SSE enabled, disable it or use --enable-memalign-hack."

Patch OK.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list