Go to the documentation of this file.
24 #ifndef AVUTIL_X86_BSWAP_H
25 #define AVUTIL_X86_BSWAP_H
33 #if !AV_GCC_VERSION_AT_LEAST(4,1)
34 #define av_bswap16 av_bswap16
37 __asm__(
"rorw $8, %w0" :
"+r"(x));
42 #if !AV_GCC_VERSION_AT_LEAST(4,5)
43 #define av_bswap32 av_bswap32
46 __asm__(
"bswap %0" :
"+r" (x));
51 #define av_bswap64 av_bswap64
54 __asm__(
"bswap %0":
"=r" (x) :
"0" (x));