FFmpeg
Macros | Functions | Variables
msmpeg4dec.h File Reference
#include "avcodec.h"
#include "mpegvideo.h"

Go to the source code of this file.

Macros

#define INTER_INTRA_VLC_BITS   3
 
#define MB_NON_INTRA_VLC_BITS   9
 

Functions

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)
 
void ff_msmpeg4_decode_motion (MpegEncContext *s, int *mx_ptr, int *my_ptr)
 
int ff_msmpeg4_decode_block (MpegEncContext *s, int16_t *block, int n, int coded, const uint8_t *scan_table)
 

Variables

const VLCElemff_mb_non_intra_vlc [4]
 
VLCElem ff_inter_intra_vlc [8]
 

Macro Definition Documentation

◆ INTER_INTRA_VLC_BITS

#define INTER_INTRA_VLC_BITS   3

Definition at line 28 of file msmpeg4dec.h.

◆ MB_NON_INTRA_VLC_BITS

#define MB_NON_INTRA_VLC_BITS   9

Definition at line 29 of file msmpeg4dec.h.

Function Documentation

◆ ff_msmpeg4_decode_init()

int ff_msmpeg4_decode_init ( AVCodecContext avctx)

Definition at line 354 of file msmpeg4dec.c.

Referenced by wmv2_decode_init().

◆ ff_msmpeg4_decode_picture_header()

int ff_msmpeg4_decode_picture_header ( MpegEncContext s)

Definition at line 388 of file msmpeg4dec.c.

Referenced by ff_h263_decode_frame().

◆ ff_msmpeg4_decode_ext_header()

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().

◆ ff_msmpeg4_decode_motion()

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().

◆ ff_msmpeg4_decode_block()

int ff_msmpeg4_decode_block ( MpegEncContext s,
int16_t *  block,
int  n,
int  coded,
const uint8_t *  scan_table 
)

Variable Documentation

◆ ff_mb_non_intra_vlc

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().

◆ ff_inter_intra_vlc

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().