--- branches/dev-api-3/xvidcore/src/image/reduced.h 2002/12/09 10:47:05 701 +++ branches/dev-api-3/xvidcore/src/image/reduced.h 2002/12/10 11:13:50 702 @@ -43,4 +43,8 @@ extern FILTER_DIFF_18X18_TO_8X8 xvid_Filter_Diff_18x18_To_8x8_C; extern FILTER_DIFF_18X18_TO_8X8 xvid_Filter_Diff_18x18_To_8x8_mmx; + +/* rrv motion vector scale-up */ +#define RRV_MV_SCALEUP(a) ( (a)>0 ? 2*(a)-1 : (a)<0 ? 2*(a)+1 : (a) ) + #endif /* _REDUCED_H_ */