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

Deluxe Paint Animation decoder. More...

#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"

Classes

struct  AnmContext
 

Macros

#define OP(gb, pixel, count)   op(&dst, dst_end, (gb), (pixel), (count), &s->x, avctx->width, s->frame->linesize[0])
 

Typedefs

typedef struct AnmContext AnmContext
 

Variables

AVCodec ff_anm_decoder
 

Detailed Description

Deluxe Paint Animation decoder.

Variable Documentation

§ ff_anm_decoder

AVCodec ff_anm_decoder
Initial value:
= {
.name = "anm",
.long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_ANM,
.priv_data_size = sizeof(AnmContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
}
Definition: anm.c:31
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
Definition: internal.h:40
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959