Changeset 14950 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Sep 20, 2007, 2:21:57 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r13893 r14950 64 64 65 65 // place the image subset in the appropriate target location, freeing if needed 66 // XXX why psMemIncrRefCounter on psImageSubset??67 66 switch (type) { 68 67 case FPA_READ_TYPE_IMAGE: … … 70 69 psFree (readout->image); 71 70 } 72 readout->image = ps MemIncrRefCounter(psImageSubset(image, region));71 readout->image = psImageSubset(image, region); 73 72 break; 74 73 case FPA_READ_TYPE_MASK: … … 76 75 psFree (readout->mask); 77 76 } 78 readout->mask = ps MemIncrRefCounter(psImageSubset(image, region));77 readout->mask = psImageSubset(image, region); 79 78 break; 80 79 case FPA_READ_TYPE_WEIGHT: … … 82 81 psFree (readout->weight); 83 82 } 84 readout->weight = ps MemIncrRefCounter(psImageSubset(image, region));83 readout->weight = psImageSubset(image, region); 85 84 break; 86 85 default: … … 111 110 PS_MIN(biassec->y1 - readout->row0, image->numRows) // y1 112 111 ); 113 psImage *overscan = ps MemIncrRefCounter(psImageSubset(image, region));112 psImage *overscan = psImageSubset(image, region); 114 113 psListAdd(readout->bias, PS_LIST_TAIL, overscan); 115 114 psFree(overscan);
Note:
See TracChangeset
for help on using the changeset viewer.
