--- branches/dev-api-3/xvidcore/src/utils/mbfunctions.h 2002/09/25 16:51:47 537 +++ branches/dev-api-3/xvidcore/src/utils/mbfunctions.h 2002/09/25 16:54:32 538 @@ -169,6 +169,16 @@ uint32_t MBDecideFieldDCT(int16_t data[6 * 64]); /* <- decide whether to use field-based DCT for interlacing */ +typedef uint32_t (MBFIELDTEST) (int16_t data[6 * 64]); /* function pointer for field test */ +typedef MBFIELDTEST *MBFIELDTEST_PTR; + +/* global field test pointer for xvid.c */ +extern MBFIELDTEST_PTR MBFieldTest; + +/* field test implementations */ +MBFIELDTEST MBFieldTest_c; +MBFIELDTEST MBFieldTest_mmx; + void MBFrameToField(int16_t data[6 * 64]); /* de-interlace vertical Y blocks */