FFmpeg
Functions
avcodec_internal.h File Reference

Go to the source code of this file.

Functions

int ff_decode_receive_frame (struct AVCodecContext *avctx, struct AVFrame *frame)
 avcodec_receive_frame() implementation for decoders. More...
 
int ff_encode_receive_frame (struct AVCodecContext *avctx, struct AVFrame *frame)
 avcodec_receive_frame() implementation for encoders. More...
 
int ff_encode_preinit (struct AVCodecContext *avctx)
 
int ff_decode_preinit (struct AVCodecContext *avctx)
 Perform decoder initialization and validation. More...
 
void ff_decode_flush_buffers (struct AVCodecContext *avctx)
 
void ff_encode_flush_buffers (struct AVCodecContext *avctx)
 
struct AVCodecInternalff_decode_internal_alloc (void)
 
struct AVCodecInternalff_encode_internal_alloc (void)
 
void ff_codec_close (struct AVCodecContext *avctx)
 

Function Documentation

◆ ff_decode_receive_frame()

int ff_decode_receive_frame ( struct AVCodecContext avctx,
struct AVFrame frame 
)

avcodec_receive_frame() implementation for decoders.

Definition at line 796 of file decode.c.

Referenced by avcodec_receive_frame().

◆ ff_encode_receive_frame()

int ff_encode_receive_frame ( struct AVCodecContext avctx,
struct AVFrame frame 
)

avcodec_receive_frame() implementation for encoders.

Definition at line 844 of file encode.c.

Referenced by avcodec_receive_frame().

◆ ff_encode_preinit()

int ff_encode_preinit ( struct AVCodecContext avctx)

Definition at line 747 of file encode.c.

Referenced by avcodec_open2().

◆ ff_decode_preinit()

int ff_decode_preinit ( struct AVCodecContext avctx)

Perform decoder initialization and validation.

Called when opening the decoder, before the FFCodec.init() call.

Definition at line 1744 of file decode.c.

Referenced by avcodec_open2().

◆ ff_decode_flush_buffers()

void ff_decode_flush_buffers ( struct AVCodecContext avctx)

Definition at line 1868 of file decode.c.

Referenced by avcodec_flush_buffers().

◆ ff_encode_flush_buffers()

void ff_encode_flush_buffers ( struct AVCodecContext avctx)

Definition at line 857 of file encode.c.

Referenced by avcodec_flush_buffers().

◆ ff_decode_internal_alloc()

struct AVCodecInternal* ff_decode_internal_alloc ( void  )

Definition at line 1885 of file decode.c.

Referenced by avcodec_open2(), and init_thread().

◆ ff_encode_internal_alloc()

struct AVCodecInternal* ff_encode_internal_alloc ( void  )

Definition at line 867 of file encode.c.

Referenced by avcodec_open2().

◆ ff_codec_close()

void ff_codec_close ( struct AVCodecContext avctx)