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

#include <vdpau.h>

Collaboration diagram for vdpau_render_state:
Collaboration graph

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

Field Documentation

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().

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().

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_add_data_chunk(), and ff_vdpau_h264_set_reference_frames().

int vdpau_render_state::state

Holds FF_VDPAU_STATE_* values.

Definition at line 137 of file vdpau.h.

VdpVideoSurface vdpau_render_state::surface

Used as rendered surface, never changed.

Definition at line 135 of file vdpau.h.

Referenced by ff_vdpau_add_data_chunk(), and ff_vdpau_h264_set_reference_frames().


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