- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pswarp/src/pswarpTransformReadout.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/pswarp/src/pswarpTransformReadout.c
r25043 r27838 89 89 90 90 if (!pmReadoutMaskNonfinite(input, pmConfigMaskGet("SAT", config))) { 91 psError( PS_ERR_UNKNOWN, false, "Unable to mask non-finite pixels in input.");91 psError(psErrorCodeLast(), false, "Unable to mask non-finite pixels in input."); 92 92 return false; 93 93 } … … 107 107 psImageInit(output->mask, maskBad); 108 108 } 109 110 // Ensure threading is off for the covariance calculation, since we are threading on a different level. 111 psImageCovarianceSetThreads(false); 109 112 110 113 // create jobs and supply them to the threads … … 126 129 psArrayAdd(job->args, 1, args); 127 130 if (!psThreadJobAddPending(job)) { 128 psError( PS_ERR_UNKNOWN, false, "Unable to warp image.");131 psError(psErrorCodeLast(), false, "Unable to warp image."); 129 132 return false; 130 133 } … … 137 140 // wait here for the threaded jobs to finish 138 141 if (!psThreadPoolWait (false)) { 139 psError( PS_ERR_UNKNOWN, false, "Unable to interpolate image.");142 psError(psErrorCodeLast(), false, "Unable to interpolate image."); 140 143 return false; 141 144 } … … 182 185 if (goodPixels > 0) { 183 186 if (!pswarpTransformSources(output, input, config)) { 184 psError( PS_ERR_UNKNOWN, false, "Unable to interpolate image.");187 psError(psErrorCodeLast(), false, "Unable to interpolate image."); 185 188 return false; 186 189 }
Note:
See TracChangeset
for help on using the changeset viewer.
