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.
 
int state
 Holds FF_VDPAU_STATE_* values.
 
int bitstream_buffers_allocated
 Describe size/location of the compressed video data.
 
int bitstream_buffers_used
 
VdpBitstreamBuffer * bitstream_buffers
 The user is responsible for freeing this buffer using av_freep().
 
union FFVdpPictureInfo info
 picture parameter information for all supported codecs
 

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

Field Documentation

VdpVideoSurface vdpau_render_state::surface

Used as rendered surface, never changed.

Definition at line 135 of file vdpau.h.

Referenced by ff_vdpau_h264_set_reference_frames().

int vdpau_render_state::state

Holds FF_VDPAU_STATE_* values.

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

Referenced by ff_vdpau_add_data_chunk().

int vdpau_render_state::bitstream_buffers_used

Definition at line 147 of file vdpau.h.

Referenced by ff_vdpau_add_data_chunk().

VdpBitstreamBuffer* vdpau_render_state::bitstream_buffers

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

Definition at line 149 of file vdpau.h.

Referenced by ff_vdpau_add_data_chunk().

union FFVdpPictureInfo vdpau_render_state::info

picture parameter information for all supported codecs

Definition at line 153 of file vdpau.h.

Referenced by ff_vdpau_h264_set_reference_frames().


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