bracketing improvement to #define A1 for clean SunPro build
This commit is contained in:
parent
9e4fa010d1
commit
3a3b79b284
@ -1,3 +1,8 @@
|
||||
2004-12-15 Frank Warmerdam <warmerdam@pobox.com>
|
||||
|
||||
* libtiff/tif_getimage.c: #define A1 bracketing for clean build on
|
||||
SunPro compiler.
|
||||
|
||||
2004-12-11 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||||
|
||||
* autogen.sh: aclocal and autoheader should be executed after
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: tif_getimage.c,v 1.41 2004-10-02 13:29:41 dron Exp $ */
|
||||
/* $Id: tif_getimage.c,v 1.42 2004-12-15 22:40:28 fwarmerdam Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1997 Sam Leffler
|
||||
@ -1004,7 +1004,7 @@ gtStripSeparate(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h)
|
||||
#define SKEW(r,g,b,skew) { r += skew; g += skew; b += skew; }
|
||||
#define SKEW4(r,g,b,a,skew) { r += skew; g += skew; b += skew; a+= skew; }
|
||||
|
||||
#define A1 ((uint32)(0xffL<<24))
|
||||
#define A1 (((uint32)0xffL)<<24)
|
||||
#define PACK(r,g,b) \
|
||||
((uint32)(r)|((uint32)(g)<<8)|((uint32)(b)<<16)|A1)
|
||||
#define PACK4(r,g,b,a) \
|
||||
|
Loading…
Reference in New Issue
Block a user