FFmpeg
Functions
frame_thread_encoder.h File Reference
#include "avcodec.h"

Go to the source code of this file.

Functions

int ff_frame_thread_encoder_init (AVCodecContext *avctx)
 Initialize frame thread encoder. More...
 
void ff_frame_thread_encoder_free (AVCodecContext *avctx)
 
int ff_thread_video_encode_frame (AVCodecContext *avctx, AVPacket *pkt, AVFrame *frame, int *got_packet_ptr)
 

Function Documentation

◆ ff_frame_thread_encoder_init()

int ff_frame_thread_encoder_init ( AVCodecContext avctx)

Initialize frame thread encoder.

Note
hardware encoders are not supported

Definition at line 120 of file frame_thread_encoder.c.

Referenced by ff_encode_preinit().

◆ ff_frame_thread_encoder_free()

void ff_frame_thread_encoder_free ( AVCodecContext avctx)

Definition at line 275 of file frame_thread_encoder.c.

Referenced by ff_codec_close(), and ff_frame_thread_encoder_init().

◆ ff_thread_video_encode_frame()

int ff_thread_video_encode_frame ( AVCodecContext avctx,
AVPacket pkt,
AVFrame frame,
int *  got_packet_ptr 
)

Definition at line 301 of file frame_thread_encoder.c.

Referenced by encode_simple_internal().