- Timestamp:
- Sep 18, 2012, 6:10:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/psLib/src/imageops/psImagePixelManip.c
r12953 r34449 222 222 ps##DATATYPE* overlayRow = overlay->data.DATATYPE[row-y0]; \ 223 223 for (int col=x0;col<imageColLimit;col++) { \ 224 if (isfinite(overlayRow[col - x0])) { \ 224 225 imageRow[col] OP overlayRow[col-x0]; \ 226 } \ 225 227 } \ 226 228 } \ … … 248 250 // a drawback? We fall back on the loop if we have to change types. 249 251 #define psImageOverlaySetLoop(DATATYPE) { \ 250 if (image->type.type == overlay->type.type) { \252 if (0) { \ 251 253 int numBytes = (imageColLimit - x0) * sizeof(ps##DATATYPE); \ 252 254 for (int row = y0; row < imageRowLimit; row++) { \ … … 277 279 break; \ 278 280 case '=': \ 279 psImageOverlaySetLoop(DATATYPE); \281 psImageOverlaySetLoop(DATATYPE); \ 280 282 break; \ 281 283 default: \
Note:
See TracChangeset
for help on using the changeset viewer.
