FFmpeg
 All Data Structures Namespaces 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.
 
attribute_deprecated union
AVVDPAUPictureInfo 
info
 VDPAU picture information.
 
attribute_deprecated int bitstream_buffers_allocated
 Allocated size of the bitstream_buffers table.
 
attribute_deprecated int bitstream_buffers_used
 Useful bitstream buffers in the bitstream buffers table.
 
attribute_deprecated
VdpBitstreamBuffer * 
bitstream_buffers
 Table of bitstream buffers.
 
AVVDPAU_Render2 render2
 

Detailed Description

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

The user shall allocate the structure via the av_alloc_vdpau_hwaccel function 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.

The size of this structure is not a part of the public ABI and must not be used outside of libavcodec. Use av_vdpau_alloc_context() to allocate an AVVDPAUContext.

Definition at line 90 of file vdpau.h.

Field Documentation

VdpDecoder AVVDPAUContext::decoder

VDPAU decoder handle.

Set by user.

Definition at line 96 of file vdpau.h.

Referenced by vdpau_h264_end_frame(), and vdpau_init().

VdpDecoderRender* AVVDPAUContext::render

VDPAU decoder render callback.

Set by the user.

Definition at line 103 of file vdpau.h.

Referenced by vdpau_alloc(), and vdpau_h264_end_frame().

attribute_deprecated union AVVDPAUPictureInfo AVVDPAUContext::info

VDPAU picture information.

Set by libavcodec.

Definition at line 112 of file vdpau.h.

Referenced by vdpau_h264_end_frame().

attribute_deprecated int AVVDPAUContext::bitstream_buffers_allocated

Allocated size of the bitstream_buffers table.

Set by libavcodec.

Definition at line 120 of file vdpau.h.

Referenced by vdpau_h264_end_frame().

attribute_deprecated int AVVDPAUContext::bitstream_buffers_used

Useful bitstream buffers in the bitstream buffers table.

Set by libavcodec.

Definition at line 128 of file vdpau.h.

Referenced by vdpau_h264_end_frame().

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

Referenced by vdpau_h264_end_frame().

AVVDPAU_Render2 AVVDPAUContext::render2

Definition at line 139 of file vdpau.h.

Referenced by vdpau_h264_end_frame().


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