diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-05-02 15:21:41 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-05-02 15:21:41 +0000 |
commit | 6259689f2573ab5e1d70b4cbc78533a0da35be88 (patch) | |
tree | 1828ea2aea8cf497934311c28e0d41471cc02180 | |
parent | d3f256aa28729926bc19126eaa44c52c4a3c4af2 (diff) | |
download | netpbm-mirror-6259689f2573ab5e1d70b4cbc78533a0da35be88.tar.gz netpbm-mirror-6259689f2573ab5e1d70b4cbc78533a0da35be88.tar.xz netpbm-mirror-6259689f2573ab5e1d70b4cbc78533a0da35be88.zip |
Remove vestigial macro definitions
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1485 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | converter/other/srf.h | 10 |
1 files changed, 0 insertions, 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; |