diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
commit | 8fc0162ac44f3e60798552ca6d19387be95cae4c (patch) | |
tree | 443f7c684a3a8be0e9b70d67a91b8572bfa1ddd2 /libavutil/x86 | |
parent | e6b22522c94cfccda97018e52ab65da8c69d8a56 (diff) | |
download | ffmpeg-streaming-8fc0162ac44f3e60798552ca6d19387be95cae4c.zip ffmpeg-streaming-8fc0162ac44f3e60798552ca6d19387be95cae4c.tar.gz |
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/x86')
-rw-r--r-- | libavutil/x86/bswap.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/x86/bswap.h b/libavutil/x86/bswap.h index 26dc4e2..b6ceb76 100644 --- a/libavutil/x86/bswap.h +++ b/libavutil/x86/bswap.h @@ -28,15 +28,15 @@ #include "config.h" #include "libavutil/attributes.h" -#define bswap_16 bswap_16 -static av_always_inline av_const uint16_t bswap_16(uint16_t x) +#define av_bswap16 av_bswap16 +static av_always_inline av_const uint16_t av_bswap16(uint16_t x) { __asm__("rorw $8, %0" : "+r"(x)); return x; } -#define bswap_32 bswap_32 -static av_always_inline av_const uint32_t bswap_32(uint32_t x) +#define av_bswap32 av_bswap32 +static av_always_inline av_const uint32_t av_bswap32(uint32_t x) { #if HAVE_BSWAP __asm__("bswap %0" : "+r" (x)); @@ -50,8 +50,8 @@ static av_always_inline av_const uint32_t bswap_32(uint32_t x) } #if ARCH_X86_64 -#define bswap_64 bswap_64 -static inline uint64_t av_const bswap_64(uint64_t x) +#define av_bswap64 av_bswap64 +static inline uint64_t av_const av_bswap64(uint64_t x) { __asm__("bswap %0": "=r" (x) : "0" (x)); return x; |