00001 00014 #ifndef _QUANT_PARAMS_H_ 00015 #define _QUANT_PARAMS_H_ 00016 00017 struct level_quant_params { 00018 int OffsetComp; 00019 int ScaleComp; 00020 int InvScaleComp; 00021 }; 00022 00023 typedef struct level_quant_params LevelQuantParams; 00024 00025 struct quant_params { 00026 int AdaptRndWeight; 00027 int AdaptRndCrWeight; 00028 00029 LevelQuantParams *****q_params_4x4; 00030 LevelQuantParams *****q_params_8x8; 00031 00032 int *qp_per_matrix; 00033 int *qp_rem_matrix; 00034 00035 short **OffsetList4x4input; 00036 short **OffsetList8x8input; 00037 short ***OffsetList4x4; 00038 short ***OffsetList8x8; 00039 }; 00040 00041 struct quant_methods { 00042 int block_y; 00043 int block_x; 00044 int qp; 00045 int* ACLevel; 00046 int* ACRun; 00047 int **fadjust; 00048 LevelQuantParams **q_params; 00049 int *coeff_cost; 00050 const byte (*pos_scan)[2]; 00051 const byte *c_cost; 00052 }; 00053 00054 #endif 00055