Go to the source code of this file.
Functions | |
void | init_quant_4x4 (Slice *currSlice) |
int | quant_4x4_normal (Macroblock *currMB, int **tblock, struct quant_methods *q_method) |
int | quant_4x4_around (Macroblock *currMB, int **tblock, struct quant_methods *q_method) |
int | quant_4x4_trellis (Macroblock *currMB, int **tblock, struct quant_methods *q_method) |
int | quant_dc4x4_normal (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2]) |
int | quant_dc4x4_around (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2]) |
int | quant_dc4x4_trellis (Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2]) |
int | quant_ac4x4_normal (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type) |
int | quant_ac4x4_around (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type) |
int | quant_ac4x4_trellis (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type) |
void | rdoq_4x4_CAVLC (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int levelTrellis[16]) |
void | rdoq_4x4_CABAC (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int levelTrellis[16]) |
void | rdoq_dc_CAVLC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2], int levelTrellis[16], int type) |
void | rdoq_dc_CABAC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2], int levelTrellis[16], int type) |
void | rdoq_ac4x4_CAVLC (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int levelTrellis[16], int type) |
void | rdoq_ac4x4_CABAC (Macroblock *currMB, int **tblock, struct quant_methods *q_method, int levelTrellis[16], int type) |
Definition in file quant4x4.h.
void init_quant_4x4 | ( | Slice * | currSlice | ) |
Quantization initialization function.
Definition at line 27 of file quant4x4.c.
References img_par::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(), rdoq_dc_CABAC(), and rdoq_dc_CAVLC().
Referenced by encode_one_slice(), and encode_one_slice_MBAFF().
int quant_4x4_around | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method | |||
) |
Quantization process for All coefficients for a 4x4 block.
Definition at line 40 of file quant4x4_around.c.
References MAX_VALUE, macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4().
int quant_4x4_normal | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method | |||
) |
Quantization process for All coefficients for a 4x4 block.
Definition at line 39 of file quant4x4_normal.c.
References MAX_VALUE, macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4().
int quant_4x4_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method | |||
) |
Quantization process for All coefficients for a 4x4 block.
Definition at line 41 of file quant4x4_trellis.c.
References MAX_VALUE, macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4().
int quant_ac4x4_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
struct quant_methods * | q_method, | |||
int | type | |||
) |
Quantization process for All coefficients for a 4x4 block (LUMA_16AC or CHROMA_AC).
Definition at line 208 of file quant4x4_trellis.c.
References MAX_VALUE, macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4(), and init_quant_Chroma().
int quant_dc4x4_around | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp, | |||
int * | DCLevel, | |||
int * | DCRun, | |||
LevelQuantParams * | q_params_4x4, | |||
const byte(*) | pos_scan[2] | |||
) |
Quantization process for All coefficients for a 4x4 DC block.
Definition at line 219 of file quant4x4_around.c.
References macroblock::p_Img, and macroblock::p_slice.
int quant_dc4x4_normal | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp, | |||
int * | DCLevel, | |||
int * | DCRun, | |||
LevelQuantParams * | q_params_4x4, | |||
const byte(*) | pos_scan[2] | |||
) |
Quantization process for All coefficients for a 4x4 DC block.
Definition at line 192 of file quant4x4_normal.c.
References macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4().
int quant_dc4x4_trellis | ( | Macroblock * | currMB, | |
int ** | tblock, | |||
int | qp, | |||
int * | DCLevel, | |||
int * | DCRun, | |||
LevelQuantParams * | q_params_4x4, | |||
const byte(*) | pos_scan[2] | |||
) |
Quantization process for All coefficients for a 4x4 DC block.
Definition at line 374 of file quant4x4_trellis.c.
References macroblock::p_Img, and macroblock::p_slice.
Referenced by init_quant_4x4().