FFmpeg  3.2.10
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 <libavcodec/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

◆ decoder

VDADecoder AVVDAContext::decoder

VDA decoder object.

Created and freed by the caller.

Definition at line 167 of file vda.h.

◆ output_callback

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.

◆ cv_pix_fmt_type

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.


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