
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) |
Definition in file quant4x4.h.
| void init_quant_4x4 | ( | InputParameters * | params, | |
| ImageParameters * | img, | |||
| Slice * | currSlice | |||
| ) |
Quantization initialization function.
Definition at line 27 of file quant4x4.c.
References ImageParameters::AdaptiveRounding, quant_4x4_around(), quant_4x4_normal(), quant_4x4_trellis(), quant_ac4x4_trellis(), quant_dc4x4_normal(), quant_dc4x4_trellis(), rdoq_4x4_CABAC(), rdoq_4x4_CAVLC(), rdoq_ac4x4_CABAC(), rdoq_ac4x4_CAVLC(), InputParameters::RDOQ_DC, rdoq_dc_CABAC(), rdoq_dc_CAVLC(), Slice::symbol_mode, and InputParameters::UseRDOQuant.
Referenced by encode_one_slice(), and encode_one_slice_MBAFF().

| 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.
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().

| 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.
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().

| 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.
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).
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.
Definition at line 198 of file quant4x4_around.c.
References quant_dc4x4_around().
Referenced by quant_dc4x4_around().

| 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.
Definition at line 185 of file quant4x4_normal.c.
References quant_dc4x4_normal().
Referenced by init_quant_4x4(), and quant_dc4x4_normal().

| 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.
Definition at line 335 of file quant4x4_trellis.c.
Referenced by init_quant_4x4().