FFmpeg
 All Data Structures 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 133 of file vdpau.h.

Field Documentation

VdpVideoSurface vdpau_render_state::surface

Used as rendered surface, never changed.

Definition at line 134 of file vdpau.h.

Referenced by ff_vdpau_h264_set_reference_frames(), ff_vdpau_mpeg4_decode_picture(), ff_vdpau_mpeg_picture_complete(), and ff_vdpau_vc1_decode_picture().

int vdpau_render_state::state

Holds FF_VDPAU_STATE_* values.

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

Referenced by ff_vdpau_add_data_chunk().

int vdpau_render_state::bitstream_buffers_used
VdpBitstreamBuffer* vdpau_render_state::bitstream_buffers

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

Definition at line 143 of file vdpau.h.

Referenced by ff_vdpau_add_data_chunk().

union FFVdpPictureInfo vdpau_render_state::info

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