--- bitstream.h 2003/11/19 15:42:38 1.17.2.7 +++ bitstream.h 2005/05/23 09:29:43 1.22 @@ -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.7 2003/11/19 15:42:38 syskin Exp $ + * $Id: bitstream.h,v 1.22 2005/05/23 09:29:43 Skal Exp $ * ****************************************************************************/ @@ -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,17 +136,31 @@ 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 quant); + unsigned int quant); void BitstreamWriteUserData(Bitstream * const bs, - uint8_t * data, - const int length); + const char *data, + const unsigned int length); + +void +BitstreamWriteEndOfSequence(Bitstream * const bs); + +void +BitstreamWriteGroupOfVopHeader(Bitstream * const bs, + const MBParam * pParam, + uint32_t is_closed_gov); + +void write_video_packet_header(Bitstream * const bs, + const MBParam * pParam, + const FRAMEINFO * const frame, + int mbnum); /* initialise bitstream structure */