--- trunk/xvidcore/src/global.h 2002/03/08 02:46:11 3 +++ trunk/xvidcore/src/global.h 2002/04/05 14:40:36 101 @@ -1,6 +1,7 @@ #ifndef _GLOBAL_H_ #define _GLOBAL_H_ +#include "xvid.h" #include "portab.h" /* --- macroblock stuff --- */ @@ -15,9 +16,15 @@ typedef struct { - int x; - int y; -} VECTOR; + uint32_t bufa; + uint32_t bufb; + uint32_t buf; + uint32_t pos; + uint32_t *tail; + uint32_t *start; + uint32_t length; +} +Bitstream; #define MBPRED_SIZE 15 @@ -36,6 +43,11 @@ int mode; int quant; // absolute quant + int field_dct; + int field_pred; + int field_for_top; + int field_for_bot; + // encoder specific VECTOR pmvs[4]; @@ -76,4 +88,4 @@ return dc_scaler; } -#endif /* _GLOBAL_H_ */ \ No newline at end of file +#endif /* _GLOBAL_H_ */