
Go to the source code of this file.
Defines | |
| #define | Q_BITS 15 |
| #define | DQ_BITS 6 |
| #define | Q_BITS_8 16 |
| #define | DQ_BITS_8 6 |
Functions | |
| void | init_qp_process (ImageParameters *img) |
| void | free_qp_matrices (void) |
| void | AssignQuantParam (pic_parameter_set_rbsp_t *pps, seq_parameter_set_rbsp_t *sps) |
| void | CalculateQuantParam (void) |
| void | CalculateQuant8Param (void) |
Variables | |
| const int | dequant_coef [6][4][4] |
| const int | quant_coef [6][4][4] |
| int | InvLevelScale4x4_Intra [3][6][4][4] |
| int | InvLevelScale4x4_Inter [3][6][4][4] |
| int | InvLevelScale8x8_Intra [3][6][8][8] |
| int | InvLevelScale8x8_Inter [3][6][8][8] |
| int * | qmatrix [12] |
| const int | A [4][4] |
| int * | qp_per_matrix |
| int * | qp_rem_matrix |
Definition in file quant.h.
| void AssignQuantParam | ( | pic_parameter_set_rbsp_t * | pps, | |
| seq_parameter_set_rbsp_t * | sps | |||
| ) |
For mapping the q-matrix to the active id and calculate quantisation values.
| pps | Picture parameter set | |
| sps | Sequence parameter set |
Definition at line 277 of file quant.c.
References CalculateQuant8Param(), CalculateQuantParam(), and YUV444.
Referenced by read_new_slice().

| void CalculateQuant8Param | ( | void | ) |
Calculate the quantisation and inverse quantisation parameters.
Definition at line 435 of file quant.c.
Referenced by AssignQuantParam().
| void CalculateQuantParam | ( | void | ) |
For calculating the quantisation values at frame level.
Definition at line 405 of file quant.c.
References dequant_coef.
Referenced by AssignQuantParam().
| void init_qp_process | ( | ImageParameters * | img | ) |
Initiate quantization process arrays.
Definition at line 234 of file quant.c.
References no_mem_exit().
Referenced by init_frext().

| const int dequant_coef[6][4][4] |
Dequantization coefficients.
Definition at line 91 of file quant.c.
Referenced by CalculateQuantParam(), and itrans_sp().