--- mbprediction.c 2002/07/03 12:32:50 1.7 +++ mbprediction.c 2003/01/04 06:14:33 1.7.2.1 @@ -50,16 +50,13 @@ * * ******************************************************************************/ +#include "../global.h" #include "../encoder.h" #include "mbprediction.h" #include "../utils/mbfunctions.h" #include "../bitstream/cbp.h" -#define ABS(X) (((X)>0)?(X):-(X)) -#define DIV_DIV(A,B) ( (A) > 0 ? ((A)+((B)>>1))/(B) : ((A)-((B)>>1))/(B) ) - - static int __inline rescale(int predict_quant, int current_quant,