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

Electronic Arts Madcow Video Decoder. More...

#include "avcodec.h"
#include "blockdsp.h"
#include "bytestream.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "aandcttab.h"
#include "eaidct.h"
#include "idctdsp.h"
#include "internal.h"
#include "mpeg12data.h"
#include "mpeg12vlc.h"

Classes

struct  MadContext
 

Macros

#define EA_PREAMBLE_SIZE   8
 
#define MADk_TAG   MKTAG('M', 'A', 'D', 'k') /* MAD I-frame */
 
#define MADm_TAG   MKTAG('M', 'A', 'D', 'm') /* MAD P-frame */
 
#define MADe_TAG   MKTAG('M', 'A', 'D', 'e') /* MAD lqp-frame */
 

Typedefs

typedef struct MadContext MadContext
 

Variables

AVCodec ff_eamad_decoder
 

Detailed Description

Electronic Arts Madcow Video Decoder.

Author
Peter Ross pross.nosp@m.@xvi.nosp@m.d.org
See also
technical details at http://wiki.multimedia.cx/index.php?title=Electronic_Arts_MAD

Variable Documentation

§ ff_eamad_decoder

AVCodec ff_eamad_decoder
Initial value:
= {
.name = "eamad",
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Madcow Video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_MAD,
.priv_data_size = sizeof(MadContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
}
Definition: eamad.c:48
#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