Searched refs:fracPart (Results 1 – 2 of 2) sorted by relevance
75 uint16_t tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local153 fracPart = (uint16_t)(absInLevel & 0x00003FFF); // extract the fractional part in WebRtcAgc_CalculateGainTable()155 tmpU32no1 = tmpU16 * fracPart; // Q22 in WebRtcAgc_CalculateGainTable()234 fracPart = (uint16_t)(tmp32 & 0x00003FFF); // in Q14 in WebRtcAgc_CalculateGainTable()235 if ((fracPart >> 13) != 0) in WebRtcAgc_CalculateGainTable()238 tmp32no2 = (1 << 14) - fracPart; in WebRtcAgc_CalculateGainTable()245 tmp32no2 = (fracPart * tmp16) >> 13; in WebRtcAgc_CalculateGainTable()247 fracPart = (uint16_t)tmp32no2; in WebRtcAgc_CalculateGainTable()249 (1 << intPart) + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()
222 float fracPart[2]; in calcTexelGridCoordRange() local227 fracPart[ndx] = (float) deModf(comp[ndx], &intPart[ndx]); in calcTexelGridCoordRange()232 fracPart[ndx] += 1.0f; in calcTexelGridCoordRange()239 …const deInt32 subTexelGridCoordMin = de::max((deInt32) deFloor(fracPart[0] * (float) subdivision… in calcTexelGridCoordRange()240 …const deInt32 subTexelGridCoordMax = de::min((deInt32) deCeil (fracPart[1] * (float) subdivision… in calcTexelGridCoordRange()