Electronic Arts Madcow Video Decoder.
More...
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "dsputil.h"
#include "aandcttab.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Functions |
static void | bswap16_buf (uint16_t *dst, const uint16_t *src, int count) |
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 *t, DCTELEM *block) |
static int | decode_motion (GetBitContext *gb) |
static void | decode_mb (MadContext *t, int inter) |
static void | calc_intra_matrix (MadContext *t, int qscale) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | decode_end (AVCodecContext *avctx) |
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
Definition in file eamad.c.
Macro Definition Documentation
#define EA_PREAMBLE_SIZE 8 |
#define MADe_TAG MKTAG('M', 'A', 'D', 'e') /* MAD lqp-frame */ |
#define MADk_TAG MKTAG('M', 'A', 'D', 'k') /* MAD i-frame */ |
#define MADm_TAG MKTAG('M', 'A', 'D', 'm') /* MAD p-frame */ |
Typedef Documentation
Function Documentation
static void bswap16_buf |
( |
uint16_t * |
dst, |
|
|
const uint16_t * |
src, |
|
|
int |
count |
|
) |
| |
|
static |
static void comp |
( |
unsigned char * |
dst, |
|
|
int |
dst_stride, |
|
|
unsigned char * |
src, |
|
|
int |
src_stride, |
|
|
int |
add |
|
) |
| |
|
inlinestatic |
Definition at line 75 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(), do_audio_out(), ff_interleave_compare_dts(), fill_coding_method_array(), find_c_packed_planar_out_funcs(), 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().
static void comp_block |
( |
MadContext * |
t, |
|
|
int |
mb_x, |
|
|
int |
mb_y, |
|
|
int |
j, |
|
|
int |
mv_x, |
|
|
int |
mv_y, |
|
|
int |
add |
|
) |
| |
|
inlinestatic |
Variable Documentation
Initial value:
Definition at line 319 of file eamad.c.