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 761 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 828 of file encode.c.

Referenced by avcodec_receive_frame().

◆ ff_encode_preinit()

int ff_encode_preinit ( struct AVCodecContext avctx)

Definition at line 731 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 1685 of file decode.c.

Referenced by avcodec_open2().

◆ ff_decode_flush_buffers()

void ff_decode_flush_buffers ( struct AVCodecContext avctx)

Definition at line 1929 of file decode.c.

Referenced by avcodec_flush_buffers().

◆ ff_encode_flush_buffers()

void ff_encode_flush_buffers ( struct AVCodecContext avctx)

Definition at line 841 of file encode.c.

Referenced by avcodec_flush_buffers().

◆ ff_decode_internal_alloc()

struct AVCodecInternal* ff_decode_internal_alloc ( void  )

Definition at line 1946 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 851 of file encode.c.

Referenced by avcodec_open2().

◆ ff_codec_close()

void ff_codec_close ( struct AVCodecContext avctx)