Changeset 34085 for trunk/psModules/src/concepts/pmConceptsStandard.c
- Timestamp:
- Jun 26, 2012, 11:31:38 AM (14 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/concepts/pmConceptsStandard.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120601/psModules (added) merged: 34002,34044,34049,34051-34053,34073,34076,34078
- Property svn:mergeinfo changed
-
trunk/psModules/src/concepts/pmConceptsStandard.c
r32941 r34085 118 118 assert(concept); 119 119 assert(cell); 120 assert(concept->type == PS_ TYPE_F32);120 assert(concept->type == PS_DATA_F32); 121 121 122 122 float rn = concept->data.F32; // Read noise … … 930 930 psFree(timesysName); 931 931 932 if (!item || item->type != PS_ TYPE_S32) {932 if (!item || item->type != PS_DATA_S32) { 933 933 psWarning("Unable to find %s --- assuming UTC", timesysName); 934 934 return PS_TIME_UTC; … … 1258 1258 #endif 1259 1259 default: 1260 if (concept->type == PS_ TYPE_F32 && concept->data.F32 - (int)concept->data.F32 == 0) {1260 if (concept->type == PS_DATA_F32 && concept->data.F32 - (int)concept->data.F32 == 0) { 1261 1261 offset = concept->data.F32; 1262 } else if (concept->type == PS_ TYPE_F64 && concept->data.F64 - (int)concept->data.F64 == 0) {1262 } else if (concept->type == PS_DATA_F64 && concept->data.F64 - (int)concept->data.F64 == 0) { 1263 1263 offset = concept->data.F64; 1264 1264 } else { … … 1558 1558 assert(cameraFormat); 1559 1559 1560 if (concept->type != PS_ TYPE_S32) {1560 if (concept->type != PS_DATA_S32) { 1561 1561 psError(PS_ERR_UNKNOWN, true, "Concept %s is not of type S32, as expected.\n", concept->name); 1562 1562 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
