avrndec.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "libavutil/imgutils.h"
Include dependency graph for avrndec.c:

Go to the source code of this file.

Data Structures

struct  AVRnContext
 

Functions

static av_cold int init (AVCodecContext *avctx)
 
static av_cold int end (AVCodecContext *avctx)
 
static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_avrn_decoder
 

Function Documentation

static int decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 77 of file avrndec.c.

static av_cold int end ( AVCodecContext avctx)
static

Definition at line 67 of file avrndec.c.

Variable Documentation

AVCodec ff_avrn_decoder
Initial value:
= {
.name = "avrn",
.priv_data_size = sizeof(AVRnContext),
.init = init,
.close = end,
.long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
.capabilities = CODEC_CAP_DR1,
.max_lowres = 3,
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: avrndec.c:77
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int end(AVCodecContext *avctx)
Definition: avrndec.c:67
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868

Definition at line 120 of file avrndec.c.