[Spice-devel] [PATCH] remove unused SAME_PIXEL macro

Christophe Fergeau cfergeau at redhat.com
Wed Aug 26 06:43:34 PDT 2015


ACK.

Christophe

On Fri, Aug 21, 2015 at 10:50:15AM +0100, Frediano Ziglio wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150826/41e39123/attachment.sig>


More information about the Spice-devel mailing list