24 #ifndef AVCODEC_VDPAU_INTERNAL_H
25 #define AVCODEC_VDPAU_INTERNAL_H
30 #include <vdpau/vdpau.h>
39 return (uintptr_t)pic->
f.
data[3];
43 #if !FF_API_BUFS_VDPAU
45 VdpPictureInfoH264
h264;
46 VdpPictureInfoMPEG1Or2
mpeg;
47 VdpPictureInfoVC1
vc1;
48 VdpPictureInfoMPEG4Part2
mpeg4;
52 struct vdpau_picture_context {
61 int bitstream_buffers_allocated;
66 int bitstream_buffers_used;
71 VdpBitstreamBuffer *bitstream_buffers;
85 int buf_size,
int slice_count);
VdpPictureInfoMPEG1Or2 mpeg
void ff_vdpau_h264_picture_complete(H264Context *h)
int ff_vdpau_common_start_frame(Picture *pic, av_unused const uint8_t *buffer, av_unused uint32_t size)
static uintptr_t ff_vdpau_get_surface_id(Picture *pic)
Extract VdpVideoSurface from a Picture.
H.264 / AVC / MPEG4 part10 codec.
VdpPictureInfoMPEG4Part2 mpeg4
void ff_vdpau_add_data_chunk(uint8_t *data, const uint8_t *buf, int buf_size)
int ff_vdpau_mpeg_end_frame(AVCodecContext *avctx)
main external API structure.
void ff_vdpau_h264_set_reference_frames(H264Context *h)
void ff_vdpau_h264_picture_start(H264Context *h)
void ff_vdpau_mpeg_picture_complete(MpegEncContext *s, const uint8_t *buf, int buf_size, int slice_count)
int ff_vdpau_add_buffer(Picture *pic, const uint8_t *buf, uint32_t size)
void ff_vdpau_mpeg4_decode_picture(MpegEncContext *s, const uint8_t *buf, int buf_size)
void ff_vdpau_vc1_decode_picture(MpegEncContext *s, const uint8_t *buf, int buf_size)
uint8_t * data[AV_NUM_DATA_POINTERS]
pointer to the picture/channel planes.