FFmpeg
Macros | Functions | Variables
msmpeg4dec.h File Reference
#include "config.h"
#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
 
#define MB_INTRA_VLC_BITS   9
 
#define CONFIG_MSMPEG4_DECODER
 

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

VLC ff_mb_non_intra_vlc [4]
 
VLC ff_inter_intra_vlc
 

Macro Definition Documentation

◆ INTER_INTRA_VLC_BITS

#define INTER_INTRA_VLC_BITS   3

Definition at line 29 of file msmpeg4dec.h.

◆ MB_NON_INTRA_VLC_BITS

#define MB_NON_INTRA_VLC_BITS   9

Definition at line 30 of file msmpeg4dec.h.

◆ MB_INTRA_VLC_BITS

#define MB_INTRA_VLC_BITS   9

Definition at line 31 of file msmpeg4dec.h.

◆ CONFIG_MSMPEG4_DECODER

#define CONFIG_MSMPEG4_DECODER
Value:
(CONFIG_MSMPEG4V1_DECODER || \
CONFIG_MSMPEG4V2_DECODER || \
CONFIG_MSMPEG4V3_DECODER || \
CONFIG_WMV1_DECODER || \
CONFIG_WMV2_DECODER || \
CONFIG_VC1_DECODER)

Definition at line 43 of file msmpeg4dec.h.

Function Documentation

◆ ff_msmpeg4_decode_init()

int ff_msmpeg4_decode_init ( AVCodecContext avctx)

Definition at line 370 of file msmpeg4dec.c.

Referenced by vc1_decode_frame(), vc1_decode_init(), wmv2_decode_init(), and wmv9_init().

◆ ff_msmpeg4_decode_picture_header()

int ff_msmpeg4_decode_picture_header ( MpegEncContext s)

Definition at line 408 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 564 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 835 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

VLC ff_mb_non_intra_vlc[4]

◆ ff_inter_intra_vlc

VLC ff_inter_intra_vlc