FFmpeg
Data Structures | Functions
vt_internal.h File Reference
#include "avcodec.h"
#include "videotoolbox.h"

Go to the source code of this file.

Data Structures

struct  VTContext
 

Functions

int ff_videotoolbox_alloc_frame (AVCodecContext *avctx, AVFrame *frame)
 
int ff_videotoolbox_common_init (AVCodecContext *avctx)
 
int ff_videotoolbox_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
 
int ff_videotoolbox_buffer_copy (VTContext *vtctx, const uint8_t *buffer, uint32_t size)
 
int ff_videotoolbox_buffer_append (VTContext *vtctx, const uint8_t *buffer, uint32_t size)
 
int ff_videotoolbox_uninit (AVCodecContext *avctx)
 
int ff_videotoolbox_h264_start_frame (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
int ff_videotoolbox_h264_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
int ff_videotoolbox_common_end_frame (AVCodecContext *avctx, AVFrame *frame)
 
CFDataRef ff_videotoolbox_av1c_extradata_create (AVCodecContext *avctx)
 
CFDataRef ff_videotoolbox_avcc_extradata_create (AVCodecContext *avctx)
 
CFDataRef ff_videotoolbox_hvcc_extradata_create (AVCodecContext *avctx)
 
CFDataRef ff_videotoolbox_vpcc_extradata_create (AVCodecContext *avctx)
 

Function Documentation

◆ ff_videotoolbox_alloc_frame()

int ff_videotoolbox_alloc_frame ( AVCodecContext avctx,
AVFrame frame 
)

Definition at line 150 of file videotoolbox.c.

◆ ff_videotoolbox_common_init()

int ff_videotoolbox_common_init ( AVCodecContext avctx)

◆ ff_videotoolbox_frame_params()

int ff_videotoolbox_frame_params ( AVCodecContext avctx,
AVBufferRef hw_frames_ctx 
)

◆ ff_videotoolbox_buffer_copy()

int ff_videotoolbox_buffer_copy ( VTContext vtctx,
const uint8_t *  buffer,
uint32_t  size 
)

Definition at line 79 of file videotoolbox.c.

Referenced by videotoolbox_vp9_decode_slice().

◆ ff_videotoolbox_buffer_append()

int ff_videotoolbox_buffer_append ( VTContext vtctx,
const uint8_t *  buffer,
uint32_t  size 
)

Definition at line 99 of file videotoolbox.c.

Referenced by videotoolbox_av1_end_frame().

◆ ff_videotoolbox_uninit()

int ff_videotoolbox_uninit ( AVCodecContext avctx)

◆ ff_videotoolbox_h264_start_frame()

int ff_videotoolbox_h264_start_frame ( AVCodecContext avctx,
const uint8_t *  buffer,
uint32_t  size 
)

Definition at line 413 of file videotoolbox.c.

◆ ff_videotoolbox_h264_decode_slice()

int ff_videotoolbox_h264_decode_slice ( AVCodecContext avctx,
const uint8_t *  buffer,
uint32_t  size 
)

Definition at line 473 of file videotoolbox.c.

◆ ff_videotoolbox_common_end_frame()

int ff_videotoolbox_common_end_frame ( AVCodecContext avctx,
AVFrame frame 
)

◆ ff_videotoolbox_av1c_extradata_create()

CFDataRef ff_videotoolbox_av1c_extradata_create ( AVCodecContext avctx)

Definition at line 31 of file videotoolbox_av1.c.

◆ ff_videotoolbox_avcc_extradata_create()

CFDataRef ff_videotoolbox_avcc_extradata_create ( AVCodecContext avctx)

Definition at line 211 of file videotoolbox.c.

◆ ff_videotoolbox_hvcc_extradata_create()

CFDataRef ff_videotoolbox_hvcc_extradata_create ( AVCodecContext avctx)

Definition at line 256 of file videotoolbox.c.

◆ ff_videotoolbox_vpcc_extradata_create()

CFDataRef ff_videotoolbox_vpcc_extradata_create ( AVCodecContext avctx)

Definition at line 65 of file videotoolbox_vp9.c.