]> git.sesse.net Git - fjl/blobdiff - idct_imprecise_int.c
Add an x86 optimized version of extend().
[fjl] / idct_imprecise_int.c
index 6dd698349eda339989b86e57994639fa5a5bf750..7048a66c9c2a4ecf221c0d2d2628fa19fcf0bfec 100644 (file)
@@ -14,7 +14,7 @@ struct idct_imprecise_int_userdata {
 };
 
 #define PRECISION 12
-#define ROUND_BIAS (1LL << (PRECISION - 1))
+#define ROUND_BIAS (257LL << (PRECISION - 1))
 
 #define FIX(x) ((int32_t)((x) * (1LL << PRECISION) + 0.5))