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

This struct holds all the information that needs to be passed between the caller and libavcodec for initializing VDA decoding. More...

#include <vda.h>

Data Fields

VDADecoder decoder
 VDA decoder object. More...
 
VDADecoderOutputCallback output_callback
 The output callback that must be passed to VDADecoderCreate. More...
 
OSType cv_pix_fmt_type
 CVPixelBuffer Format Type that VDA will use for decoded frames; set by the caller. More...
 

Detailed Description

This struct holds all the information that needs to be passed between the caller and libavcodec for initializing VDA decoding.

Its size is not a part of the public ABI, it must be allocated with av_vda_alloc_context() and freed with av_free().

Definition at line 163 of file vda.h.

Field Documentation

VDADecoder AVVDAContext::decoder

VDA decoder object.

Created and freed by the caller.

Definition at line 167 of file vda.h.

Referenced by ff_vda_default_init(), and vda_h264_end_frame().

VDADecoderOutputCallback AVVDAContext::output_callback

The output callback that must be passed to VDADecoderCreate.

Set by av_vda_alloc_context().

Definition at line 173 of file vda.h.

OSType AVVDAContext::cv_pix_fmt_type

CVPixelBuffer Format Type that VDA will use for decoded frames; set by the caller.

Definition at line 179 of file vda.h.

Referenced by ff_vda_default_init(), and videotoolbox_init().


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