typedef unsigned long long Fx64;
-#define FX64_MOV32(a, b) a = b;
-#define FX64_OR32(a, b) a |= b;
-#define FX64_SHL(a, c) a <<= c;
+#define FX64_MOV32(a, b) a = b
+#define FX64_OR32(a, b) a |= b
+#define FX64_SHL(a, c) a <<= c
#else /* !__GNUC__ */
#endif /* !__GNUC__ */
-#if 0 /* unused */
static int
fxt1_bestcol (float vec[][MAX_COMP], int nv,
return worst;
}
-#endif /* unused */
static int
fxt1_variance (double variance[MAX_COMP],
return best;
}
-#if 0 /* unused */
static int
fxt1_choose (float vec[][MAX_COMP], int nv,
cc[0] = lolo;
}
-#endif /* unused */
static void
fxt1_quantize_ALPHA1 (unsigned long *cc,
((Fx64 *)cc)[1] = hi;
}
-#if 0 /* unused*/
static void
fxt1_quantize_HI (unsigned long *cc,
}
}
-#endif /* unused */
static void
fxt1_quantize_MIXED1 (unsigned long *cc,
}
}
- /* block looks like this:
+ /* block layout:
* 00, 01, 02, 03, 08, 09, 0a, 0b
* 10, 11, 12, 13, 18, 19, 1a, 1b
* 04, 05, 06, 07, 0c, 0d, 0e, 0f
} else {
fxt1_quantize_CHROMA(cc, input);
}
+ (void)fxt1_quantize_ALPHA1;
+ (void)fxt1_quantize_MIXED1;
+ (void)fxt1_quantize_MIXED0;
#else
if (trualpha) {
fxt1_quantize_ALPHA1(cc, input);
} else {
fxt1_quantize_MIXED0(cc, input);
}
+ (void)fxt1_quantize_ALPHA0;
+ (void)fxt1_quantize_HI;
+ (void)fxt1_quantize_CHROMA;
#endif
}