FFmpeg
|
#include "libavutil/thread.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "msmpeg4dec.h"
#include "libavutil/imgutils.h"
#include "h263.h"
#include "h263data.h"
#include "h263dec.h"
#include "mpeg4videodec.h"
#include "msmpeg4data.h"
#include "msmpeg4_vc1_data.h"
Go to the source code of this file.
Macros | |
#define | V2_INTRA_CBPC_VLC_BITS 3 |
#define | V2_MB_TYPE_VLC_BITS 7 |
#define | MV_VLC_BITS 9 |
#define | TEX_VLC_BITS 9 |
#define | DEFAULT_INTER_INDEX 3 |
Functions | |
static int | msmpeg4v1_pred_dc (MpegEncContext *s, int n, int32_t **dc_val_ptr) |
static int | msmpeg4v2_decode_motion (MpegEncContext *s, int pred, int f_code) |
static int | msmpeg4v12_decode_mb (MpegEncContext *s, int16_t block[6][64]) |
static int | msmpeg4v34_decode_mb (MpegEncContext *s, int16_t block[6][64]) |
static av_cold void | msmpeg4_decode_init_static (void) |
av_cold int | ff_msmpeg4_decode_init (AVCodecContext *avctx) |
int | ff_msmpeg4_decode_picture_header (MpegEncContext *s) |
int | ff_msmpeg4_decode_ext_header (MpegEncContext *s, int buf_size) |
static int | msmpeg4_decode_dc (MpegEncContext *s, int n, int *dir_ptr) |
int | ff_msmpeg4_decode_block (MpegEncContext *s, int16_t *block, int n, int coded, const uint8_t *scan_table) |
void | ff_msmpeg4_decode_motion (MpegEncContext *s, int *mx_ptr, int *my_ptr) |
Variables | |
const VLCElem * | ff_mb_non_intra_vlc [4] |
static VLCElem | v2_dc_lum_vlc [1472] |
static VLCElem | v2_dc_chroma_vlc [1506] |
static VLCElem | v2_intra_cbpc_vlc [8] |
static VLCElem | v2_mb_type_vlc [128] |
VLCElem | ff_inter_intra_vlc [8] |
const FFCodec | ff_msmpeg4v1_decoder |
const FFCodec | ff_msmpeg4v2_decoder |
const FFCodec | ff_msmpeg4v3_decoder |
const FFCodec | ff_wmv1_decoder |
#define V2_INTRA_CBPC_VLC_BITS 3 |
Definition at line 41 of file msmpeg4dec.c.
#define V2_MB_TYPE_VLC_BITS 7 |
Definition at line 42 of file msmpeg4dec.c.
#define MV_VLC_BITS 9 |
Definition at line 43 of file msmpeg4dec.c.
#define TEX_VLC_BITS 9 |
Definition at line 44 of file msmpeg4dec.c.
#define DEFAULT_INTER_INDEX 3 |
Definition at line 46 of file msmpeg4dec.c.
|
inlinestatic |
Definition at line 48 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_dc().
|
static |
Definition at line 74 of file msmpeg4dec.c.
Referenced by msmpeg4v12_decode_mb().
|
static |
Definition at line 105 of file msmpeg4dec.c.
Referenced by ff_msmpeg4_decode_init().
|
static |
Definition at line 206 of file msmpeg4dec.c.
Referenced by ff_msmpeg4_decode_init().
|
static |
Definition at line 297 of file msmpeg4dec.c.
Referenced by ff_msmpeg4_decode_init().
av_cold int ff_msmpeg4_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 354 of file msmpeg4dec.c.
Referenced by wmv2_decode_init().
int ff_msmpeg4_decode_picture_header | ( | MpegEncContext * | s | ) |
Definition at line 388 of file msmpeg4dec.c.
Referenced by ff_h263_decode_frame().
int ff_msmpeg4_decode_ext_header | ( | MpegEncContext * | s, |
int | buf_size | ||
) |
Definition at line 544 of file msmpeg4dec.c.
Referenced by ff_h263_decode_frame(), and ff_msmpeg4_decode_picture_header().
|
static |
Definition at line 572 of file msmpeg4dec.c.
Referenced by ff_msmpeg4_decode_block().
int ff_msmpeg4_decode_block | ( | MpegEncContext * | s, |
int16_t * | block, | ||
int | n, | ||
int | coded, | ||
const uint8_t * | scan_table | ||
) |
Definition at line 625 of file msmpeg4dec.c.
Referenced by msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), wmv2_decode_inter_block(), and wmv2_decode_mb().
void ff_msmpeg4_decode_motion | ( | MpegEncContext * | s, |
int * | mx_ptr, | ||
int * | my_ptr | ||
) |
Definition at line 812 of file msmpeg4dec.c.
Referenced by msmpeg4v34_decode_mb(), and wmv2_decode_motion().
const VLCElem* ff_mb_non_intra_vlc[4] |
Definition at line 66 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_init_static(), msmpeg4v34_decode_mb(), and wmv2_decode_mb().
|
static |
Definition at line 67 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_dc(), and msmpeg4_decode_init_static().
|
static |
Definition at line 68 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_dc(), and msmpeg4_decode_init_static().
|
static |
Definition at line 69 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_init_static(), and msmpeg4v12_decode_mb().
|
static |
Definition at line 70 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_init_static(), and msmpeg4v12_decode_mb().
VLCElem ff_inter_intra_vlc[8] |
Definition at line 71 of file msmpeg4dec.c.
Referenced by msmpeg4_decode_init_static(), msmpeg4v34_decode_mb(), and wmv2_decode_mb().
const FFCodec ff_msmpeg4v1_decoder |
Definition at line 844 of file msmpeg4dec.c.
const FFCodec ff_msmpeg4v2_decoder |
Definition at line 858 of file msmpeg4dec.c.
const FFCodec ff_msmpeg4v3_decoder |
Definition at line 872 of file msmpeg4dec.c.
const FFCodec ff_wmv1_decoder |
Definition at line 886 of file msmpeg4dec.c.