swscale: reindent h[cy]scale_fast() and updateDitherTables().

pull/2/head
Ronald S. Bultje 14 years ago
parent e2bad983b5
commit 836b82e3c9
  1. 7
      libswscale/x86/swscale_template.c

@ -2029,7 +2029,6 @@ static inline void RENAME(hyscale_fast)(SwsContext *c, int16_t *dst,
PREFETCH" 64(%%"REG_c") \n\t"
#if ARCH_X86_64
#define CALL_MMX2_FILTER_CODE \
"movl (%%"REG_b"), %%esi \n\t"\
"call *%4 \n\t"\
@ -2039,7 +2038,6 @@ static inline void RENAME(hyscale_fast)(SwsContext *c, int16_t *dst,
"xor %%"REG_a", %%"REG_a" \n\t"\
#else
#define CALL_MMX2_FILTER_CODE \
"movl (%%"REG_b"), %%esi \n\t"\
"call *%4 \n\t"\
@ -2071,7 +2069,9 @@ static inline void RENAME(hyscale_fast)(SwsContext *c, int16_t *dst,
,"%"REG_b
#endif
);
for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) dst[i] = src[srcW-1]*128;
for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--)
dst[i] = src[srcW-1]*128;
}
static inline void RENAME(hcscale_fast)(SwsContext *c, int16_t *dst,
@ -2131,6 +2131,7 @@ static inline void RENAME(hcscale_fast)(SwsContext *c, int16_t *dst,
,"%"REG_b
#endif
);
for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) {
dst[i] = src1[srcW-1]*128;
dst[i+VOFW] = src2[srcW-1]*128;

Loading…
Cancel
Save