HomeSort by relevance Sort by last modified time
    Searched refs:accu (Results 1 - 25 of 53) sorted by null

1 2 3

  /bionic/libc/upstream-netbsd/lib/libc/stdlib/
_rand48.c 40 unsigned long accu; local
45 accu = (unsigned long) __rand48_mult[0] * (unsigned long) xseed[0] +
47 temp[0] = (unsigned short) accu; /* lower 16 bits */
48 accu >>= sizeof(unsigned short) * 8;
49 accu += (unsigned long) __rand48_mult[0] * (unsigned long) xseed[1] +
51 temp[1] = (unsigned short) accu; /* middle 16 bits */
52 accu >>= sizeof(unsigned short) * 8;
53 accu += __rand48_mult[0] * xseed[2] + __rand48_mult[1] * xseed[1] + __rand48_mult[2] * xseed[0];
56 xseed[2] = (unsigned short) accu;
  /external/aac/libAACenc/src/
quantize.cpp 131 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line], quantizer); local
133 if (accu < FL2FXCONST_DBL(0.0f)) {
134 accu = -accu;
136 INT accuShift = CntLeadingZeros(accu) - 1; /* CountLeadingBits() is not
139 accu <<= accuShift;
141 (INT)(accu >> (DFRACT_BITS - 2 - MANT_DIGITS)) & (~MANT_SIZE);
143 accu = fMultDiv2(FDKaacEnc_mTab_3_4[tabIndex],
147 accu >>= fixMin(totalShift, DFRACT_BITS - 1);
149 (SHORT)(-((LONG)(k + accu) >> (DFRACT_BITS - 1 - 16)))
194 FIXP_DBL accu; local
229 FIXP_DBL accu; local
    [all...]
  /external/libmtp/
.travis-translate-pkgs 22 accu="gettext"
25 accu="$accu $pkg"
27 echo "$accu"
  /external/libxaac/decoder/
ixheaacd_qmf_dec.c 365 WORD32 accu; local
366 accu = ixheaacd_mult16x16in32(inp1[n + 0], p_qmf1[(n + 0)]);
367 accu = ixheaacd_add32(
368 accu, ixheaacd_mult16x16in32(inp1[n + 64], p_qmf1[(n + 64)]));
369 accu = ixheaacd_add32(
370 accu, ixheaacd_mult16x16in32(inp1[n + 128], p_qmf1[(n + 128)]));
371 accu = ixheaacd_add32(
372 accu, ixheaacd_mult16x16in32(inp1[n + 192], p_qmf1[(n + 192)]));
373 accu = ixheaacd_add32(
374 accu, ixheaacd_mult16x16in32(inp1[n + 256], p_qmf1[(n + 256)]))
416 WORD64 accu; local
    [all...]
ixheaacd_lpfuncs.c 130 WORD32 i, accu; local
142 accu = ixheaacd_add32_sat(temp1, ((WORD32)prev[i] << 16));
143 out[ch_fac * i] = ixheaacd_round16(accu << 1);
145 accu = ixheaacd_shl32_dir_sat_limit(
149 out[ch_fac * (i + SIZE09)] = ixheaacd_round16(accu << 2);
161 accu = ixheaacd_mult32x16in32_drc(
164 out[ch_fac * i] = ixheaacd_round16(accu << 2);
166 accu = (ixheaacd_shl32_dir_sat_limit(-(coef[SIZE15 - 1 - i]),
171 out[ch_fac * (SIZE09 + i)] = ixheaacd_round16(accu << 2);
189 accu = ixheaacd_shl32_dir_sat_limit(ixheaacd_mult32x16in32(temp_coef, win1)
210 WORD32 accu; local
246 WORD32 accu; local
    [all...]
ixheaacd_block.c 1089 WORD32 accu; local
1114 accu = ixheaacd_sub32_sat(
1118 accu = ixheaacd_add32_sat(accu, accu);
1119 accu = ixheaacd_add32_sat(accu, accu);
1121 *ptr_out1 = ixheaacd_shr32(accu, 16);
1124 accu = ixheaacd_sub32_sat
1140 WORD32 accu; local
1169 WORD32 accu; local
    [all...]
  /external/aac/libSBRdec/src/
transcendent.h 145 FIXP_DBL accu; local
165 accu = (shiftedMantissa >> 1) + (otherMantissa >> 1);
168 if ((accu >= (FL2FXCONST_DBL(0.5f) - (FIXP_DBL)1)) ||
169 (accu <= FL2FXCONST_DBL(-0.5f)))
172 accu = (shiftedMantissa + otherMantissa);
174 *ptrSum_m = FX_DBL2FX_SGL(accu);
184 FIXP_DBL accu; local
203 accu = (shiftedMantissa >> 1) + (otherMantissa >> 1);
206 if ((accu >= (FL2FXCONST_DBL(0.5f) - (FIXP_DBL)1)) ||
207 (accu <= FL2FXCONST_DBL(-0.5f))
    [all...]
  /external/autotest/client/site_tests/video_WebRtcCamera/
ssim.js 32 var accu = 0;
35 accu += a[i];
37 var meanA = accu / (a.length - 1);
41 accu += a[i] + (diff * diff);
43 return {mean : meanA, variance : accu / a.length};
48 var accu = 0;
50 accu += (a[i] - meanA) * (b[i] - meanB);
52 return accu / a.length;
  /external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
ssim.js 32 var accu = 0;
35 accu += a[i];
37 var meanA = accu / (a.length - 1);
41 accu += a[i] + (diff * diff);
43 return {mean : meanA, variance : accu / a.length};
48 var accu = 0;
50 accu += (a[i] - meanA) * (b[i] - meanB);
52 return accu / a.length;
  /frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
LVPSA_QPD_Process.c 80 LVM_INT32 accu; local
122 MUL32x32INTO32(temp2,Kp,accu,31);
131 accu +=temp + Xg0;
133 if (accu > 0x7FFF)
134 accu = 0x7FFF;
135 else if(accu < 0)
136 accu = 0x0000;
138 V0 = (LVM_INT16)accu;
200 LVM_FLOAT accu; local
244 accu = temp2 * Kp
    [all...]
  /external/aac/libSBRenc/src/
nf_est.cpp 151 FIXP_DBL accu; local
170 accu = FL2FXCONST_DBL(0.0f);
172 accu += fMultDiv2(pSmoothFilter[i], prevNoiseLevels[i][band]);
175 NoiseLevels[band + env * noNoiseBands] = accu << 1;
224 FIXP_DBL accu; local
234 accu = FL2FXCONST_DBL(0.0f);
236 accu += fMultDiv2(quotaMatrixOrig[k][l], invIndex);
238 meanOrig = fixMax(meanOrig, (accu << 1));
241 accu = FL2FXCONST_DBL(0.0f);
243 accu += fMultDiv2(quotaMatrixOrig[k][indexVector[l]], invIndex)
    [all...]
tran_det.cpp 330 FIXP_DBL accu = FL2FXCONST_DBL(0.0f); local
342 accu = FL2FXCONST_DBL(0.0f);
349 accu += Energies[slotIn][k] >> 5;
352 EnergiesM[slotOut][j] = accu;
365 accu = FL2FXCONST_DBL(0.0f);
369 accu += (EnergiesM[slotOut][j] >> scale[0]);
372 nrgTotal = accu >> (scaleEnergies[0] - scale[0]);
376 accu += (EnergiesM[slotOut][j] >> scale[0]);
379 nrgTotal = fAddSaturate(nrgTotal, accu >> (scaleEnergies[1] - scale[1]));
478 FIXP_DBL accu, accu0, accu1 local
    [all...]
  /hardware/qcom/gps/core/
gps_extended.h 48 uint32_t gap, uint32_t accu, uint32_t time,
52 preferred_accuracy(accu), preferred_time(time) {
  /hardware/qcom/gps/msm8084/core/
gps_extended.h 48 uint32_t gap, uint32_t accu, uint32_t time,
52 preferred_accuracy(accu), preferred_time(time) {
  /hardware/qcom/gps/msm8909/core/
gps_extended.h 48 uint32_t gap, uint32_t accu, uint32_t time,
52 preferred_accuracy(accu), preferred_time(time) {
  /hardware/qcom/gps/msm8909w_3100/utils/
gps_extended.h 59 uint32_t gap, uint32_t accu, uint32_t time,
64 preferred_accuracy(accu), preferred_time(time),
  /hardware/qcom/gps/msm8960/core/
gps_extended.h 48 uint32_t gap, uint32_t accu, uint32_t time,
52 preferred_accuracy(accu), preferred_time(time) {
  /hardware/qcom/gps/msm8994/core/
gps_extended.h 48 uint32_t gap, uint32_t accu, uint32_t time,
52 preferred_accuracy(accu), preferred_time(time) {
  /hardware/qcom/gps/msm8996/core/
gps_extended.h 48 uint32_t gap, uint32_t accu, uint32_t time,
52 preferred_accuracy(accu), preferred_time(time) {
  /hardware/qcom/gps/msm8998/utils/
gps_extended.h 59 uint32_t gap, uint32_t accu, uint32_t time,
64 preferred_accuracy(accu), preferred_time(time),
  /external/aac/libFDK/src/
qmf.cpp 161 FIXP_DBL accu; local
175 accu = fMultDiv2(p_flt[0], *sta_1);
177 accu += fMultDiv2(p_flt[1], *sta_1);
179 accu += fMultDiv2(p_flt[2], *sta_1);
181 accu += fMultDiv2(p_flt[3], *sta_1);
183 accu += fMultDiv2(p_flt[4], *sta_1);
184 *pData_1++ = (accu << 1);
188 accu = fMultDiv2(p_flt[0], *sta_0);
190 accu += fMultDiv2(p_flt[1], *sta_0);
192 accu += fMultDiv2(p_flt[2], *sta_0)
216 FIXP_DBL accu = (FIXP_DBL)0; local
248 FIXP_DBL accu; local
    [all...]
FDK_lpc.cpp 110 accu does change no more than 1.0 for each iteration.
187 FIXP_DBL tmp, accu; local
189 accu =
191 tmp = SATURATE_LEFT_SHIFT_ALT(accu, 1, DFRACT_BITS);
194 accu = fMultSubDiv2(tmp >> 1, pCoeff[0], pState[0]);
195 tmp = SATURATE_LEFT_SHIFT_ALT(accu, 1, DFRACT_BITS);
197 accu = fMultAddDiv2(pState[0] >> 1, *pCoeff--, tmp);
198 pState[1] = SATURATE_LEFT_SHIFT_ALT(accu, 1, DFRACT_BITS);
  /external/libconstrainedcrypto/
p256.c 200 p256_digit accu = (P256_DIGIT(a, i) << n); local
201 accu |= (P256_DIGIT(a, i - 1) >> (P256_BITSPERDIGIT - n));
202 P256_DIGIT(b, i) = accu;
216 p256_digit accu = (P256_DIGIT(a, i) >> n); local
217 accu |= (P256_DIGIT(a, i + 1) << (P256_BITSPERDIGIT - n));
218 P256_DIGIT(b, i) = accu;
227 p256_digit accu = (P256_DIGIT(a, i) >> 1); local
228 accu |= (P256_DIGIT(a, i + 1) << (P256_BITSPERDIGIT - 1));
229 P256_DIGIT(b, i) = accu;
  /external/libxaac/decoder/generic/
ixheaacd_qmf_dec_generic.c 511 WORD32 accu; local
513 accu = ixheaacd_mult16x16in32(inp1[n + 0], p_qmf1[2 * (n + 0)]);
514 accu = ixheaacd_add32(
515 accu, ixheaacd_mult16x16in32(inp1[n + 64], p_qmf1[2 * (n + 64)]));
516 accu = ixheaacd_add32(
517 accu, ixheaacd_mult16x16in32(inp1[n + 128], p_qmf1[2 * (n + 128)]));
518 accu = ixheaacd_add32(
519 accu, ixheaacd_mult16x16in32(inp1[n + 192], p_qmf1[2 * (n + 192)]));
520 accu = ixheaacd_add32(
521 accu, ixheaacd_mult16x16in32(inp1[n + 256], p_qmf1[2 * (n + 256)]))
    [all...]
  /external/python/cpython3/Modules/_io/
stringio.c 4 #include "accu.h"
34 _PyAccu accu; member in struct:__anon33325
128 PyObject *intermediate = _PyAccu_Finish(&self->accu);
132 if (_PyAccu_Init(&self->accu) ||
133 _PyAccu_Accumulate(&self->accu, intermediate)) {
152 intermediate = _PyAccu_Finish(&self->accu);
220 if (_PyAccu_Accumulate(&self->accu, decoded))
618 _PyAccu_Destroy(&self->accu);
648 _PyAccu_Destroy(&self->accu);
733 _PyAccu_Destroy(&self->accu);
    [all...]

Completed in 1129 milliseconds

1 2 3