00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _QUANT_CR_H_
00017 #define _QUANT_CR_H_
00018
00019 extern void init_quant_Chroma(Slice *currSlice);
00020
00021 extern int quant_dc2x2_normal (Macroblock *currMB, int **tblock, int qp, int* DCLevel, int* DCRun,
00022 LevelQuantParams *q_params_4x4, int **fadjust2x2, const byte (*pos_scan)[2]);
00023
00024 extern int quant_dc2x2_around (Macroblock *currMB, int **tblock, int qp, int* DCLevel, int* DCRun,
00025 LevelQuantParams *q_params_4x4, int **fadjust2x2, const byte (*pos_scan)[2]);
00026
00027 extern int quant_dc2x2_trellis(Macroblock *currMB, int **tblock, int qp, int* DCLevel, int* DCRun,
00028 LevelQuantParams *q_params_4x4, int **fadjust, const byte (*pos_scan)[2]);
00029
00030 extern int quant_dc4x2_normal (Macroblock *currMB, int **tblock, int qp, int* DCLevel, int* DCRun,
00031 LevelQuantParams *q_params_4x4, int **fadjust, const byte (*pos_scan)[2]);
00032
00033 extern int quant_dc4x2_around (Macroblock *currMB, int **tblock, int qp, int* DCLevel, int* DCRun,
00034 LevelQuantParams *q_params_4x4, int **fadjust, const byte (*pos_scan)[2]);
00035
00036 extern int quant_dc4x2_trellis(Macroblock *currMB, int **tblock, int qp, int* DCLevel, int* DCRun,
00037 LevelQuantParams *q_params_4x4, int **fadjust, const byte (*pos_scan)[2]);
00038
00039 extern void rdoq_dc_cr_CAVLC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem,
00040 LevelQuantParams *q_params_4x4,
00041 const byte (*pos_scan)[2], int levelTrellis[16], int type);
00042
00043 extern void rdoq_dc_cr_CABAC (Macroblock *currMB, int **tblock, int qp_per, int qp_rem,
00044 LevelQuantParams *q_params_4x4, const byte (*pos_scan)[2], int levelTrellis[16], int type);
00045
00046 #endif
00047