--- bitstream.h 2003/06/09 13:51:46 1.17.2.5 +++ bitstream.h 2004/12/05 13:56:13 1.20 @@ -19,7 +19,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: bitstream.h,v 1.17.2.5 2003/06/09 13:51:46 edgomez Exp $ + * $Id: bitstream.h,v 1.20 2004/12/05 13:56:13 syskin Exp $ * ****************************************************************************/ @@ -116,10 +116,10 @@ * Prototypes ****************************************************************************/ -int read_video_packet_header(Bitstream *bs, - DECODER * dec, - const int addbits, - int *quant, +int read_video_packet_header(Bitstream *bs, + DECODER * dec, + const int addbits, + int *quant, int *fcode_forward, int *fcode_backward, int *intra_dc_threshold); @@ -128,7 +128,6 @@ int BitstreamReadHeaders(Bitstream * bs, DECODER * dec, uint32_t * rounding, - uint32_t * reduced_resolution, uint32_t * quant, uint32_t * fcode_forward, uint32_t * fcode_backward, @@ -137,15 +136,17 @@ void BitstreamWriteVolHeader(Bitstream * const bs, - const MBParam * pParam); + const MBParam * pParam, + const FRAMEINFO * const frame); void BitstreamWriteVopHeader(Bitstream * const bs, const MBParam * pParam, const FRAMEINFO * const frame, - int vop_coded); + int vop_coded, + unsigned int quant); -void BitstreamWriteUserData(Bitstream * const bs, - uint8_t * data, +void BitstreamWriteUserData(Bitstream * const bs, + uint8_t * data, const int length); /* initialise bitstream structure */ @@ -253,7 +254,7 @@ /* number of bits to next byte alignment */ -static __inline uint32_t +static __inline uint32_t BitstreamNumBitsToByteAlign(Bitstream *bs) { uint32_t n = (32 - bs->pos) % 8; @@ -440,7 +441,7 @@ /* - * pad bitstream to the next byte boundary + * pad bitstream to the next byte boundary * alway pad: even if currently at the byte boundary */