24 #ifndef AVCODEC_VDPAU_INTERNAL_H
25 #define AVCODEC_VDPAU_INTERNAL_H
28 #include <vdpau/vdpau.h>
37 return (uintptr_t)pic->
f.
data[3];
40 #if !FF_API_BUFS_VDPAU
42 VdpPictureInfoH264
h264;
43 VdpPictureInfoMPEG1Or2
mpeg;
44 VdpPictureInfoVC1
vc1;
45 VdpPictureInfoMPEG4Part2
mpeg4;
union AVVDPAUPictureInfo info
VDPAU picture information.
int bitstream_buffers_used
Useful bitstream buffers in the bitstream buffers table.
VdpPictureInfoMPEG1Or2 mpeg
Public libavcodec VDPAU header.
VdpBitstreamBuffer * bitstream_buffers
Table of bitstream buffers.
int ff_vdpau_common_start_frame(Picture *pic, const uint8_t *buffer, uint32_t size)
static uintptr_t ff_vdpau_get_surface_id(Picture *pic)
Extract VdpVideoSurface from a Picture.
Libavcodec version macros.
int bitstream_buffers_allocated
Allocated size of the bitstream_buffers table.
VdpPictureInfoMPEG4Part2 mpeg4
Libavcodec external API header.
int ff_vdpau_mpeg_end_frame(AVCodecContext *avctx)
main external API structure.
uint8_t * data[AV_NUM_DATA_POINTERS]
pointer to the picture/channel planes.
int ff_vdpau_add_buffer(Picture *pic, const uint8_t *buf, uint32_t buf_size)