Home | History | Annotate | Download | only in randomshaders

Lines Matching full:outmax

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