- Timestamp:
- Jun 20, 2012, 7:07:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psLib/src/imageops/psImageInterpolate.c
r31446 r34045 461 461 } 462 462 463 #define INTERPOLATE_CHECK() \ 464 if (xMin < 0) { /* XXX warn or error? */ } \ 465 if (yMin < 0) { /* XXX warn or error? */ } \ 466 if (xMax >= image->numCols) { /* XXX warn or error? */ } \ 467 if (yMax >= image->numRows) { /* XXX warn or error? */ } \ 468 463 469 // Determine the result of the interpolation after all the math has been done 464 470 static psImageInterpolateStatus interpolateResult(const psImageInterpolation *interp, … … 523 529 } 524 530 INTERPOLATE_RANGE(); 531 INTERPOLATE_CHECK(); 525 532 526 533 // Get the appropriate kernels … … 779 786 } 780 787 INTERPOLATE_RANGE(); 788 INTERPOLATE_CHECK(); 781 789 782 790 // Get the appropriate kernels
Note:
See TracChangeset
for help on using the changeset viewer.
