@ -52,12 +52,14 @@
# include <vdpau/vdpau.h>
# include <vdpau/vdpau.h>
# include <vdpau/vdpau_x11.h>
# include <vdpau/vdpau_x11.h>
# if FF_API_BUFS_VDPAU
union AVVDPAUPictureInfo {
union AVVDPAUPictureInfo {
VdpPictureInfoH264 h264 ;
VdpPictureInfoH264 h264 ;
VdpPictureInfoMPEG1Or2 mpeg ;
VdpPictureInfoMPEG1Or2 mpeg ;
VdpPictureInfoVC1 vc1 ;
VdpPictureInfoVC1 vc1 ;
VdpPictureInfoMPEG4Part2 mpeg4 ;
VdpPictureInfoMPEG4Part2 mpeg4 ;
} ;
} ;
# endif
/**
/**
* This structure is used to share data between the libavcodec library and
* This structure is used to share data between the libavcodec library and
@ -83,11 +85,13 @@ typedef struct AVVDPAUContext {
*/
*/
VdpDecoderRender * render ;
VdpDecoderRender * render ;
# if FF_API_BUFS_VDPAU
/**
/**
* VDPAU picture information
* VDPAU picture information
*
*
* Set by libavcodec .
* Set by libavcodec .
*/
*/
attribute_deprecated
union AVVDPAUPictureInfo info ;
union AVVDPAUPictureInfo info ;
/**
/**
@ -95,6 +99,7 @@ typedef struct AVVDPAUContext {
*
*
* Set by libavcodec .
* Set by libavcodec .
*/
*/
attribute_deprecated
int bitstream_buffers_allocated ;
int bitstream_buffers_allocated ;
/**
/**
@ -102,6 +107,7 @@ typedef struct AVVDPAUContext {
*
*
* Set by libavcodec .
* Set by libavcodec .
*/
*/
attribute_deprecated
int bitstream_buffers_used ;
int bitstream_buffers_used ;
/**
/**
@ -110,7 +116,9 @@ typedef struct AVVDPAUContext {
*
*
* Set by libavcodec .
* Set by libavcodec .
*/
*/
attribute_deprecated
VdpBitstreamBuffer * bitstream_buffers ;
VdpBitstreamBuffer * bitstream_buffers ;
# endif
} AVVDPAUContext ;
} AVVDPAUContext ;
# if FF_API_CAP_VDPAU
# if FF_API_CAP_VDPAU