prettyprinting cosmetics

Originally committed as revision 11941 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent ad40b15394
commit 27af15dc5c
  1. 6
      libavutil/bswap.h
  2. 9
      libavutil/common.h

@ -67,15 +67,13 @@ static av_always_inline uint32_t bswap_32(uint32_t x)
#endif
"0" (x));
#elif defined(ARCH_SH4)
__asm__(
"swap.b %0,%0\n"
__asm__("swap.b %0,%0\n"
"swap.w %0,%0\n"
"swap.b %0,%0\n"
:"=r"(x):"0"(x));
#elif defined(ARCH_ARM)
uint32_t t;
__asm__ (
"eor %1, %0, %0, ror #16 \n\t"
__asm__ ("eor %1, %0, %0, ror #16 \n\t"
"bic %1, %1, #0xFF0000 \n\t"
"mov %0, %0, ror #8 \n\t"
"eor %0, %0, %1, lsr #8 \n\t"

@ -287,8 +287,7 @@ static inline uint64_t read_time(void)
{
uint64_t a, d;
asm volatile("rdtsc\n\t"
: "=a" (a), "=d" (d)
);
: "=a" (a), "=d" (d));
return (d << 32) | (a & 0xffffffff);
}
#elif defined(ARCH_X86_32)
@ -296,8 +295,7 @@ static inline long long read_time(void)
{
long long l;
asm volatile("rdtsc\n\t"
: "=A" (l)
);
: "=A" (l));
return l;
}
#elif ARCH_BFIN
@ -354,7 +352,8 @@ tend= AV_READ_TIME();\
}else\
tskip_count++;\
if(((tcount+tskip_count)&(tcount+tskip_count-1))==0){\
av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n",\
tsum*10/tcount, id, tcount, tskip_count);\
}\
}
#else

Loading…
Cancel
Save