comparison get_bits.h @ 10501:bdf4a9ca162a libavcodec

Move ff_reverse in libavcodec to av_reverse in libavutil. Patch by Francesco Lavra, francescolavra interfree it
author cehoyos
date Mon, 09 Nov 2009 09:11:35 +0000
parents fd9dfd5aa5e9
children 9f16f997c41b
comparison
equal deleted inserted replaced
10500:6d653bb57c58 10501:bdf4a9ca162a
47 //#define LIBMPEG2_BITSTREAM_READER 47 //#define LIBMPEG2_BITSTREAM_READER
48 //#define A32_BITSTREAM_READER 48 //#define A32_BITSTREAM_READER
49 # endif 49 # endif
50 #endif 50 #endif
51 51
52 extern const uint8_t ff_reverse[256];
53
54 #if ARCH_X86 52 #if ARCH_X86
55 // avoid +32 for shift optimization (gcc should do that ...) 53 // avoid +32 for shift optimization (gcc should do that ...)
56 static inline int32_t NEG_SSR32( int32_t a, int8_t s){ 54 static inline int32_t NEG_SSR32( int32_t a, int8_t s){
57 __asm__ ("sarl %1, %0\n\t" 55 __asm__ ("sarl %1, %0\n\t"
58 : "+r" (a) 56 : "+r" (a)