- Timestamp:
- May 8, 2025, 4:10:23 PM (15 months ago)
- Location:
- branches/eam_branches/ipp-20230313
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-ppmerge-20241229 (added) merged: 42770-42778,42803-42805 /trunk merged: 42763-42764,42766-42769,42779-42782,42784-42796,42798-42802,42806-42813
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20230313/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-ppmerge-20241229/psModules (added) merged: 42772-42774,42777,42805 /trunk/psModules merged: 42784,42806
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20230313/psModules/src/camera/pmFPAConstruct.c
r41892 r42820 52 52 53 53 // Parse a list of first:second:third pairs in a string 54 // EAM : this function takes an input 'string' and attempts to parse out 55 // groups of the form FIRST:SECOND:THIRD into the arrays (first, second, third). 56 57 // The input string may have multiple entries of this form separated by spaces, commas, or 58 // semi-colons. The number of arrays which are supplied must match the string format or 59 // an error will be raised. 60 61 // e.g., the string could be CHIP:CELL:TYPE in which case all three arrays must exist 62 // or, the string could be CHIP:CELL only, in which case the array 'third' must be NULL 63 54 64 static int parseContent(psArray **first, // Array of the first values 55 65 psArray **second, // Array of the second values … … 83 93 while ((value = psListGetAndIncrement(valuesIter))) { 84 94 psArray *fst = psStringSplitArray(value, ":", true); // First, second, third 95 if (fst->n != numArrays) { 96 psError(PS_ERR_BAD_PARAMETER_VALUE, false, "string %s does not match expected format (%ld colon-separated items supplied, %d expected)", value, fst->n, numArrays); 97 return 0; 98 } 85 99 switch (numArrays) { 86 100 case 3: … … 1126 1140 pmFPAview *view = pmFPAviewAlloc(0); // View, to be returned 1127 1141 if (phuView) { 1128 // Copy the view , for the case where we're given a view.1142 // Copy the view values, for the case where we're given a view. 1129 1143 *view = *phuView; 1130 1144 }
Note:
See TracChangeset
for help on using the changeset viewer.
