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

Field Documentation

VdpVideoSurface vdpau_render_state::surface

Used as rendered surface, never changed.

Definition at line 190 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 192 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 201 of file vdpau.h.

Referenced by ff_vdpau_add_data_chunk().

int vdpau_render_state::bitstream_buffers_used

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

Referenced by ff_vdpau_add_data_chunk().

union AVVDPAUPictureInfo vdpau_render_state::info

picture parameter information for all supported codecs

Definition at line 208 of file vdpau.h.

Referenced by ff_vdpau_h264_set_reference_frames().


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