24 #ifndef AVCODEC_VDPAU_H 25 #define AVCODEC_VDPAU_H 52 #include <vdpau/vdpau.h> 53 #include <vdpau/vdpau_x11.h> 63 VdpPictureInfoMPEG1Or2
mpeg;
64 VdpPictureInfoVC1
vc1;
73 const VdpPictureInfo *, uint32_t,
74 const VdpBitstreamBuffer *);
105 #if FF_API_BUFS_VDPAU 170 VdpGetProcAddress *get_proc_address,
unsigned flags);
190 uint32_t *width, uint32_t *height);
199 #if FF_API_VDPAU_PROFILE 219 #define FF_VDPAU_STATE_USED_FOR_RENDER 1 225 #define FF_VDPAU_STATE_USED_FOR_REFERENCE 2 VdpDecoderRender * render
Definition: vdpau.h:103
AVVDPAU_Render2 render2
Definition: vdpau.h:139
VdpPictureInfoH264 h264
Definition: vdpau.h:62
VdpPictureInfoMPEG4Part2 mpeg4
Definition: vdpau.h:65
int av_vdpau_get_surface_parameters(AVCodecContext *avctx, VdpChromaType *type, uint32_t *width, uint32_t *height)
AVVDPAU_Render2 av_vdpau_hwaccel_get_render2(const AVVDPAUContext *)
attribute_deprecated int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile)
AVVDPAUContext * av_vdpau_alloc_context(void)
attribute_deprecated int bitstream_buffers_allocated
Definition: vdpau.h:120
int(* AVVDPAU_Render2)(struct AVCodecContext *, struct AVFrame *, const VdpPictureInfo *, uint32_t, const VdpBitstreamBuffer *)
Definition: vdpau.h:72
VdpBitstreamBuffer * bitstream_buffers
Definition: vdpau.h:247
attribute_deprecated int bitstream_buffers_used
Definition: vdpau.h:128
int av_vdpau_bind_context(AVCodecContext *avctx, VdpDevice device, VdpGetProcAddress *get_proc_address, unsigned flags)
attribute_deprecated VdpBitstreamBuffer * bitstream_buffers
Definition: vdpau.h:137
VdpPictureInfoMPEG1Or2 mpeg
Definition: vdpau.h:63
void av_vdpau_hwaccel_set_render2(AVVDPAUContext *, AVVDPAU_Render2)
Definition: avcodec.h:1676
AVVDPAUContext * av_alloc_vdpaucontext(void)
allocation function for AVVDPAUContext
int bitstream_buffers_used
Definition: vdpau.h:245
int bitstream_buffers_allocated
Definition: vdpau.h:244
int state
Holds FF_VDPAU_STATE_* values.
Definition: vdpau.h:237
struct AVVDPAUContext AVVDPAUContext
#define attribute_deprecated
Definition: attributes.h:98
VdpDecoder decoder
Definition: vdpau.h:96
VdpPictureInfoVC1 vc1
Definition: vdpau.h:64
This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module...
Definition: vdpau.h:234
VdpVideoSurface surface
Used as rendered surface, never changed.
Definition: vdpau.h:235