int av_vda_default_init2(AVCodecContext *avctx, AVVDAContext *vdactx)
This is a convenience function that creates and sets up the VDA context using an internal implementat...
This struct holds all the information that needs to be passed between the caller and libavcodec for i...
void * hwaccel_context
Hardware accelerator context.
OSType cv_pix_fmt_type
CVPixelBuffer Format Type that VDA will use for decoded frames; set by the caller.
VDADecoderOutputCallback output_callback
The output callback that must be passed to VDADecoderCreate.
main external API structure.