
Go to the source code of this file.
Functions | |
| void | init_quant_Chroma (InputParameters *params, ImageParameters *img, Slice *currSlice) |
| int | quant_dc2x2_normal (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust2x2, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| int | quant_dc2x2_around (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust2x2, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| int | quant_dc2x2_trellis (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| int | quant_dc4x2_normal (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| int | quant_dc4x2_around (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| int | quant_dc4x2_trellis (int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| void | rdoq_dc_cr_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_cr_CABAC (int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type) |
Variables | |
| int(* | quant_4x4cr )(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) |
| int(* | quant_dc_cr )(int **tblock, int qp, int *DCLevel, int *DCRun, int **fadjust, int levelscale, int invlevelscale, int leveloffset, const byte(*pos_scan)[2], int is_cavlc) |
| int(* | quant_ac4x4cr )(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_cavlc) |
| void(* | rdoq_dc_cr )(int **tblock, int qp_per, int qp_rem, int levelscale, int leveloffset, const byte(*pos_scan)[2], int levelTrellis[16], int type) |
Definition in file quantChroma.h.
| void init_quant_Chroma | ( | InputParameters * | params, | |
| ImageParameters * | img, | |||
| Slice * | currSlice | |||
| ) |
Quantization initialization function.
Definition at line 29 of file quantChroma.c.
References ImageParameters::AdaptiveRounding, quant_ac4x4_trellis(), quant_dc2x2_around(), quant_dc2x2_normal(), quant_dc2x2_trellis(), quant_dc4x2_around(), quant_dc4x2_normal(), quant_dc4x2_trellis(), InputParameters::RDOQ_CR, InputParameters::RDOQ_DC_CR, rdoq_dc_cr_CABAC(), rdoq_dc_cr_CAVLC(), Slice::symbol_mode, InputParameters::UseRDOQuant, YUV422, and ImageParameters::yuv_format.
Referenced by encode_one_slice(), and encode_one_slice_MBAFF().

| int quant_dc2x2_around | ( | int ** | tblock, | |
| int | qp, | |||
| int * | DCLevel, | |||
| int * | DCRun, | |||
| int ** | fadjust, | |||
| int | levelscale, | |||
| int | invlevelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | is_cavlc | |||
| ) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 37 of file quantChroma_around.c.
Referenced by init_quant_Chroma().
| int quant_dc2x2_normal | ( | int ** | tblock, | |
| int | qp, | |||
| int * | DCLevel, | |||
| int * | DCRun, | |||
| int ** | fadjust, | |||
| int | levelscale, | |||
| int | invlevelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | is_cavlc | |||
| ) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 37 of file quantChroma_normal.c.
Referenced by init_quant_Chroma().
| int quant_dc2x2_trellis | ( | int ** | tblock, | |
| int | qp, | |||
| int * | DCLevel, | |||
| int * | DCRun, | |||
| int ** | fadjust, | |||
| int | levelscale, | |||
| int | invlevelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | is_cavlc | |||
| ) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 37 of file quantChroma_trellis.c.
Referenced by init_quant_Chroma().
| int quant_dc4x2_around | ( | int ** | tblock, | |
| int | qp, | |||
| int * | DCLevel, | |||
| int * | DCRun, | |||
| int ** | fadjust, | |||
| int | levelscale, | |||
| int | invlevelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | is_cavlc | |||
| ) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 110 of file quantChroma_around.c.
Referenced by init_quant_Chroma().
| int quant_dc4x2_normal | ( | int ** | tblock, | |
| int | qp, | |||
| int * | DCLevel, | |||
| int * | DCRun, | |||
| int ** | fadjust, | |||
| int | levelscale, | |||
| int | invlevelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | is_cavlc | |||
| ) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 109 of file quantChroma_normal.c.
Referenced by init_quant_Chroma().
| int quant_dc4x2_trellis | ( | int ** | tblock, | |
| int | qp, | |||
| int * | DCLevel, | |||
| int * | DCRun, | |||
| int ** | fadjust, | |||
| int | levelscale, | |||
| int | invlevelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | is_cavlc | |||
| ) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 112 of file quantChroma_trellis.c.
Referenced by init_quant_Chroma().