Go to the documentation of this file.
19 #ifndef AVUTIL_AARCH64_BSWAP_H
20 #define AVUTIL_AARCH64_BSWAP_H
28 #define av_bswap16 av_bswap16
31 __asm__(
"rev16 %w0, %w0" :
"+r"(x));
35 #define av_bswap32 av_bswap32
38 __asm__(
"rev %w0, %w0" :
"+r"(x));
42 #define av_bswap64 av_bswap64
45 __asm__(
"rev %0, %0" :
"+r"(x));