diff options
author | Dave Chapman <dave@dchapman.com> | 2009-05-09 01:21:49 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-05-09 01:21:49 +0000 |
commit | 67695617a13e9f37f17e3718b03046f6d748a9e1 (patch) | |
tree | 7e8a8b5fb8d4222e3286f3300bcf12ad439424b0 /apps/codecs/libcook/bitstream.h | |
parent | 69db01e72f2de91d35703919bfc9d0700df83e85 (diff) | |
download | rockbox-67695617a13e9f37f17e3718b03046f6d748a9e1.tar.gz rockbox-67695617a13e9f37f17e3718b03046f6d748a9e1.zip |
The first part of Mohamed Tarek's Google Summer of Code work to implement RealAudio support in Rockbox. This is a self-contained Cook decoder using the original ffmpeg (still floating point) decoder and a new RM parser started by me in 2008 and continued by MT over the past few months. This is the equivalent of libcook.patch1 from FS#10182, but with further cleaning by both MT and me to minimise the differences to the original ffmpeg files. See README.rockbox for more details.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20883 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/bitstream.h')
-rw-r--r-- | apps/codecs/libcook/bitstream.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/libcook/bitstream.h b/apps/codecs/libcook/bitstream.h index 3670285904..e3e3d77595 100644 --- a/apps/codecs/libcook/bitstream.h +++ b/apps/codecs/libcook/bitstream.h | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "libavutil/common.h" | 33 | #include "libavutil/common.h" |
34 | #include "libavutil/intreadwrite.h" | 34 | #include "libavutil/intreadwrite.h" |
35 | #include "libavutil/log.h" | 35 | #include "libavutil/log.h" |
36 | #include "mathops.h" | 36 | //#include "mathops.h" |
37 | 37 | ||
38 | #if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER) | 38 | #if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER) |
39 | # define ALT_BITSTREAM_READER | 39 | # define ALT_BITSTREAM_READER |
@@ -707,12 +707,14 @@ static inline unsigned int get_bits_long(GetBitContext *s, int n){ | |||
707 | } | 707 | } |
708 | } | 708 | } |
709 | 709 | ||
710 | #if 0 | ||
710 | /** | 711 | /** |
711 | * reads 0-32 bits as a signed integer. | 712 | * reads 0-32 bits as a signed integer. |
712 | */ | 713 | */ |
713 | static inline int get_sbits_long(GetBitContext *s, int n) { | 714 | static inline int get_sbits_long(GetBitContext *s, int n) { |
714 | return sign_extend(get_bits_long(s, n), n); | 715 | return sign_extend(get_bits_long(s, n), n); |
715 | } | 716 | } |
717 | #endif | ||
716 | 718 | ||
717 | /** | 719 | /** |
718 | * shows 0-32 bits. | 720 | * shows 0-32 bits. |