FFmpeg
Data Fields

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. More...
 
VdpDecoderRender * render
 VDPAU decoder render callback. More...
 
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 80 of file vdpau.h.

Field Documentation

◆ decoder

VdpDecoder AVVDPAUContext::decoder

VDPAU decoder handle.

Set by user.

Definition at line 86 of file vdpau.h.

Referenced by av_vdpau_bind_context(), and ff_vdpau_common_init().

◆ render

VdpDecoderRender* AVVDPAUContext::render

VDPAU decoder render callback.

Set by the user.

Definition at line 93 of file vdpau.h.

Referenced by ff_vdpau_common_end_frame(), and ff_vdpau_common_init().

◆ render2

AVVDPAU_Render2 AVVDPAUContext::render2

Definition at line 95 of file vdpau.h.

Referenced by ff_vdpau_common_end_frame().


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