FFmpeg
Classes | Macros | Typedefs | Variables
rl2.c File Reference

RL2 Video Decoder. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "internal.h"

Classes

struct  Rl2Context
 

Macros

#define EXTRADATA1_SIZE   (6 + 256 * 3)
 video base, clr count, palette
 

Typedefs

typedef struct Rl2Context Rl2Context
 

Variables

AVCodec ff_rl2_decoder
 

Detailed Description

RL2 Video Decoder.

Author
Sascha Sommer (sasch.nosp@m.asom.nosp@m.mer@f.nosp@m.reen.nosp@m.et.de)
See also
http://wiki.multimedia.cx/index.php?title=RL2

Variable Documentation

§ ff_rl2_decoder

AVCodec ff_rl2_decoder
Initial value:
= {
.name = "rl2",
.long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_RL2,
.priv_data_size = sizeof(Rl2Context),
.init = rl2_decode_init,
.close = rl2_decode_end,
.decode = rl2_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: rl2.c:42
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959