Changeset 42493 for branches/eam_branches/ipp-20230313/psLib/test/imageops/tap_psImageInterpolate3.c
- Timestamp:
- Aug 15, 2023, 4:59:00 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psLib/test/imageops/tap_psImageInterpolate3.c
r29929 r42493 74 74 // point (1) : center of center pixel 75 75 interpOK = psImageInterpolate(&imageVal, NULL, NULL, xCenter + 0.5, yCenter + 0.5, interp); 76 ok (interpOK == PS_INTERPOLATE_STATUS_GOOD, "ok pixel"); 76 77 pt1->data.F32[i] = imageVal; 77 78 78 79 // point (2) : edge of center pixel 79 80 interpOK = psImageInterpolate(&imageVal, NULL, NULL, xCenter + 0.5, yCenter, interp); 81 ok (interpOK == PS_INTERPOLATE_STATUS_GOOD, "ok pixel"); 80 82 pt2->data.F32[i] = imageVal; 81 83 82 84 // point (3) : corner of center pixel 83 85 interpOK = psImageInterpolate(&imageVal, NULL, NULL, xCenter, yCenter, interp); 86 ok (interpOK == PS_INTERPOLATE_STATUS_GOOD, "ok pixel"); 84 87 pt3->data.F32[i] = imageVal; 85 88 … … 102 105 103 106 interpOK = psImageInterpolate(&imageVal, &varianceVal, NULL, xCenter + 0.5, yCenter + 0.5, interp); 107 ok (interpOK == PS_INTERPOLATE_STATUS_GOOD, "ok pixel"); 104 108 psStatsInit(stats); 105 109 psVectorStats(stats, pt1, NULL, NULL, 0); … … 107 111 108 112 interpOK = psImageInterpolate(&imageVal, &varianceVal, NULL, xCenter + 0.5, yCenter, interp); 113 ok (interpOK == PS_INTERPOLATE_STATUS_GOOD, "ok pixel"); 109 114 psStatsInit(stats); 110 115 psVectorStats(stats, pt2, NULL, NULL, 0); … … 112 117 113 118 interpOK = psImageInterpolate(&imageVal, &varianceVal, NULL, xCenter, yCenter, interp); 119 ok (interpOK == PS_INTERPOLATE_STATUS_GOOD, "ok pixel"); 114 120 psStatsInit(stats); 115 121 psVectorStats(stats, pt3, NULL, NULL, 0);
Note:
See TracChangeset
for help on using the changeset viewer.
