Changeset 1261 for trunk/psLib/src/image/psImage.h
- Timestamp:
- Jul 22, 2004, 10:09:04 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImage.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.h
r1205 r1261 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-07- 09 21:48:07$13 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-07-22 20:09:04 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 /// @addtogroup Image 26 26 /// @{ 27 28 typedef enum { 29 PS_INTERPOLATE_FLAT, 30 PS_INTERPOLATE_BILINEAR 31 } psImageInterpolateMode; 27 32 28 33 /** Basic image data structure. … … 137 142 ); 138 143 144 psF32 psImagePixelInterpolate( 145 const psImage *input, 146 float x, 147 float y, 148 psF32 unexposedValue, 149 psImageInterpolateMode mode 150 ); 151 152 #define p_psImagePixelInterpolateFcns(TYPE) \ 153 inline psF64 p_psImagePixelInterpolateFLAT_##TYPE( \ 154 const psImage *input, \ 155 float x, \ 156 float y, \ 157 psF64 unexposedValue \ 158 ); \ 159 inline psF64 p_psImagePixelInterpolateBILINEAR_##TYPE( \ 160 const psImage *input, \ 161 float x, \ 162 float y, \ 163 psF64 unexposedValue \ 164 ); 165 166 #define p_psImagePixelInterpolateComplexFcns(TYPE) \ 167 inline psC64 p_psImagePixelInterpolateFLAT_##TYPE( \ 168 const psImage *input, \ 169 float x, \ 170 float y, \ 171 psC64 unexposedValue \ 172 ); \ 173 inline psC64 p_psImagePixelInterpolateBILINEAR_##TYPE( \ 174 const psImage *input, \ 175 float x, \ 176 float y, \ 177 psC64 unexposedValue \ 178 ); 179 180 p_psImagePixelInterpolateFcns(U8) 181 p_psImagePixelInterpolateFcns(U16) 182 p_psImagePixelInterpolateFcns(U32) 183 p_psImagePixelInterpolateFcns(U64) 184 p_psImagePixelInterpolateFcns(S8) 185 p_psImagePixelInterpolateFcns(S16) 186 p_psImagePixelInterpolateFcns(S32) 187 p_psImagePixelInterpolateFcns(S64) 188 p_psImagePixelInterpolateFcns(F32) 189 p_psImagePixelInterpolateFcns(F64) 190 p_psImagePixelInterpolateComplexFcns(C32) 191 p_psImagePixelInterpolateComplexFcns(C64) 192 139 193 /// @} 140 194
Note:
See TracChangeset
for help on using the changeset viewer.
