FFmpeg
Loading...
Searching...
No Matches
imm6.c File Reference

Go to the source code of this file.

Data Structures

struct  IMM6Context
 

Functions

static av_cold int imm6_init (AVCodecContext *avctx)
 
static int imm6_send_packet (AVCodecContext *avctx, AVPacket *pkt)
 
static void imm6_update_context (AVCodecContext *avctx)
 
static int imm6_receive_frame (AVCodecContext *avctx, AVFrame *frame)
 
static av_cold void imm6_flush (AVCodecContext *avctx)
 
static av_cold int imm6_close (AVCodecContext *avctx)
 

Variables

const FFCodec ff_imm6_decoder
 

Function Documentation

◆ imm6_init()

static av_cold int imm6_init ( AVCodecContext * avctx)
static

Definition at line 36 of file imm6.c.

◆ imm6_send_packet()

static int imm6_send_packet ( AVCodecContext * avctx,
AVPacket * pkt )
static

Definition at line 65 of file imm6.c.

Referenced by imm6_receive_frame().

◆ imm6_update_context()

static void imm6_update_context ( AVCodecContext * avctx)
static

Definition at line 107 of file imm6.c.

Referenced by imm6_receive_frame().

◆ imm6_receive_frame()

static int imm6_receive_frame ( AVCodecContext * avctx,
AVFrame * frame )
static

Definition at line 127 of file imm6.c.

◆ imm6_flush()

static av_cold void imm6_flush ( AVCodecContext * avctx)
static

Definition at line 167 of file imm6.c.

◆ imm6_close()

static av_cold int imm6_close ( AVCodecContext * avctx)
static

Definition at line 175 of file imm6.c.

Variable Documentation

◆ ff_imm6_decoder

const FFCodec ff_imm6_decoder
Initial value:
= {
.p.name = "imm6",
CODEC_LONG_NAME("Infinity IMM6"),
.p.type = AVMEDIA_TYPE_VIDEO,
.init = imm6_init,
.close = imm6_close,
.flush = imm6_flush,
.priv_data_size = sizeof(IMM6Context),
}
#define FF_CODEC_RECEIVE_FRAME_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define FF_CODEC_CAP_AUTO_THREADS
Codec handles avctx->thread_count == 0 (auto) internally.
#define AV_CODEC_CAP_OTHER_THREADS
Codec supports multithreading through a method other than slice- or frame-level multithreading.
Definition codec.h:112
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition codec.h:79
@ AV_CODEC_ID_IMM6
Definition codec_id.h:329
@ AVMEDIA_TYPE_VIDEO
Definition avutil.h:200
static av_cold void imm6_flush(AVCodecContext *avctx)
Definition imm6.c:167
static av_cold int imm6_init(AVCodecContext *avctx)
Definition imm6.c:36
static av_cold int imm6_close(AVCodecContext *avctx)
Definition imm6.c:175
static int imm6_receive_frame(AVCodecContext *avctx, AVFrame *frame)
Definition imm6.c:127

Definition at line 184 of file imm6.c.