#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 (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, int **fadjust, const byte(*pos_scan)[2]) |
int | quant_dc4x2_trellis (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, int **fadjust, const byte(*pos_scan)[2]) |
void | rdoq_dc_cr_CAVLC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2], int levelTrellis[], int type) |
void | rdoq_dc_cr_CABAC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2], int levelTrellis[], int type) |
Definition in file quantChroma_trellis.c.
int quant_dc2x2_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp, | |||
int * | DCLevel, | |||
int * | DCRun, | |||
LevelQuantParams * | q_params_4x4, | |||
int ** | fadjust, | |||
const byte(*) | pos_scan[2] | |||
) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 37 of file quantChroma_trellis.c.
References macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_Chroma().
int quant_dc4x2_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp, | |||
int * | DCLevel, | |||
int * | DCRun, | |||
LevelQuantParams * | q_params_4x4, | |||
int ** | fadjust, | |||
const byte(*) | pos_scan[2] | |||
) |
Quantization process for All coefficients for a 2x2 DC block.
Definition at line 114 of file quantChroma_trellis.c.
References macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_Chroma().
void rdoq_dc_cr_CABAC | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp_per, | |||
int | qp_rem, | |||
LevelQuantParams * | q_params_4x4, | |||
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 215 of file quantChroma_trellis.c.
References est_write_and_store_CBP_block_bit(), est_writeRunLevel_CABAC(), init_trellis_data_DC_cr_CABAC(), img_par::lambda_md, img_par::masterQP, and macroblock::p_Img.
Referenced by init_quant_Chroma().
void rdoq_dc_cr_CAVLC | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp_per, | |||
int | qp_rem, | |||
LevelQuantParams * | q_params_4x4, | |||
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 186 of file quantChroma_trellis.c.
References est_RunLevel_CAVLC(), init_trellis_data_DC_cr_CAVLC(), img_par::lambda_md, img_par::masterQP, and macroblock::p_Img.
Referenced by init_quant_Chroma().