[vlc-devel] commit: Added DXVA2 support to our avcodec wrapper. (Laurent Aimar )
xxcv
xxcv07 at gmail.com
Wed Nov 25 23:57:19 CET 2009
Laurent Aimar wrote:
> Hi,
>
> On Wed, Nov 25, 2009, git version control wrote:
>
>> vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Nov 14 11:19:04 2009 +0100| [e0028dbfcdf1671fb4c503336fe10684d3724d51] | committer: Laurent Aimar
>>
>> Added DXVA2 support to our avcodec wrapper.
>>
>> It is not yet activated (the build system part is missing).
>>
> In order to test it, for now you have to:
> - apply the attached patch ffmpeg-dxva2.patch to a ffmpeg
> - make the attached header dxva2api.h available to vlc and ffmpeg (/usr/win32/include)
> - define HAVE_AVCODEC_DXVA2 to 1.
>
libavcodec/dxva2_h264.c:1: warning: -fPIC ignored for target (all code
is position independent)
In file included from libavcodec/dxva2.h:29,
from libavcodec/dxva2_h264.c:29:
include/dxva2api.h:277: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'IDirectXVideoDecoderService'
include/dxva2api.h:278: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'IDirectXVideoDecoder'
In file included from libavcodec/dxva2.h:29,
from libavcodec/dxva2_h264.c:29:
include/dxva2api.h:287: error: expected declaration specifiers or '...'
before 'IDirectXVideoDecoderService'
libavcodec/dxva2_h264.c: In function 'fill_picture_parameters':
libavcodec/dxva2_h264.c:109: error: 'DXVA_PicEntry_H264' has no member
named 'Index7Bits'
libavcodec/dxva2_h264.c:110: error: 'DXVA_PicEntry_H264' has no member
named 'AssociatedFlag'
libavcodec/dxva2_h264.c:114: warning: division by zero
libavcodec/dxva2_h264.c:124: error: 'DXVA_PicEntry_H264' has no member
named 'Index7Bits'
libavcodec/dxva2_h264.c:125: error: 'DXVA_PicEntry_H264' has no member
named 'AssociatedFlag'
libavcodec/dxva2_h264.c:142: error: 'DXVA_PicEntry_H264' has no member
named 'bPicEntry'
libavcodec/dxva2_h264.c:153: error: 'DXVA_PicParams_H264' has no member
named 'field_pic_flag'
libavcodec/dxva2_h264.c:154: error: 'DXVA_PicParams_H264' has no member
named 'MbaffFrameFlag'
libavcodec/dxva2_h264.c:155: error: 'DXVA_PicParams_H264' has no member
named 'residual_colour_transform_flag'
libavcodec/dxva2_h264.c:156: error: 'DXVA_PicParams_H264' has no member
named 'sp_for_switch_flag'
libavcodec/dxva2_h264.c:157: error: 'DXVA_PicParams_H264' has no member
named 'chroma_format_idc'
libavcodec/dxva2_h264.c:158: error: 'DXVA_PicParams_H264' has no member
named 'RefPicFlag'
libavcodec/dxva2_h264.c:159: error: 'DXVA_PicParams_H264' has no member
named 'constrained_intra_pred_flag'
libavcodec/dxva2_h264.c:160: error: 'DXVA_PicParams_H264' has no member
named 'weighted_pred_flag'
libavcodec/dxva2_h264.c:161: error: 'DXVA_PicParams_H264' has no member
named 'weighted_bipred_idc'
libavcodec/dxva2_h264.c:162: error: 'DXVA_PicParams_H264' has no member
named 'MbsConsecutiveFlag'
libavcodec/dxva2_h264.c:163: error: 'DXVA_PicParams_H264' has no member
named 'frame_mbs_only_flag'
libavcodec/dxva2_h264.c:164: error: 'DXVA_PicParams_H264' has no member
named 'transform_8x8_mode_flag'
libavcodec/dxva2_h264.c:165: error: 'DXVA_PicParams_H264' has no member
named 'MinLumaBipredSize8x8Flag'
libavcodec/dxva2_h264.c:166: error: 'DXVA_PicParams_H264' has no member
named 'IntraPicFlag'
libavcodec/dxva2_h264.c: In function 'fill_slice_long':
libavcodec/dxva2_h264.c:281: warning: division by zero
I put the dxva2api.h in the include dir patched FFMPEG but it failed to
compile, what is wrong ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091126/6c09d3a6/attachment.html>
More information about the vlc-devel
mailing list