--- bitstream.h 2002/03/26 11:16:08 1.2 +++ bitstream.h 2002/05/03 00:45:10 1.5 @@ -111,31 +111,18 @@ #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); + uint32_t * quant, uint32_t * fcode_forward, uint32_t * fcode_backward, uint32_t * intra_dc_threshold); void BitstreamWriteVolHeader(Bitstream * const bs, - const MBParam * pParam); - + const MBParam * pParam, + const FRAMEINFO * frame); void BitstreamWriteVopHeader(Bitstream * const bs, - const MBParam * pParam); - + const MBParam * pParam, + const FRAMEINFO * frame); /* initialise bitstream structure */