--- trunk/xvidcore/src/bitstream/bitstream.h 2002/03/08 02:46:11 3 +++ trunk/xvidcore/src/bitstream/bitstream.h 2002/04/05 14:40:36 101 @@ -41,6 +41,7 @@ * * * Revision history: * * * + * 26.03.2002 interlacing support - modified putvol/vopheaders paramters * 04.03.2002 putbits speedup (Isibaar) * * 03.03.2002 merged BITREADER and BITWRITER (Isibaar) * * 16.12.2001 inital version * @@ -110,35 +111,17 @@ #define N_VOP 4 -typedef struct -{ - uint32_t bufa; - uint32_t bufb; - uint32_t buf; - uint32_t pos; - uint32_t *tail; - uint32_t *start; - uint32_t length; -} -Bitstream; - - // header stuff int BitstreamReadHeaders(Bitstream * bs, DECODER * dec, uint32_t * rounding, uint32_t * quant, uint32_t * fcode, uint32_t * intra_dc_threshold); void BitstreamWriteVolHeader(Bitstream * const bs, - const int width, - const int height, - const int quant_type); + const MBParam * pParam); void BitstreamWriteVopHeader(Bitstream * const bs, - VOP_TYPE prediction_type, - const int rounding_type, - const uint32_t quant, - const uint32_t fcode); + const MBParam * pParam); /* initialise bitstream structure */