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_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_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 122 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 71 of file videotoolbox.c.

Referenced by videotoolbox_vp9_decode_slice().

◆ 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 377 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 437 of file videotoolbox.c.

◆ ff_videotoolbox_common_end_frame()

int ff_videotoolbox_common_end_frame ( AVCodecContext avctx,
AVFrame frame 
)

◆ ff_videotoolbox_avcc_extradata_create()

CFDataRef ff_videotoolbox_avcc_extradata_create ( AVCodecContext avctx)

Definition at line 184 of file videotoolbox.c.

◆ ff_videotoolbox_hvcc_extradata_create()

CFDataRef ff_videotoolbox_hvcc_extradata_create ( AVCodecContext avctx)

Definition at line 229 of file videotoolbox.c.

◆ ff_videotoolbox_vpcc_extradata_create()

CFDataRef ff_videotoolbox_vpcc_extradata_create ( AVCodecContext avctx)

Definition at line 62 of file videotoolbox_vp9.c.