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

This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module. More...

#include <vdpau.h>

Data Fields

VdpVideoSurface surface
 Used as rendered surface, never changed. More...
 
int state
 Holds FF_VDPAU_STATE_* values. More...
 
int bitstream_buffers_allocated
 Describe size/location of the compressed video data. More...
 
int bitstream_buffers_used
 
VdpBitstreamBuffer * bitstream_buffers
 The user is responsible for freeing this buffer using av_freep(). More...
 
union AVVDPAUPictureInfo info
 picture parameter information for all supported codecs More...
 

Detailed Description

This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module.

This is used for defining a video frame containing surface, picture parameter, bitstream information etc which are passed between the FFmpeg decoder and its clients.

Definition at line 229 of file vdpau.h.

Field Documentation

VdpVideoSurface vdpau_render_state::surface

Used as rendered surface, never changed.

Definition at line 230 of file vdpau.h.

int vdpau_render_state::state

Holds FF_VDPAU_STATE_* values.

Definition at line 232 of file vdpau.h.

int vdpau_render_state::bitstream_buffers_allocated

Describe size/location of the compressed video data.

Set to 0 when freeing bitstream_buffers.

Definition at line 241 of file vdpau.h.

int vdpau_render_state::bitstream_buffers_used

Definition at line 242 of file vdpau.h.

VdpBitstreamBuffer* vdpau_render_state::bitstream_buffers

The user is responsible for freeing this buffer using av_freep().

Definition at line 244 of file vdpau.h.

union AVVDPAUPictureInfo vdpau_render_state::info

picture parameter information for all supported codecs

Definition at line 248 of file vdpau.h.


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