Change default bilinear interpolation precision to 7 bits
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sun, 1 Jul 2012 20:00:34 +0000 (23:00 +0300)
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sun, 1 Jul 2012 20:00:34 +0000 (23:00 +0300)
This improves performance for the current SSE2 code. Further
reduction to 4 bits may be considered later if it proves
to allow additional speedup.

pixman/pixman-private.h

index 22be9a2..0c27798 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 /* bilinear interpolation precision (must be <= 8) */
-#define BILINEAR_INTERPOLATION_BITS 8
+#define BILINEAR_INTERPOLATION_BITS 7
 #define BILINEAR_INTERPOLATION_RANGE (1 << BILINEAR_INTERPOLATION_BITS)
 
 /*