23 #ifndef AVCODEC_VIDEOTOOLBOX_H 24 #define AVCODEC_VIDEOTOOLBOX_H 34 #define Picture QuickdrawPicture 35 #include <VideoToolbox/VideoToolbox.h> int cm_codec_type
CoreMedia codec type that Videotoolbox will use to create the decompression session.
VTDecompressionSessionRef session
Videotoolbox decompression session object.
Libavcodec external API header.
main external API structure.
CMVideoFormatDescriptionRef cm_fmt_desc
CoreMedia Format Description that Videotoolbox will use to create the decompression session...
OSType cv_pix_fmt_type
CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.
VTDecompressionOutputCallback output_callback
The output callback that must be passed to the session.
This struct holds all the information that needs to be passed between the caller and libavcodec for i...