19 #ifndef AVCODEC_VDA_VT_INTERNAL_H
20 #define AVCODEC_VDA_VT_INTERNAL_H
23 CFDictionaryRef user_info,
26 CVImageBufferRef image_buffer);
This structure describes decoded (raw) audio or video data.
void ff_vda_output_callback(void *vda_hw_ctx, CFDictionaryRef user_info, OSStatus status, uint32_t infoFlags, CVImageBufferRef image_buffer)
CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx)
int ff_videotoolbox_uninit(AVCodecContext *avctx)
int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame)
void ff_vda_default_free(AVCodecContext *avctx)
int ff_videotoolbox_buffer_create(VTContext *vtctx, AVFrame *frame)
int ff_videotoolbox_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
CFDataRef ff_videotoolbox_hvcc_extradata_create(AVCodecContext *avctx)
main external API structure.
int ff_vda_default_init(AVCodecContext *avctx)
A reference to a data buffer.
struct AVVideotoolboxContext * vt_ctx
int ff_videotoolbox_h264_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
struct AVBufferRef * cached_hw_frames_ctx
This struct holds all the information that needs to be passed between the caller and libavcodec for i...