Lines Matching refs:outMax

147 …inline float operator() (float outMin, float outMax) const { return C::getCompWeight(outMin, outMa…  in operator ()()
153 …void operator() (float outMin, float outMax, float& inMin, float& inMax) const { C::computeValueRa… in operator ()()
182 static inline float getCompWeight (float outMin, float outMax) in getCompWeight() argument
184 if (Scalar::min<float>() == outMin || Scalar::max<float>() == outMax) in getCompWeight()
189 if (!C::transformValueRange(outMin, outMax, inMin, inMax)) in getCompWeight()
196 if (outMin == outMax) in getCompWeight()
201 float valRangeLen = outMax - outMin; in getCompWeight()
206 static inline void computeValueRange (float outMin, float outMax, float& inMin, float& inMax) in computeValueRange() argument
208 DE_VERIFY(C::transformValueRange(outMin, outMax, inMin, inMax)); in computeValueRange()
230 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
232 if (outMax < -1.0f || outMin > 1.0f) in transformValueRange()
236 inMax = (outMax <= +1.0f) ? deFloatAsin(outMax) : +0.5f*DE_PI; in transformValueRange()
255 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
257 if (outMax < -1.0f || outMin > 1.0f) in transformValueRange()
261 inMin = (outMax <= +1.0f) ? deFloatAcos(outMax) : -DE_PI; in transformValueRange()
280 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
286 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
290 inMax = deFloatAtanOver(deFloatMin(outMax, rangeMax)); in transformValueRange()
309 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
314 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
318 inMax = deFloatSin(deFloatMin(outMax, rangeMax)); in transformValueRange()
337 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
342 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
346 inMin = deFloatCos(deFloatMin(outMax, rangeMax)); in transformValueRange()
365 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
371 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
375 inMax = deFloatTan(deFloatMin(outMax, rangeMax)); in transformValueRange()
397 static inline float getCompWeight (float outMin, float outMax) in getCompWeight() argument
399 if (Scalar::min<float>() == outMin || Scalar::max<float>() == outMax) in getCompWeight()
404 if (!C::transformValueRange(outMin, outMax, inMin, inMax)) in getCompWeight()
411 if (outMin == outMax) in getCompWeight()
416 float valRangeLen = outMax - outMin; in getCompWeight()
421 static inline void computeValueRange (float outMin, float outMax, float& inMin, float& inMax) in computeValueRange() argument
423 DE_VERIFY(C::transformValueRange(outMin, outMax, inMin, inMax)); in computeValueRange()
445 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
451 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
455 inMax = deFloatLog(deFloatMin(outMax, rangeMax)); in transformValueRange()
474 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
480 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
484 inMax = deFloatExp(deFloatMin(outMax, rangeMax)); in transformValueRange()
503 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
509 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
513 inMax = deFloatLog2(deFloatMin(outMax, rangeMax)); in transformValueRange()
532 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
538 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
542 inMax = deFloatExp2(deFloatMin(outMax, rangeMax)); in transformValueRange()
561 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
567 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
571 inMax = deFloatMin(outMax, rangeMax); in transformValueRange()
593 static inline bool transformValueRange (float outMin, float outMax, float& inMin, float& inMax) in transformValueRange() argument
599 if (outMax < rangeMin || outMin > rangeMax) in transformValueRange()
603 inMin = 1.0f/deFloatMin(outMax, rangeMax); in transformValueRange()