#include "contributors.h"
#include <math.h>
#include "global.h"
#include "q_matrix.h"
#include "quant4x4.h"
#include "quantChroma.h"
#include "rdoq.h"

Go to the source code of this file.
Functions | |
| 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_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[], 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[], int type) |
Definition in file quantChroma_trellis.c.
| 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_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().
| void rdoq_dc_cr_CABAC | ( | int ** | tblock, | |
| int | qp_per, | |||
| int | qp_rem, | |||
| int | levelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | levelTrellis[], | |||
| int | type | |||
| ) |
Rate distortion optimized Quantization process for all coefficients in a chroma DC block.
Definition at line 210 of file quantChroma_trellis.c.
References ImageParameters::current_mb_nr, est_write_and_store_CBP_block_bit(), est_writeRunLevel_CABAC(), init_trellis_data_DC_cr_CABAC(), ImageParameters::lambda_md, ImageParameters::masterQP, ImageParameters::mb_data, ImageParameters::nal_reference_idc, and ImageParameters::type.
Referenced by init_quant_Chroma().

| void rdoq_dc_cr_CAVLC | ( | int ** | tblock, | |
| int | qp_per, | |||
| int | qp_rem, | |||
| int | levelscale, | |||
| int | leveloffset, | |||
| const byte(*) | pos_scan[2], | |||
| int | levelTrellis[], | |||
| int | type | |||
| ) |
Rate distortion optimized Quantization process for all coefficients in a chroma DC block.
Definition at line 182 of file quantChroma_trellis.c.
References ImageParameters::current_mb_nr, est_RunLevel_CAVLC(), init_trellis_data_DC_cr_CAVLC(), ImageParameters::lambda_md, ImageParameters::masterQP, ImageParameters::mb_data, ImageParameters::nal_reference_idc, ImageParameters::num_cdc_coeff, and ImageParameters::type.
Referenced by init_quant_Chroma().
