Home
last modified time | relevance | path

Searched refs:c_minVal (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/cudalegacy/src/cuda/
Dgmg.cu54 __constant__ float c_minVal; variable
67 cudaSafeCall( cudaMemcpyToSymbol(c_minVal, &minVal, sizeof(minVal)) ); in loadConstants()
153 … res |= static_cast<int>((val.x - c_minVal) * c_quantizationLevels / (c_maxVal - c_minVal)); in apply()
154 … res |= static_cast<int>((val.y - c_minVal) * c_quantizationLevels / (c_maxVal - c_minVal)) << 8; in apply()
155 … res |= static_cast<int>((val.z - c_minVal) * c_quantizationLevels / (c_maxVal - c_minVal)) << 16; in apply()
165 … return static_cast<int>((val - c_minVal) * c_quantizationLevels / (c_maxVal - c_minVal)); in apply()