Miam-Player  0.8.0
A nice music player
AVVideotoolboxContext Struct Reference

#include <videotoolbox.h>

Public Attributes

VTDecompressionSessionRef session
 
VTDecompressionOutputCallback output_callback
 
OSType cv_pix_fmt_type
 
CMVideoFormatDescriptionRef cm_fmt_desc
 
int cm_codec_type
 

Detailed Description

This struct holds all the information that needs to be passed between the caller and libavcodec for initializing Videotoolbox decoding. Its size is not a part of the public ABI, it must be allocated with av_videotoolbox_alloc_context() and freed with av_free().

Member Data Documentation

int AVVideotoolboxContext::cm_codec_type

CoreMedia codec type that Videotoolbox will use to create the decompression session. Set by the caller.

CMVideoFormatDescriptionRef AVVideotoolboxContext::cm_fmt_desc

CoreMedia Format Description that Videotoolbox will use to create the decompression session. Set by the caller.

OSType AVVideotoolboxContext::cv_pix_fmt_type

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

VTDecompressionOutputCallback AVVideotoolboxContext::output_callback

The output callback that must be passed to the session. Set by av_videottoolbox_default_init()

VTDecompressionSessionRef AVVideotoolboxContext::session

Videotoolbox decompression session object. Created and freed the caller.


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