[Spice-devel] [PATCH] remove unused SAME_PIXEL macro
Frediano Ziglio
fziglio at redhat.com
Fri Aug 21 02:50:15 PDT 2015
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/red_bitmap_utils.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/server/red_bitmap_utils.h b/server/red_bitmap_utils.h
index 6d508a7..1c13ced 100644
--- a/server/red_bitmap_utils.h
+++ b/server/red_bitmap_utils.h
@@ -52,8 +52,6 @@
#define SAMPLE_JUMP 15
-#define SAME_PIXEL(p1, p2) (GET_r(p1) == GET_r(p2) && GET_g(p1) == GET_g(p2) && \
- GET_b(p1) == GET_b(p2))
static const double FNAME(PIX_PAIR_SCORE)[] = {
SAME_PIXEL_WEIGHT,
@@ -148,7 +146,6 @@ static void FNAME(compute_lines_gradual_score)(PIXEL *lines, int width, int num_
#undef PIXEL
#undef FNAME
-#undef SAME_PIXEL
#undef GET_r
#undef GET_g
#undef GET_b
--
2.4.3
More information about the Spice-devel
mailing list