Replaced powf
calls with the optimized pow_F
macro (which also works for the non-SSE2 case).
This commit is contained in:
parent
a3004bb2b8
commit
938fc63dd0
@ -1253,9 +1253,9 @@ IImage8* Thumbnail::processImage (const procparams::ProcParams& params, eSensorT
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
for (; j < rwidth; ++j) {
|
for (; j < rwidth; ++j) {
|
||||||
rline[j] = CLIP(rmult * powf(rline[j], rexp));
|
rline[j] = CLIP(rmult * pow_F(rline[j], rexp));
|
||||||
gline[j] = CLIP(gmult * powf(gline[j], gexp));
|
gline[j] = CLIP(gmult * pow_F(gline[j], gexp));
|
||||||
bline[j] = CLIP(bmult * powf(bline[j], bexp));
|
bline[j] = CLIP(bmult * pow_F(bline[j], bexp));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user