Searched refs:srcMaxValue (Results 1 – 2 of 2) sorted by relevance
593 const int srcMaxValue = de::max((1<<clampedBits) - 1, 1); in calculateU8ConversionError() local594 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()