Electronic Arts Madcow Video Decoder. More...
#include "avcodec.h"#include "bytestream.h"#include "get_bits.h"#include "dsputil.h"#include "aandcttab.h"#include "eaidct.h"#include "internal.h"#include "mpeg12.h"#include "mpeg12data.h"#include "libavutil/imgutils.h"Go to the source code of this file.
Data Structures | |
| 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 |
Functions | |
| static av_cold int | decode_init (AVCodecContext *avctx) |
| static void | comp (unsigned char *dst, int dst_stride, unsigned char *src, int src_stride, int add) |
| static void | comp_block (MadContext *t, int mb_x, int mb_y, int j, int mv_x, int mv_y, int add) |
| static void | idct_put (MadContext *t, DCTELEM *block, int mb_x, int mb_y, int j) |
| static void | decode_block_intra (MadContext *s, DCTELEM *block) |
| static int | decode_motion (GetBitContext *gb) |
| static void | decode_mb (MadContext *s, int inter) |
| static void | calc_quant_matrix (MadContext *s, int qscale) |
| static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
| static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
| AVCodec | ff_eamad_decoder |
Electronic Arts Madcow Video Decoder.
Definition in file eamad.c.
Definition at line 45 of file eamad.c.
Referenced by decode_frame().
Definition at line 44 of file eamad.c.
Referenced by decode_frame().
| typedef struct MadContext MadContext |
|
static |
Definition at line 219 of file eamad.c.
Referenced by decode_frame().
|
inlinestatic |
Definition at line 74 of file eamad.c.
Referenced by av_image_fill_max_pixsteps(), av_read_image_line(), av_write_image_line(), bmp_decode_frame(), comp_block(), config_props(), ff_interleave_compare_dts(), fill_coding_method_array(), filter_frame(), ls_decode_line(), ls_encode_line(), ls_encode_run(), vp5_parse_vector_adjustment(), vp5_parse_vector_models(), vp6_parse_vector_adjustment(), and vp6_parse_vector_models().
|
inlinestatic |
Definition at line 83 of file eamad.c.
Referenced by decode_mb().
|
inlinestatic |
Definition at line 114 of file eamad.c.
Referenced by decode_mb().
|
static |
|
static |
|
static |
|
static |
Definition at line 190 of file eamad.c.
Referenced by decode_frame().
|
static |
Definition at line 179 of file eamad.c.
Referenced by decode_mb().
|
inlinestatic |
Definition at line 100 of file eamad.c.
Referenced by decode_mb().
| AVCodec ff_eamad_decoder |