diff options
| author | Mohamed Tarek <mt@rockbox.org> | 2010-07-17 07:46:38 +0000 |
|---|---|---|
| committer | Mohamed Tarek <mt@rockbox.org> | 2010-07-17 07:46:38 +0000 |
| commit | 090768194fdbd611b995572f424c6fae690eb329 (patch) | |
| tree | 13ec87dee0870933c255490e4e93c3d7feadaf02 /apps/codecs/lib/ffmpeg_get_bits.h | |
| parent | 4a4699692270906976a9bc99d4c11f625fd756c6 (diff) | |
| download | rockbox-090768194fdbd611b995572f424c6fae690eb329.zip rockbox-090768194fdbd611b995572f424c6fae690eb329.tar.gz rockbox-090768194fdbd611b995572f424c6fae690eb329.tar.bz2 rockbox-090768194fdbd611b995572f424c6fae690eb329.tar.xz | |
Enable ff_copy_bits in ffmpeg_bitstream.c and put_bits.h and intreadwrite.h to codeclib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27452 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/ffmpeg_get_bits.h')
| -rw-r--r-- | apps/codecs/lib/ffmpeg_get_bits.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/codecs/lib/ffmpeg_get_bits.h b/apps/codecs/lib/ffmpeg_get_bits.h index 1a461e9..8fce395 100644 --- a/apps/codecs/lib/ffmpeg_get_bits.h +++ b/apps/codecs/lib/ffmpeg_get_bits.h @@ -28,6 +28,7 @@ #include <stdint.h> #include <stdlib.h> +#include "ffmpeg_intreadwrite.h" //#include <assert.h> //#include "libavutil/bswap.h" //#include "libavutil/common.h" @@ -56,16 +57,6 @@ #define av_const __attribute__((const)) #define av_always_inline inline __attribute__((always_inline)) -/* Coldfire cpu's support unaligned long reads */ -#ifdef CPU_COLDFIRE -#define AV_RB32(x) (*(const uint32_t*)(x)) -#else -/* The following define is taken from libavutil/intreadwrite.h */ -#define AV_RB32(x) ((((const uint8_t*)(x))[0] << 24) | \ - (((const uint8_t*)(x))[1] << 16) | \ - (((const uint8_t*)(x))[2] << 8) | \ - ((const uint8_t*)(x))[3]) -#endif /* The following is taken from mathops.h */ #ifndef sign_extend |