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...
OSType cv_pix_fmt_type
The pixel format for output image buffers.
This struct holds all the information that needs to be passed between the caller and libavcodec for i...
int use_ref_buffer
Use av_buffer to manage buffer.
OSType cv_pix_fmt_type
CVPixelBuffer Format Type that VDA will use for decoded frames; set by the caller.
CVPixelBufferRef cv_buffer
The Core Video pixel buffer that contains the current image data.
This structure is used to provide the necessary configurations and data to the VDA FFmpeg HWAccel imp...
VDADecoderOutputCallback output_callback
The output callback that must be passed to VDADecoderCreate.
main external API structure.
int use_sync_decoding
Use the hardware decoder in synchronous mode.