FFmpeg
|
MSMPEG4 backend for encoder and decoder. More...
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "libavutil/x86/asm.h"
#include "h263.h"
#include "mpeg4video.h"
#include "msmpeg4data.h"
#include "vc1data.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Macros | |
#define | DC_VLC_BITS 9 |
#define | V2_INTRA_CBPC_VLC_BITS 3 |
#define | V2_MB_TYPE_VLC_BITS 7 |
#define | MV_VLC_BITS 9 |
#define | V2_MV_VLC_BITS 9 |
#define | TEX_VLC_BITS 9 |
#define | DEFAULT_INTER_INDEX 3 |
Variables | |
VLC | ff_mb_non_intra_vlc [4] |
static VLC | v2_dc_lum_vlc |
static VLC | v2_dc_chroma_vlc |
static VLC | v2_intra_cbpc_vlc |
static VLC | v2_mb_type_vlc |
static VLC | v2_mv_vlc |
VLC | ff_inter_intra_vlc |
AVCodec | ff_msmpeg4v1_decoder |
AVCodec | ff_msmpeg4v2_decoder |
AVCodec | ff_msmpeg4v3_decoder |
AVCodec | ff_wmv1_decoder |
MSMPEG4 backend for encoder and decoder.
Definition in file msmpeg4.c.
#define DC_VLC_BITS 9 |
Definition at line 50 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4_decode_dc().
#define V2_INTRA_CBPC_VLC_BITS 3 |
Definition at line 51 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4v12_decode_mb().
#define V2_MB_TYPE_VLC_BITS 7 |
Definition at line 52 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4v12_decode_mb().
#define MV_VLC_BITS 9 |
Definition at line 53 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_decode_motion().
#define V2_MV_VLC_BITS 9 |
Definition at line 54 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and msmpeg4v2_decode_motion().
#define TEX_VLC_BITS 9 |
Definition at line 55 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_block().
#define DEFAULT_INTER_INDEX 3 |
Definition at line 57 of file msmpeg4.c.
Referenced by msmpeg4v34_decode_mb().
Definition at line 61 of file msmpeg4.c.
Referenced by ff_msmpeg4_common_init().
av_cold void ff_msmpeg4_common_init | ( | MpegEncContext * | s | ) |
Definition at line 118 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_init().
int ff_msmpeg4_coded_block_pred | ( | MpegEncContext * | s, |
int | n, | ||
uint8_t ** | coded_block_ptr | ||
) |
Definition at line 162 of file msmpeg4.c.
Referenced by ff_msmpeg4_encode_mb(), ff_wmv2_decode_mb(), ff_wmv2_encode_mb(), and msmpeg4v34_decode_mb().
|
inlinestatic |
Definition at line 188 of file msmpeg4.c.
Referenced by msmpeg4_decode_dc().
|
static |
Definition at line 203 of file msmpeg4.c.
Referenced by ff_msmpeg4_pred_dc().
int ff_msmpeg4_pred_dc | ( | MpegEncContext * | s, |
int | n, | ||
int16_t ** | dc_val_ptr, | ||
int * | dir_ptr | ||
) |
Definition at line 217 of file msmpeg4.c.
Referenced by msmpeg4_decode_dc(), and msmpeg4_encode_dc().
|
static |
Definition at line 376 of file msmpeg4.c.
Referenced by msmpeg4v12_decode_mb().
|
static |
Definition at line 407 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init().
|
static |
Definition at line 497 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_init().
av_cold int ff_msmpeg4_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 590 of file msmpeg4.c.
Referenced by vc1_decode_frame(), vc1_decode_init(), wmv2_decode_init(), and wmv9_init().
int ff_msmpeg4_decode_picture_header | ( | MpegEncContext * | s | ) |
Definition at line 700 of file msmpeg4.c.
Referenced by ff_h263_decode_frame().
int ff_msmpeg4_decode_ext_header | ( | MpegEncContext * | s, |
int | buf_size | ||
) |
Definition at line 855 of file msmpeg4.c.
Referenced by ff_h263_decode_frame(), and ff_msmpeg4_decode_picture_header().
|
static |
Definition at line 883 of file msmpeg4.c.
Referenced by ff_msmpeg4_decode_block().
int ff_msmpeg4_decode_block | ( | MpegEncContext * | s, |
DCTELEM * | block, | ||
int | n, | ||
int | coded, | ||
const uint8_t * | scan_table | ||
) |
Definition at line 941 of file msmpeg4.c.
Referenced by ff_wmv2_decode_mb(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), and wmv2_decode_inter_block().
int ff_msmpeg4_decode_motion | ( | MpegEncContext * | s, |
int * | mx_ptr, | ||
int * | my_ptr | ||
) |
Definition at line 1177 of file msmpeg4.c.
Referenced by msmpeg4v34_decode_mb(), and wmv2_decode_motion().
VLC ff_mb_non_intra_vlc[4] |
Definition at line 367 of file msmpeg4.c.
Referenced by ff_wmv2_decode_mb().
VLC ff_inter_intra_vlc |
Definition at line 373 of file msmpeg4.c.
Referenced by ff_wmv2_decode_mb().
AVCodec ff_msmpeg4v1_decoder |
AVCodec ff_msmpeg4v2_decoder |
AVCodec ff_msmpeg4v3_decoder |
AVCodec ff_wmv1_decoder |