diff options
| author | Mohamed Tarek <mt@rockbox.org> | 2010-07-15 05:38:09 +0000 |
|---|---|---|
| committer | Mohamed Tarek <mt@rockbox.org> | 2010-07-15 05:38:09 +0000 |
| commit | 387af97a26105fce79e6a8726752cf183d40939e (patch) | |
| tree | 25c7898bbf08963b9c7688c8937061b4b3491dec /apps/codecs/libwmapro/put_bits.h | |
| parent | 5d2969c94e97c81e3eb88211b921be80b66bd691 (diff) | |
| download | rockbox-387af97a26105fce79e6a8726752cf183d40939e.zip rockbox-387af97a26105fce79e6a8726752cf183d40939e.tar.gz rockbox-387af97a26105fce79e6a8726752cf183d40939e.tar.bz2 rockbox-387af97a26105fce79e6a8726752cf183d40939e.tar.xz | |
Initial cleanup for libwmapro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27425 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/put_bits.h')
| -rw-r--r-- | apps/codecs/libwmapro/put_bits.h | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/apps/codecs/libwmapro/put_bits.h b/apps/codecs/libwmapro/put_bits.h index 91401ff..a3c458b 100644 --- a/apps/codecs/libwmapro/put_bits.h +++ b/apps/codecs/libwmapro/put_bits.h @@ -30,10 +30,11 @@ #include <stdlib.h> //#include <assert.h> #include "libavutil/bswap.h" -#include "libavutil/common.h" -#include "libavutil/intreadwrite.h" -#include "libavutil/log.h" -#include "mathops.h" +//#include "libavutil/common.h" +//#include "libavutil/intreadwrite.h" +//#include "libavutil/log.h" + +#define av_log(...) //#define ALT_BITSTREAM_WRITER //#define ALIGNED_BITSTREAM_WRITER @@ -270,22 +271,6 @@ static inline void put_sbits(PutBitContext *pb, int n, int32_t value) } /** - * Writes exactly 32 bits into a bitstream. - */ -static void av_unused put_bits32(PutBitContext *s, uint32_t value) -{ - int lo = value & 0xffff; - int hi = value >> 16; -#ifdef BITSTREAM_WRITER_LE - put_bits(s, 16, lo); - put_bits(s, 16, hi); -#else - put_bits(s, 16, hi); - put_bits(s, 16, lo); -#endif -} - -/** * Returns the pointer to the byte where the bitstream writer will put * the next bit. */ |