comparison arm/bswap.h @ 744:059c6e697629 libavutil

ARM: use gcc inline asm in bswap.h only when available
author mru
date Wed, 01 Jul 2009 00:55:15 +0000
parents d27f2ec2810b
children 3942cf6cdad3
comparison
equal deleted inserted replaced
743:56349e517f04 744:059c6e697629
38 { 38 {
39 return __rev(x); 39 return __rev(x);
40 } 40 }
41 #endif /* HAVE_ARMV6 */ 41 #endif /* HAVE_ARMV6 */
42 42
43 #else /* __ARMCC_VERSION */ 43 #elif HAVE_INLINE_ASM
44 44
45 #if HAVE_ARMV6 45 #if HAVE_ARMV6
46 #define bswap_16 bswap_16 46 #define bswap_16 bswap_16
47 static av_always_inline av_const uint16_t bswap_16(uint16_t x) 47 static av_always_inline av_const uint16_t bswap_16(uint16_t x)
48 { 48 {