quant4x4.h File Reference

Quantization process header file. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_quant_4x4 (InputParameters *params, ImageParameters *img, Slice *currSlice)
int quant_4x4_normal (int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int is_calvc)
int quant_4x4_around (int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int is_calvc)
int quant_4x4_trellis (int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int is_calvc)
int quant_dc4x4_normal (int **tblock, int qp, int *DCLevel, int *DCRun, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_calvc)
int quant_dc4x4_around (int **tblock, int qp, int *DCLevel, int *DCRun, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_calvc)
int quant_dc4x4_trellis (int **tblock, int qp, int *DCLevel, int *DCRun, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_calvc)
int quant_ac4x4_normal (int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int type, int is_calvc)
int quant_ac4x4_around (int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int type, int is_calvc)
int quant_ac4x4_trellis (int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int type, int is_calvc)
void rdoq_4x4_CAVLC (int **tblock, int block_y, int block_x, int qp_per, int qp_rem, int **levelscale, int **leveloffset, const byte(*pos_scan)[2], int levelTrellis[16])
void rdoq_4x4_CABAC (int **tblock, int block_y, int block_x, int qp_per, int qp_rem, int **levelscale, int **leveloffset, const byte(*pos_scan)[2], int levelTrellis[16])
void rdoq_dc_CAVLC (int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type)
void rdoq_dc_CABAC (int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type)
void rdoq_ac4x4_CAVLC (int **tblock, int block_y, int block_x, int qp_per, int qp_rem, int **levelscale, int **leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type)
void rdoq_ac4x4_CABAC (int **tblock, int block_y, int block_x, int qp_per, int qp_rem, int **levelscale, int **leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type)

Variables

int(* quant_4x4 )(int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int is_calvc)
int(* quant_dc4x4 )(int **tblock, int qp, int *DCLevel, int *DCRun, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_calvc)
int(* quant_ac4x4 )(int **tblock, int block_y, int block_x, int qp, int *ACLevel, int *ACRun, int **fadjust4x4, int **levelscale, int **invlevelscale, int **leveloffset, int *coeff_cost, const byte(*pos_scan)[2], const byte *c_cost, int type, int is_calvc)
void(* rdoq_4x4 )(int **tblock, int block_y, int block_x, int qp_per, int qp_rem, int **levelscale, int **leveloffset, const byte(*pos_scan)[2], int levelTrellis[16])
void(* rdoq_dc )(int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type)
void(* rdoq_ac4x4 )(int **tblock, int block_y, int block_x, int qp_per, int qp_rem, int **levelscale, int **leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type)


Detailed Description

Quantization process header file.

Author:
Limin Liu <lliu@dolby.com> Alexis Michael Tourapis <alexismt@ieee.org>

Alexis Michael Tourapis <alexismt@ieee.org>

Definition in file quant4x4.h.


Function Documentation

void init_quant_4x4 ( InputParameters *  params,
ImageParameters *  img,
Slice *  currSlice 
)

int quant_4x4_around ( int **  tblock,
int  block_y,
int  block_x,
int  qp,
int *  ACLevel,
int *  ACRun,
int **  fadjust4x4,
int **  levelscale,
int **  invlevelscale,
int **  leveloffset,
int *  coeff_cost,
const byte(*)  pos_scan[2],
const byte *  c_cost,
int  is_cavlc 
)

Quantization process for All coefficients for a 4x4 block.

Input:
Output:

Definition at line 44 of file quant4x4_around.c.

References MAX_VALUE, and quant_4x4_around().

Referenced by init_quant_4x4(), and quant_4x4_around().

Here is the call graph for this function:

int quant_4x4_normal ( int **  tblock,
int  block_y,
int  block_x,
int  qp,
int *  ACLevel,
int *  ACRun,
int **  fadjust4x4,
int **  levelscale,
int **  invlevelscale,
int **  leveloffset,
int *  coeff_cost,
const byte(*)  pos_scan[2],
const byte *  c_cost,
int  is_cavlc 
)

Quantization process for All coefficients for a 4x4 block.

Input:
Output:

Definition at line 43 of file quant4x4_normal.c.

References MAX_VALUE, and quant_4x4_normal().

Referenced by init_quant_4x4(), and quant_4x4_normal().

Here is the call graph for this function:

int quant_4x4_trellis ( int **  tblock,
int  block_y,
int  block_x,
int  qp,
int *  ACLevel,
int *  ACRun,
int **  fadjust4x4,
int **  levelscale,
int **  invlevelscale,
int **  leveloffset,
int *  coeff_cost,
const byte(*)  pos_scan[2],
const byte *  c_cost,
int  is_cavlc 
)

Quantization process for All coefficients for a 4x4 block.

Input:
Output:

Definition at line 45 of file quant4x4_trellis.c.

References MAX_VALUE.

Referenced by init_quant_4x4().

int quant_ac4x4_trellis ( int **  tblock,
int  block_y,
int  block_x,
int  qp,
int *  ACLevel,
int *  ACRun,
int **  fadjust4x4,
int **  levelscale,
int **  invlevelscale,
int **  leveloffset,
int *  coeff_cost,
const byte(*)  pos_scan[2],
const byte *  c_cost,
int  type,
int  is_calvc 
)

Quantization process for All coefficients for a 4x4 block (LUMA_16AC or CHROMA_AC).

Input:
Output:

Definition at line 190 of file quant4x4_trellis.c.

References MAX_VALUE.

Referenced by init_quant_4x4(), and init_quant_Chroma().

int quant_dc4x4_around ( int **  tblock,
int  qp,
int *  DCLevel,
int *  DCRun,
int  levelscale,
int  invlevelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  is_calvc 
)

Quantization process for All coefficients for a 4x4 DC block.

Input:
Output:

Definition at line 198 of file quant4x4_around.c.

References quant_dc4x4_around().

Referenced by quant_dc4x4_around().

Here is the call graph for this function:

int quant_dc4x4_normal ( int **  tblock,
int  qp,
int *  DCLevel,
int *  DCRun,
int  levelscale,
int  invlevelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  is_calvc 
)

Quantization process for All coefficients for a 4x4 DC block.

Input:
Output:

Definition at line 185 of file quant4x4_normal.c.

References quant_dc4x4_normal().

Referenced by init_quant_4x4(), and quant_dc4x4_normal().

Here is the call graph for this function:

int quant_dc4x4_trellis ( int **  tblock,
int  qp,
int *  DCLevel,
int *  DCRun,
int  levelscale,
int  invlevelscale,
int  leveloffset,
const byte(*)  pos_scan[2],
int  is_calvc 
)

Quantization process for All coefficients for a 4x4 DC block.

Input:
Output:

Definition at line 335 of file quant4x4_trellis.c.

Referenced by init_quant_4x4().


Documentation generated with DoxyGen