Searched refs:doubleRet (Results 1 – 1 of 1) sorted by relevance
340 double doubleRet = doubleValue / newShape.scale + newShape.offset; in requantize() local341 if (doubleRet < 0) return 0; in requantize()342 if (doubleRet > 255) return 255; in requantize()343 return static_cast<uint8_t>(std::round(doubleRet)); in requantize()