FFmpeg
Macros | Functions
vc1_block.c File Reference

VC-1 and WMV3 block decoding routines. More...

#include "avcodec.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "msmpeg4data.h"
#include "unary.h"
#include "vc1.h"
#include "vc1_pred.h"
#include "vc1acdata.h"
#include "vc1data.h"

Macros

#define MB_INTRA_VLC_BITS   9
 
#define DC_VLC_BITS   9
 
#define inc_blk_idx(idx)
 

Functions

void ff_vc1_decode_blocks (VC1Context *v)
 
VC-1 Bitplane decoding
See also
8.7, p56
VC1 Macroblock-level functions in Simple/Main Profiles
See also
7.1.4, p91 and 8.1.1.7, p(1)04

VC-1 Block-level functions

See also
7.1.4, p91 and 8.1.1.7, p(1)04
#define GET_MQUANT()
 Get macroblock-level quantizer scale.
 
#define GET_MVDATA(_dmv_x, _dmv_y)
 Get MV differentials. More...
 

Detailed Description

VC-1 and WMV3 block decoding routines.

Macro Definition Documentation

§ GET_MVDATA

#define GET_MVDATA (   _dmv_x,
  _dmv_y 
)

Get MV differentials.

See also
MVDATA decoding from 8.3.5.2, p(1)20
Parameters
_dmv_xHorizontal differential for decoded MV
_dmv_yVertical differential for decoded MV

§ inc_blk_idx

#define inc_blk_idx (   idx)
Value:
do { \
idx++; \
if (idx >= v->n_allocated_blks) \
idx = 0; \
} while (0)