From 6259689f2573ab5e1d70b4cbc78533a0da35be88 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 2 May 2011 15:21:41 +0000 Subject: Remove vestigial macro definitions git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1485 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/srf.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/converter/other/srf.h b/converter/other/srf.h index 9214bd16..1821f305 100644 --- a/converter/other/srf.h +++ b/converter/other/srf.h @@ -96,10 +96,6 @@ struct srf_img_header { #define SRF_ALPHA_OPAQUE 0 #define SRF_ALPHA_TRANS 128 -#define SRF_TOPAM_A(d) srf_alpha_srftopam((uint8_t)(d)) - -#define SRF_FROMPAM_A(d) srf_alpha_pamtosrf((uint8_t)(d)) - struct srf_img_alpha { uint32_t type; @@ -115,12 +111,6 @@ struct srf_img_alpha { width*height*2 bytes - RBG values as "rrrrrggggg0bbbbb" bits (across, then down) */ -#define SRF_TOPAM_R(d) ((((d) >> 11) & 0x1f) << 3) -#define SRF_TOPAM_G(d) ((((d) >> 6) & 0x1f) << 3) -#define SRF_TOPAM_B(d) ((((d) >> 0) & 0x1f) << 3) - - - struct srf_img_data { uint32_t type; -- cgit 1.4.1