IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 3:02:31 PM (20 years ago)
Author:
Paul Price
Message:

Renaming functions in pmConceptsRead.h and pmConceptsWrite.h to be private ("p_").
Adding const where appropriate, and changing order of parameters to match usual
convention (outputs go first).

Location:
trunk/psModules/src/camera
Files:
3 edited

Legend:

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

    r9539 r9570  
    368368        }
    369369        newCell->config = psMemIncrRefCounter(cellData);
    370         if (!pmConceptsReadCell(newCell, PM_CONCEPT_SOURCE_CAMERA | PM_CONCEPT_SOURCE_DEFAULTS,
     370        if (!pmConceptsReadCell(newCell, PM_CONCEPT_SOURCE_CELLS | PM_CONCEPT_SOURCE_DEFAULTS,
    371371                                false, NULL)) {
    372372            psError(PS_ERR_UNKNOWN, false, "Unable to read concepts from camera and defaults for chip %s, "
  • trunk/psModules/src/camera/pmFPARead.c

    r9321 r9570  
    191191
    192192    // Make sure we have the information we need
    193     if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CAMERA |
     193    if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    194194                            PM_CONCEPT_SOURCE_DEFAULTS, true, NULL)) {
    195195        psError(PS_ERR_IO, false, "Failed to read concepts for cell.\n");
  • trunk/psModules/src/camera/pmFPAWrite.c

    r8815 r9570  
    116116
    117117    if (writeBlank || writeImage) {
    118         pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CAMERA |
     118        pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    119119                                 PM_CONCEPT_SOURCE_DEFAULTS;
    120120        if (!pmConceptsWriteCell(cell, source, false, NULL)) {
     
    162162
    163163        if (writeBlank || writeImage) {
    164             pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CAMERA |
     164            pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    165165                                     PM_CONCEPT_SOURCE_DEFAULTS;
    166166            if (!pmConceptsWriteChip(chip, source, false, true, NULL)) {
     
    225225
    226226        if (writeBlank || writeImage) {
    227             pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CAMERA |
     227            pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    228228                                     PM_CONCEPT_SOURCE_DEFAULTS;
    229229            if (!pmConceptsWriteFPA(fpa, source, true, NULL)) {
Note: See TracChangeset for help on using the changeset viewer.