Searched refs:kZeroThreshold (Results 1 – 2 of 2) sorted by relevance
221 const float kZeroThreshold = 1e-6; in NormalizeFloatImage() local225 scale = T(max_val < kZeroThreshold ? 0.0f : 127.0f / max_val); in NormalizeFloatImage()228 scale = T(image_max < kZeroThreshold ? 0.0f : 255.0f / image_max); in NormalizeFloatImage()
150 const float kZeroThreshold = 1e-6; in NormalizeFloatImage() local154 scale = T(max_val < kZeroThreshold ? 0.0f : 127.0f / max_val); in NormalizeFloatImage()157 scale = T(image_max < kZeroThreshold ? 0.0f : 255.0f / image_max); in NormalizeFloatImage()