Libav
Functions

VC1 Macroblock-level functions in Simple/Main Profiles

Functions

static int vc1_coded_block_pred (MpegEncContext *s, int n, uint8_t **coded_block_ptr)
static void vc1_decode_ac_coeff (VC1Context *v, int *last, int *skip, int *value, int codingset)
 Decode one AC coefficient.
static int vc1_decode_i_block (VC1Context *v, DCTELEM block[64], int n, int coded, int codingset)
 Decode intra block in intra frames - should be faster than decode_intra_block.
static int vc1_decode_i_block_adv (VC1Context *v, DCTELEM block[64], int n, int coded, int codingset, int mquant)
 Decode intra block in intra frames - should be faster than decode_intra_block.
static int vc1_decode_intra_block (VC1Context *v, DCTELEM block[64], int n, int coded, int mquant, int codingset)
 Decode intra block in inter frames - more generic version than vc1_decode_i_block.
static int vc1_decode_p_block (VC1Context *v, DCTELEM block[64], int n, int mquant, int ttmb, int first_block, uint8_t *dst, int linesize, int skip_block, int apply_filter, int cbp_top, int cbp_left)
 Decode P block.

Detailed Description

See also:
7.1.4, p91 and 8.1.1.7, p(1)04

Function Documentation

static int vc1_coded_block_pred ( MpegEncContext s,
int  n,
uint8_t **  coded_block_ptr 
) [inline, static]

Definition at line 1324 of file vc1dec.c.

Referenced by vc1_decode_i_blocks(), and vc1_decode_i_blocks_adv().

static void vc1_decode_ac_coeff ( VC1Context v,
int *  last,
int *  skip,
int *  value,
int  codingset 
) [static]

Decode one AC coefficient.

Parameters:
vThe VC1 context
lastLast coefficient
skipHow much zero coefficients to skip
valueDecoded AC coefficient value
codingsetset of VLC to decode data
See also:
8.1.3.4

Definition at line 1359 of file vc1dec.c.

Referenced by vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_intra_block(), and vc1_decode_p_block().

static int vc1_decode_i_block ( VC1Context v,
DCTELEM  block[64],
int  n,
int  coded,
int  codingset 
) [static]

Decode intra block in intra frames - should be faster than decode_intra_block.

Parameters:
vVC1Context
blockblock to decode
[in]nsubblock index
codedare AC coeffs present or not
codingsetset of VLC to decode data

Definition at line 1424 of file vc1dec.c.

Referenced by vc1_decode_i_blocks().

static int vc1_decode_i_block_adv ( VC1Context v,
DCTELEM  block[64],
int  n,
int  coded,
int  codingset,
int  mquant 
) [static]

Decode intra block in intra frames - should be faster than decode_intra_block.

Parameters:
vVC1Context
blockblock to decode
[in]nsubblock number
codedare AC coeffs present or not
codingsetset of VLC to decode data
mquantquantizer value for this macroblock

Definition at line 1590 of file vc1dec.c.

Referenced by vc1_decode_i_blocks_adv().

static int vc1_decode_intra_block ( VC1Context v,
DCTELEM  block[64],
int  n,
int  coded,
int  mquant,
int  codingset 
) [static]

Decode intra block in inter frames - more generic version than vc1_decode_i_block.

Parameters:
vVC1Context
blockblock to decode
[in]nsubblock index
codedare AC coeffs present or not
mquantblock quantizer
codingsetset of VLC to decode data

Definition at line 1785 of file vc1dec.c.

Referenced by vc1_decode_b_mb(), and vc1_decode_p_mb().

static int vc1_decode_p_block ( VC1Context v,
DCTELEM  block[64],
int  n,
int  mquant,
int  ttmb,
int  first_block,
uint8_t *  dst,
int  linesize,
int  skip_block,
int  apply_filter,
int  cbp_top,
int  cbp_left 
) [static]

Decode P block.

Definition at line 1980 of file vc1dec.c.

Referenced by vc1_decode_b_mb(), and vc1_decode_p_mb().