Mercurial > libavcodec.hg
comparison bitstream.h @ 2578:91e094c9dcdc libavcodec
make reverse[] non static
author | michael |
---|---|
date | Sat, 26 Mar 2005 23:50:14 +0000 |
parents | f5fe61bd08ac |
children | 5e24800ab329 |
comparison
equal
deleted
inserted
replaced
2577:7d9997a69158 | 2578:91e094c9dcdc |
---|---|
12 #define ALT_BITSTREAM_READER | 12 #define ALT_BITSTREAM_READER |
13 //#define LIBMPEG2_BITSTREAM_READER | 13 //#define LIBMPEG2_BITSTREAM_READER |
14 //#define A32_BITSTREAM_READER | 14 //#define A32_BITSTREAM_READER |
15 #define LIBMPEG2_BITSTREAM_READER_HACK //add BERO | 15 #define LIBMPEG2_BITSTREAM_READER_HACK //add BERO |
16 | 16 |
17 extern const uint8_t ff_reverse[256]; | |
18 | |
17 #if defined(ARCH_X86) || defined(ARCH_X86_64) | 19 #if defined(ARCH_X86) || defined(ARCH_X86_64) |
18 // avoid +32 for shift optimization (gcc should do that ...) | 20 // avoid +32 for shift optimization (gcc should do that ...) |
19 static inline int32_t NEG_SSR32( int32_t a, int8_t s){ | 21 static inline int32_t NEG_SSR32( int32_t a, int8_t s){ |
20 asm ("sarl %1, %0\n\t" | 22 asm ("sarl %1, %0\n\t" |
21 : "+r" (a) | 23 : "+r" (a) |