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 union VDPAUPictureInfo {
48 VdpPictureInfoH264 h264;
49 VdpPictureInfoMPEG1Or2 mpeg;
50 VdpPictureInfoVC1 vc1;
51 VdpPictureInfoMPEG4Part2 mpeg4;
52 #ifdef VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE
53 VdpPictureInfoH264Predictive h264_predictive;
59 typedef struct VDPAUHWContext {
62 VdpGetProcAddress *get_proc_address;
86 VdpDecoderRender *render;
92 struct vdpau_picture_context {
96 union VDPAUPictureInfo info;
101 int bitstream_buffers_allocated;
106 int bitstream_buffers_used;
111 VdpBitstreamBuffer *bitstream_buffers;
116 #endif //CONFIG_VDPAU
123 struct vdpau_picture_context *pic);
133 int buf_size,
int slice_count);