Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleDegenerateTwoPtRadials.cpp58 int intPart = SkScalarFloorToInt(delta); in onDrawContent() local
59 delta = delta - SK_Scalar1 * intPart; in onDrawContent()
60 if (intPart % 2) { in onDrawContent()
/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c75 WebRtc_UWord16 tmpU16, intPart, fracPart; in WebRtcAgc_CalculateGainTable() local
153 intPart = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32(absInLevel, 14); in WebRtcAgc_CalculateGainTable()
155 tmpU16 = kGenFuncTable[intPart + 1] - kGenFuncTable[intPart]; // Q8 in WebRtcAgc_CalculateGainTable()
157 tmpU32no1 += WEBRTC_SPL_LSHIFT_U32((WebRtc_UWord32)kGenFuncTable[intPart], 14); // Q22 in WebRtcAgc_CalculateGainTable()
234 intPart = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 14); in WebRtcAgc_CalculateGainTable()
250 gainTable[i] = WEBRTC_SPL_LSHIFT_W32(1, intPart) in WebRtcAgc_CalculateGainTable()
251 + WEBRTC_SPL_SHIFT_W32(fracPart, intPart - 14); in WebRtcAgc_CalculateGainTable()
/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core.c1134 WebRtc_Word16 zeros, frac, intPart; in WebRtcNsx_ComputeSpectralFlatness() local
1176 intPart = -(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(logCurSpectralFlatness, 17); in WebRtcNsx_ComputeSpectralFlatness()
1177 intPart += 7; // Shift 7 to get the output in Q10 (from Q17 = -17+10) in WebRtcNsx_ComputeSpectralFlatness()
1178 if (intPart > 0) { in WebRtcNsx_ComputeSpectralFlatness()
1179 currentSpectralFlatness = WEBRTC_SPL_RSHIFT_W32(tmp32, intPart); in WebRtcNsx_ComputeSpectralFlatness()
1181 currentSpectralFlatness = WEBRTC_SPL_LSHIFT_W32(tmp32, -intPart); in WebRtcNsx_ComputeSpectralFlatness()
1301 WebRtc_Word16 tmp16, tmp16no1, tmp16no2, tmpIndFX, tableIndex, frac, intPart; in WebRtcNsx_SpeechNoiseProb() local
1485 intPart = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32no1, 12); in WebRtcNsx_SpeechNoiseProb()
1486 if (intPart < -8) { in WebRtcNsx_SpeechNoiseProb()
1487 intPart = -8; in WebRtcNsx_SpeechNoiseProb()
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp3222 double intPart = 0; in doApply() local
3224 TCU_INTERVAL_APPLY_MONOTONE1(fracIV, x, iargs.a, frac, frac = deModf(x, &intPart)); in doApply()
3226 deModf(x, &intPart); whole = intPart); in doApply()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java2388 int intPart = (int)(prodA >>> 62); in reducePayneHanek() local
2484 result[0] = intPart; in reducePayneHanek()