FFmpeg
Data Structures | Functions | Variables
media100.c File Reference
#include <inttypes.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"

Go to the source code of this file.

Data Structures

struct  Media100Context
 

Functions

static av_cold int media100_decode_init (AVCodecContext *avctx)
 
static int media100_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt)
 
static av_cold int media100_decode_end (AVCodecContext *avctx)
 

Variables

const FFCodec ff_media100_decoder
 

Detailed Description

Media 100 decoder.

Definition in file media100.c.

Function Documentation

◆ media100_decode_init()

static av_cold int media100_decode_init ( AVCodecContext avctx)
static

Definition at line 39 of file media100.c.

◆ media100_decode_frame()

static int media100_decode_frame ( AVCodecContext avctx,
AVFrame frame,
int got_frame,
AVPacket avpkt 
)
static

Definition at line 68 of file media100.c.

◆ media100_decode_end()

static av_cold int media100_decode_end ( AVCodecContext avctx)
static

Definition at line 204 of file media100.c.

Variable Documentation

◆ ff_media100_decoder

const FFCodec ff_media100_decoder
Initial value:
= {
.p.name = "media100",
CODEC_LONG_NAME("Media 100"),
.p.type = AVMEDIA_TYPE_VIDEO,
.priv_data_size = sizeof(Media100Context),
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
}

Definition at line 214 of file media100.c.

FF_CODEC_CAP_INIT_CLEANUP
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
Definition: codec_internal.h:42
media100_decode_init
static av_cold int media100_decode_init(AVCodecContext *avctx)
Definition: media100.c:39
media100_decode_frame
static int media100_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt)
Definition: media100.c:68
AV_CODEC_ID_MEDIA100
@ AV_CODEC_ID_MEDIA100
Definition: codec_id.h:321
Media100Context
Definition: media100.c:34
FF_CODEC_DECODE_CB
#define FF_CODEC_DECODE_CB(func)
Definition: codec_internal.h:306
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts_bsf.c:365
CODEC_LONG_NAME
#define CODEC_LONG_NAME(str)
Definition: codec_internal.h:272
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201
media100_decode_end
static av_cold int media100_decode_end(AVCodecContext *avctx)
Definition: media100.c:204