Mercurial > libavcodec.hg
comparison bitstream.h @ 8359:9281a8a9387a libavcodec
ARM: replace "armv4l" with "arm"
author | mru |
---|---|
date | Wed, 17 Dec 2008 00:54:54 +0000 |
parents | eebc7209c47f |
children | 2c7e8fe5fc6a |
comparison
equal
deleted
inserted
replaced
8358:c30b92cf446b | 8359:9281a8a9387a |
---|---|
39 #endif | 39 #endif |
40 | 40 |
41 //#define ALT_BITSTREAM_WRITER | 41 //#define ALT_BITSTREAM_WRITER |
42 //#define ALIGNED_BITSTREAM_WRITER | 42 //#define ALIGNED_BITSTREAM_WRITER |
43 #if !defined(LIBMPEG2_BITSTREAM_READER) && !defined(A32_BITSTREAM_READER) && !defined(ALT_BITSTREAM_READER) | 43 #if !defined(LIBMPEG2_BITSTREAM_READER) && !defined(A32_BITSTREAM_READER) && !defined(ALT_BITSTREAM_READER) |
44 # ifdef ARCH_ARMV4L | 44 # ifdef ARCH_ARM |
45 # define A32_BITSTREAM_READER | 45 # define A32_BITSTREAM_READER |
46 # else | 46 # else |
47 # define ALT_BITSTREAM_READER | 47 # define ALT_BITSTREAM_READER |
48 //#define LIBMPEG2_BITSTREAM_READER | 48 //#define LIBMPEG2_BITSTREAM_READER |
49 //#define A32_BITSTREAM_READER | 49 //#define A32_BITSTREAM_READER |
177 int16_t level; | 177 int16_t level; |
178 int8_t len; | 178 int8_t len; |
179 uint8_t run; | 179 uint8_t run; |
180 } RL_VLC_ELEM; | 180 } RL_VLC_ELEM; |
181 | 181 |
182 #if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS) || defined(ARCH_BFIN) | 182 #if defined(ARCH_SPARC) || defined(ARCH_ARM) || defined(ARCH_MIPS) || defined(ARCH_BFIN) |
183 #define UNALIGNED_STORES_ARE_BAD | 183 #define UNALIGNED_STORES_ARE_BAD |
184 #endif | 184 #endif |
185 | 185 |
186 #ifndef ALT_BITSTREAM_WRITER | 186 #ifndef ALT_BITSTREAM_WRITER |
187 static inline void put_bits(PutBitContext *s, int n, unsigned int value) | 187 static inline void put_bits(PutBitContext *s, int n, unsigned int value) |