FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVVDPAUContext Struct Reference

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.
 

Detailed Description

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.

Definition at line 71 of file vdpau.h.

Field Documentation

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
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().


The documentation for this struct was generated from the following file: