HomeSort by relevance Sort by last modified time
    Searched defs:quotient (Results 1 - 20 of 20) sorted by null

  /external/opencore/codecs_v2/audio/aac/dec/src/
pv_div.h 62 Int32 quotient; member in struct:intg_div
65 typedef struct intg_div Quotient;
68 void pv_div(Int32 x, Int32 y, Quotient *quotient);
pv_div.cpp 34 Quotient *result structure that hold result and shift factor
40 Implement division of two Int32 numbers, provides back quotient and a
104 void pv_div(Int32 x, Int32 y, Quotient *result)
109 Int32 quotient; local
167 quotient = (0x40000000 / (y >> 15));
169 y_ov_y_hi = fxp_mul32_Q15(y, quotient); /* y*(1/y_hi) */
172 y_ov_y_hi = fxp_mul32_Q14(quotient, y_ov_y_hi);
175 result->quotient = flag ? -i : i;
179 result->quotient = 0;
sbr_aliasing_reduction.cpp 169 struct intg_div quotient; local
265 pv_div(ref_total_man, est_total, &quotient);
267 tmp_q2 += - tmp_q1 - quotient.shift_factor - 2;
292 tmp_q3 = fxp_mul32_Q30(alpha, quotient.quotient);
336 pv_div(ref_total_man, bst_man, &quotient);
337 bst_exp = ref_total_exp - bst_exp - quotient.shift_factor - 30;
338 bst_man = quotient.quotient; /* Q30 */
sbr_generate_high_freq.cpp 489 struct intg_div quotient; local
513 pv_div(ac.r01r, ac.r11r, &quotient);
515 fac = -(quotient.quotient >> 2); /* Q28 */
517 if (quotient.shift_factor > 0)
519 fac >>= quotient.shift_factor; /* Q28 */
521 else if (quotient.shift_factor < 0)
523 if (quotient.shift_factor > -4) /* |fac| < 8 */
525 fac <<= (-quotient.shift_factor); /* Q28 */
536 if (quotient.shift_factor > 0
810 struct intg_div quotient; local
    [all...]
calc_sbr_envelope.cpp 262 struct intg_div quotient; local
503 pv_div(nL_man[aux1], nL_man[aux1] + (0x3FFFFFFF >> tmp_q1), &quotient);
508 pv_div(tmp_q1, tmp_q1 + 0x3FFFFFFF, &quotient);
515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]);
526 pv_div(tmp_q1, nrg_est_man[c] + 1, &quotient);
528 * nrg_est_man[c] is an integer number, while tmp_q1 and quotient.quotient
532 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacdec/
pv_div.h 62 Int32 quotient; member in struct:intg_div
65 typedef struct intg_div Quotient;
68 void pv_div(Int32 x, Int32 y, Quotient *quotient);
pv_div.cpp 34 Quotient *result structure that hold result and shift factor
40 Implement division of two Int32 numbers, provides back quotient and a
104 void pv_div(Int32 x, Int32 y, Quotient *result)
109 Int32 quotient; local
167 quotient = (0x40000000 / (y >> 15));
169 y_ov_y_hi = fxp_mul32_Q15(y, quotient); /* y*(1/y_hi) */
172 y_ov_y_hi = fxp_mul32_Q14(quotient, y_ov_y_hi);
175 result->quotient = flag ? -i : i;
179 result->quotient = 0;
sbr_aliasing_reduction.cpp 169 struct intg_div quotient; local
265 pv_div(ref_total_man, est_total, &quotient);
267 tmp_q2 += - tmp_q1 - quotient.shift_factor - 2;
292 tmp_q3 = fxp_mul32_Q30(alpha, quotient.quotient);
336 pv_div(ref_total_man, bst_man, &quotient);
337 bst_exp = ref_total_exp - bst_exp - quotient.shift_factor - 30;
338 bst_man = quotient.quotient; /* Q30 */
sbr_generate_high_freq.cpp 489 struct intg_div quotient; local
513 pv_div(ac.r01r, ac.r11r, &quotient);
515 fac = -(quotient.quotient >> 2); /* Q28 */
517 if (quotient.shift_factor > 0)
519 fac >>= quotient.shift_factor; /* Q28 */
521 else if (quotient.shift_factor < 0)
523 if (quotient.shift_factor > -4) /* |fac| < 8 */
525 fac <<= (-quotient.shift_factor); /* Q28 */
536 if (quotient.shift_factor > 0
810 struct intg_div quotient; local
    [all...]
calc_sbr_envelope.cpp 262 struct intg_div quotient; local
503 pv_div(nL_man[aux1], nL_man[aux1] + (0x3FFFFFFF >> tmp_q1), &quotient);
508 pv_div(tmp_q1, tmp_q1 + 0x3FFFFFFF, &quotient);
515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]);
526 pv_div(tmp_q1, nrg_est_man[c] + 1, &quotient);
528 * nrg_est_man[c] is an integer number, while tmp_q1 and quotient.quotient
532 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30
    [all...]
  /external/v8/test/mjsunit/
top-level-assignments.js 90 Calculator.prototype.quotient = function() { return this.x / this.y; };
96 assertEquals(2, calc.quotient());
  /external/icu4c/i18n/
gregoimp.cpp 34 double quotient; local
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
37 return (int32_t) quotient;
44 double quotient = floorDivide(dividend, divisor); local
45 remainder = dividend - (quotient * divisor);
47 // is a bug such that the quotient is off by one. If you doubt
53 double q = quotient;
54 quotient += (remainder < 0) ? -1 : +1;
55 if (q == quotient) {
    [all...]
  /external/webkit/JavaScriptCore/wtf/
DateMath.cpp 372 int quotient = difference / 28; local
373 int product = (quotient) * 28;
  /dalvik/libcore/math/src/main/java/java/math/
BigInt.java 340 BigInt quotient, BigInt remainder) {
342 if (quotient != null) {
343 quotient.makeValid();
344 quot = quotient.bignum;
BigInteger.java 1088 BigInt quotient = new BigInt(); local
1112 BigInt quotient = new BigInt(); local
    [all...]
BigDecimal.java 1163 BigInteger quotient = quotAndRem[0]; local
1196 long quotient = scaledDividend \/ scaledDivisor; local
    [all...]
  /external/quake/quake/src/QW/client/
d_polyse.c 97 int quotient; member in struct:__anon4981
508 ubasestep = ptemp->quotient;
  /external/quake/quake/src/WinQuake/
d_polyse.cpp 97 int quotient; member in struct:__anon5264
508 ubasestep = ptemp->quotient;
  /external/v8/src/ia32/
codegen-ia32.cc 1208 Result quotient; local
    [all...]
  /external/v8/src/x64/
codegen-x64.cc 5665 Result quotient; local
    [all...]

Completed in 86 milliseconds