2 * Copyright (C) 2009, 2010 by Nils Faerber <nils.faerber@kernelconcepts.de>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
14 unsigned int bitstream_get_bits(unsigned char *data, unsigned int bitOffset, unsigned int numBits);
16 unsigned int bitstream_get_next_bits(unsigned int nbits);
18 int bitstream_bits_remaining(void);
20 void bitstream_start(unsigned char *buf, unsigned int len);