Electronic Arts Madcow Video Decoder.
More...
#include "avcodec.h"
#include "get_bits.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.
|
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, int16_t *block, int mb_x, int mb_y, int j) |
|
static int | decode_block_intra (MadContext *s, int16_t *block) |
|
static int | decode_motion (GetBitContext *gb) |
|
static int | 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) |
|
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.
#define EA_PREAMBLE_SIZE 8 |
static void comp |
( |
unsigned char * |
dst, |
|
|
int |
dst_stride, |
|
|
unsigned char * |
src, |
|
|
int |
src_stride, |
|
|
int |
add |
|
) |
| |
|
inlinestatic |
Definition at line 72 of file eamad.c.
Referenced by av_get_padded_bits_per_pixel(), av_image_fill_max_pixsteps(), av_read_image_line(), av_write_image_line(), bmp_decode_frame(), comp_block(), config_props(), decode_component(), dirac_decode_frame_internal(), ff_blend_mask(), ff_blend_rectangle(), ff_get_unscaled_swscale(), ff_interleave_compare_dts(), fill_coding_method_array(), filter_frame(), init_noise(), ls_decode_line(), ls_encode_line(), ls_encode_run(), noise(), swr_next_pts(), 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 |
static void idct_put |
( |
MadContext * |
t, |
|
|
int16_t * |
block, |
|
|
int |
mb_x, |
|
|
int |
mb_y, |
|
|
int |
j |
|
) |
| |
|
inlinestatic |
static int decode_block_intra |
( |
MadContext * |
s, |
|
|
int16_t * |
block |
|
) |
| |
|
inlinestatic |
static int decode_mb |
( |
MadContext * |
s, |
|
|
int |
inter |
|
) |
| |
|
static |
Initial value:
Definition at line 311 of file eamad.c.