Searched refs:srcMaxValue (Results 1 – 3 of 3) sorted by relevance
607 const int srcMaxValue = de::max((1<<clampedBits) - 1, 1); in calculateU8ConversionError() local608 const int error = int(deFloatCeil(255.0f * 2.0f / float(srcMaxValue))); in calculateU8ConversionError()
1045 const int srcMaxValue = de::max((1<<clampedBits) - 1, 1); in calculateU8ConversionError() local1046 const int error = int(deFloatCeil(255.0f * 2.0f / float(srcMaxValue))); in calculateU8ConversionError()
2722 const float srcMaxValue = de::max((float)(1ULL<<clampedBits) - 1.0f, 1.0f); in calculateFloatConversionError() local2723 const float error = 1.0f / srcMaxValue; in calculateFloatConversionError()