24 #ifndef AVCODEC_VDPAU_INTERNAL_H
25 #define AVCODEC_VDPAU_INTERNAL_H
30 #include <vdpau/vdpau.h>
42 return (uintptr_t)pic->
data[3];
45 struct vdpau_picture_context;
47 #if !FF_API_BUFS_VDPAU
49 VdpPictureInfoH264
h264;
50 VdpPictureInfoMPEG1Or2
mpeg;
51 VdpPictureInfoVC1
vc1;
52 VdpPictureInfoMPEG4Part2
mpeg4;
58 typedef struct VDPAUHWContext {
61 VdpGetProcAddress *get_proc_address;
85 VdpDecoderRender *render;
91 struct vdpau_picture_context {
100 int bitstream_buffers_allocated;
105 int bitstream_buffers_used;
110 VdpBitstreamBuffer *bitstream_buffers;
115 #endif //CONFIG_VDPAU
122 struct vdpau_picture_context *pic);
132 int buf_size,
int slice_count);