FFmpeg
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Structures | Macros | Functions | Variables
msmpeg4dec.h File Reference
#include "avcodec.h"
#include "mpegvideo.h"

Go to the source code of this file.

Data Structures

struct  MSMP4DecContext
 

Macros

#define INTER_INTRA_VLC_BITS   3
 
#define MB_NON_INTRA_VLC_BITS   9
 

Functions

static MSMP4DecContextmpv_to_msmpeg4 (MpegEncContext *s)
 
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 (MSMP4DecContext *ms, int *mx_ptr, int *my_ptr)
 
int ff_msmpeg4_decode_block (MSMP4DecContext *ms, 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

◆ mpv_to_msmpeg4()

static MSMP4DecContext* mpv_to_msmpeg4 ( MpegEncContext s)
inlinestatic

◆ ff_msmpeg4_decode_init()

int ff_msmpeg4_decode_init ( AVCodecContext avctx)

Definition at line 357 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 391 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 553 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 ( MSMP4DecContext ms,
int *  mx_ptr,
int *  my_ptr 
)

Definition at line 821 of file msmpeg4dec.c.

Referenced by msmpeg4v34_decode_mb(), and wmv2_decode_motion().

◆ ff_msmpeg4_decode_block()

int ff_msmpeg4_decode_block ( MSMP4DecContext ms,
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 69 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 74 of file msmpeg4dec.c.

Referenced by msmpeg4_decode_init_static(), msmpeg4v34_decode_mb(), and wmv2_decode_mb().