Searched refs:c_quantizationLevels (Results 1 – 1 of 1) sorted by relevance
56 __constant__ int c_quantizationLevels; variable69 …cudaSafeCall( cudaMemcpyToSymbol(c_quantizationLevels, &quantizationLevels, sizeof(quantizationLev… 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()