--- branches/dev-api-3/xvidcore/src/prediction/mbprediction.c 2003/01/04 04:28:48 759 +++ branches/dev-api-3/xvidcore/src/prediction/mbprediction.c 2003/01/04 06:14:33 760 @@ -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,