Miam-Player  0.8.0
A nice music player
AVVDAContext Struct Reference

#include <vda.h>

Public Attributes

VDADecoder decoder
 
VDADecoderOutputCallback output_callback
 
OSType cv_pix_fmt_type
 

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

Member Data Documentation

OSType AVVDAContext::cv_pix_fmt_type

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

VDADecoder AVVDAContext::decoder

VDA decoder object. Created and freed by the caller.

VDADecoderOutputCallback AVVDAContext::output_callback

The output callback that must be passed to VDADecoderCreate. Set by av_vda_alloc_context().


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