Changeset 21077
- Timestamp:
- Jan 1, 2009, 7:10:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psLib/src/sys/psType.h
r21074 r21077 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.62.42. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 200 8-12-30 20:40:00$12 * @version $Revision: 1.62.42.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2009-01-02 05:10:39 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 146 146 #define PS_TYPE_MASK_NAME "psU8" /**< the data type for mask as a string */ 147 147 typedef psU8 psMaskType; ///< the C datatype for a mask image 148 #define PS_NOT_MASK(A)(UINT8_MAX-(A)) 149 150 // alternate versions if needed 151 // #define PS_NOT_MASK(A)(UINT16_MAX-(A)) 152 // #define PS_NOT_MASK(A)(UINT32_MAX-(A)) 153 // #define PS_NOT_MASK(A)(UINT64_MAX-(A)) 148 154 149 155 // macros to abstract the vector mask type : these values must be consistent … … 152 158 #define PS_TYPE_VECTOR_MASK_NAME "psU8" /**< the data type for mask as a string */ 153 159 typedef psU8 psVectorMaskType; ///< the C datatype for a mask image 160 #define PS_NOT_VECTOR_MASK(A)(UINT8_MAX-(A)) 154 161 155 162 // macros to abstract the image mask type : these values must be consistent … … 158 165 #define PS_TYPE_IMAGE_MASK_NAME "psU8" /**< the data type for mask as a string */ 159 166 typedef psU8 psImageMaskType; ///< the C datatype for a mask image 167 #define PS_NOT_IMAGE_MASK(A)(UINT8_MAX-(A)) 160 168 161 169 #define PS_MIN_S8 INT8_MIN /**< minimum valid psS8 value */
Note:
See TracChangeset
for help on using the changeset viewer.
