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

pull/2/head
Ronald S. Bultje 14 years ago committed by Michael Niedermayer
parent c3f07903ec
commit fc72ec727e
  1. 7
      libswscale/x86/swscale_template.c

@ -2184,7 +2184,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"\
@ -2194,7 +2193,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"\
@ -2226,7 +2224,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,
@ -2286,6 +2286,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