This structure is used to share data between the libavcodec library and the client video application. More...

#include <vdpau.h>

Collaboration diagram for AVVDPAUContext:
Collaboration graph

Data Fields

VdpDecoder decoder
 VDPAU decoder handle. More...
 
VdpDecoderRender * render
 VDPAU decoder render callback. More...
 
union FFVdpPictureInfo info
 VDPAU picture information. More...
 
int bitstream_buffers_allocated
 Allocated size of the bitstream_buffers table. More...
 
int bitstream_buffers_used
 Useful bitstream buffers in the bitstream buffers table. More...
 
VdpBitstreamBuffer * bitstream_buffers
 Table of bitstream buffers. More...
 

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 72 of file vdpau.h.

Field Documentation

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 114 of file vdpau.h.

Referenced by ff_vdpau_add_buffer(), ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().

int AVVDPAUContext::bitstream_buffers_allocated

Allocated size of the bitstream_buffers table.

Set by libavcodec.

Definition at line 99 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 106 of file vdpau.h.

Referenced by ff_vdpau_add_buffer(), ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().

VdpDecoder AVVDPAUContext::decoder

VDPAU decoder handle.

Set by user.

Definition at line 78 of file vdpau.h.

Referenced by ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().

VdpDecoderRender* AVVDPAUContext::render

VDPAU decoder render callback.

Set by the user.

Definition at line 85 of file vdpau.h.

Referenced by ff_vdpau_common_start_frame(), and vdpau_h264_end_frame().


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