FFmpeg
|
This structure is used to share data between the libavcodec library and the client video application. More...
#include <vdpau.h>
Data Fields | |
VdpDecoder | decoder |
VDPAU decoder handle. | |
VdpDecoderRender * | render |
VDPAU decoder render callback. | |
union FFVdpPictureInfo | info |
VDPAU picture information. | |
int | bitstream_buffers_allocated |
Allocated size of the bitstream_buffers table. | |
int | bitstream_buffers_used |
Useful bitstream buffers in the bitstream buffers table. | |
VdpBitstreamBuffer * | bitstream_buffers |
Table of bitstream buffers. | |
This structure is used to share data between the libavcodec library and the client video application.
The user shall zero-allocate the structure and make it available as AVCodecContext.hwaccel_context. Members can be set by the user once during initialization or through each AVCodecContext.get_buffer() function call. In any case, they must be valid prior to calling decoding functions.
VdpDecoder AVVDPAUContext::decoder |
VDPAU decoder handle.
Set by user.
Definition at line 77 of file vdpau.h.
Referenced by ff_vdpau_mpeg_end_frame(), and vdpau_h264_end_frame().
VdpDecoderRender* AVVDPAUContext::render |
VDPAU decoder render callback.
Set by the user.
Definition at line 84 of file vdpau.h.
Referenced by ff_vdpau_mpeg_end_frame(), and vdpau_h264_end_frame().
union FFVdpPictureInfo AVVDPAUContext::info |
VDPAU picture information.
Set by libavcodec.
Definition at line 91 of file vdpau.h.
Referenced by ff_vdpau_mpeg_end_frame(), vdpau_h264_decode_slice(), vdpau_h264_end_frame(), vdpau_h264_set_reference_frames(), vdpau_h264_start_frame(), vdpau_mpeg4_start_frame(), vdpau_mpeg_decode_slice(), vdpau_mpeg_start_frame(), vdpau_vc1_decode_slice(), and vdpau_vc1_start_frame().
int AVVDPAUContext::bitstream_buffers_allocated |
Allocated size of the bitstream_buffers table.
Set by libavcodec.
Definition at line 98 of file vdpau.h.
Referenced by ff_vdpau_add_buffer().
int AVVDPAUContext::bitstream_buffers_used |
Useful bitstream buffers in the bitstream buffers table.
Set by libavcodec.
Definition at line 105 of file vdpau.h.
Referenced by ff_vdpau_add_buffer(), ff_vdpau_common_start_frame(), ff_vdpau_mpeg_end_frame(), and vdpau_h264_end_frame().
VdpBitstreamBuffer* AVVDPAUContext::bitstream_buffers |
Table of bitstream buffers.
The user is responsible for freeing this buffer using av_freep().
Set by libavcodec.
Definition at line 113 of file vdpau.h.
Referenced by ff_vdpau_add_buffer(), ff_vdpau_mpeg_end_frame(), and vdpau_h264_end_frame().