FFmpeg  1.2.12
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

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

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

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

union FFVdpPictureInfo AVVDPAUContext::info
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().


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