Home
last modified time | relevance | path

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

/external/opencv3/modules/cudalegacy/src/cuda/
Dgmg.cu55 __constant__ float c_maxVal; variable
68 cudaSafeCall( cudaMemcpyToSymbol(c_maxVal, &maxVal, sizeof(maxVal)) ); 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()