IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2008, 4:26:09 PM (18 years ago)
Author:
Paul Price
Message:

Gene needs the concepts copied over in pmFPAfileDefineChipMosaic, so to avoid the error due to differing number of cells, I've made new functions that provide optional recursion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r16340 r16481  
    12001200
    12011201    file->src = psMemIncrRefCounter(src); // inherit output elements from this source pmFPA
     1202    if (src) {
     1203        if (!pmConceptsCopyFPA(file->fpa, src, true, false)) {
     1204            psError(PS_ERR_UNKNOWN, false, "Unable to copy concepts from source to new FPA");
     1205            psFree(file);
     1206            return NULL;
     1207        }
     1208    }
    12021209
    12031210    file->mosaicLevel = PM_FPA_LEVEL_CHIP; // don't do any I/O on this at a lower level
     
    12451252
    12461253    file->src = psMemIncrRefCounter(src); // inherit output elements from this source pmFPA
     1254    if (src) {
     1255        if (!pmConceptsCopyFPA(file->fpa, src, false, false)) {
     1256            psError(PS_ERR_UNKNOWN, false, "Unable to copy concepts from source to new FPA");
     1257            psFree(file);
     1258            return NULL;
     1259        }
     1260    }
    12471261
    12481262    file->mosaicLevel = PM_FPA_LEVEL_FPA; // don't do any I/O on this at a lower level
Note: See TracChangeset for help on using the changeset viewer.