/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
D | oper_32b.c | 57 __inline void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo) in VO_L_Extract() argument 60 *lo = (Word16)((L_32 & 0xffff) >> 1); in VO_L_Extract() 85 Word32 L_Comp (Word16 hi, Word16 lo) in L_Comp() argument 91 return (L_mac (L_32, lo, 1)); /* = hi<<16 + lo<<1 */ in L_Comp() 143 __inline Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n) in Mpy_32_16() argument 148 L_32 += (((lo * n)>>15)<<1); in Mpy_32_16() 197 Word16 approx, hi, lo, n_hi, n_lo; in Div_32() local 210 lo = (L_32 & 0xffff) >> 1; in Div_32() 212 L_32 = Mpy_32_16 (hi, lo, approx); in Div_32() 216 lo = (L_32 & 0xffff) >> 1; in Div_32() [all …]
|
D | isp_az.c | 46 Word16 hi, lo; in Isp_Az() local 92 lo = (f1[i] & 0xffff)>>1; in Isp_Az() 94 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 100 lo = (f2[i] & 0xffff)>>1; in Isp_Az() 101 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 156 lo = (f1[nc] & 0xffff)>>1; in Isp_Az() 157 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az() 188 Word16 hi, lo; in Get_isp_pol() local 203 lo = (f[-1] & 0xffff)>>1; in Get_isp_pol() 205 t0 = Mpy_32_16(hi, lo, *isp); /* t0 = f[-1] * isp */ in Get_isp_pol() [all …]
|
D | levinson.c | 116 Word16 hi, lo; in Levinson() local 150 lo = (t0 & 0xffff)>>1; in Levinson() 152 t0 = Mpy_32(Rh[0], Rl[0], hi, lo); /* Alpha in Q31 */ in Levinson() 219 lo = (t0 & 0xffff)>>1; in Levinson() 220 t0 = Mpy_32(alp_h, alp_l, hi, lo); /* Alpha in Q31 */ in Levinson()
|
D | p_med_ol.c | 39 Word16 hi, lo; in Pitch_med_ol() local 72 lo = (R0 & 0xffff)>>1; in Pitch_med_ol() 74 R0 = Mpy_32_16(hi, lo, *ww); in Pitch_med_ol() 81 lo = (R0 & 0xffff)>>1; in Pitch_med_ol() 82 R0 = Mpy_32_16(hi, lo, *we); in Pitch_med_ol()
|
/frameworks/compile/libbcc/runtime/test/Unit/ppc/ |
D | qadd_test.c | 110 a.lo = edgeCases[i].xlo; in testEdgeCases() 112 b.lo = edgeCases[i].ylo; in testEdgeCases() 114 r.lo = edgeCases[i].rlo; in testEdgeCases() 123 else if (c.lo != 0.0) in testEdgeCases() 133 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases() 136 …ror on edge case %a + %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases() 1819 a.lo = accuracyTests[i].xlo; in testAccuracy() 1821 b.lo = accuracyTests[i].ylo; in testAccuracy() 1823 r.lo = accuracyTests[i].rlo; in testAccuracy() 1827 double error = __builtin_fabs(((r.hi - c.hi) + r.lo) - c.lo); in testAccuracy() [all …]
|
D | qsub_test.c | 110 a.lo = edgeCases[i].xlo; in testEdgeCases() 112 b.lo = edgeCases[i].ylo; in testEdgeCases() 114 r.lo = edgeCases[i].rlo; in testEdgeCases() 125 else if (c.lo != 0.0) in testEdgeCases() 135 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases() 138 …ror on edge case %a - %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases() 1821 a.lo = accuracyTests[i].xlo; in testAccuracy() 1823 b.lo = -accuracyTests[i].ylo; in testAccuracy() 1825 r.lo = accuracyTests[i].rlo; in testAccuracy() 1829 double error = __builtin_fabs(((r.hi - c.hi) + r.lo) - c.lo); in testAccuracy() [all …]
|
D | qdiv_test.c | 110 a.lo = edgeCases[i].xlo; in testEdgeCases() 112 b.lo = edgeCases[i].ylo; in testEdgeCases() 114 r.lo = edgeCases[i].rlo; in testEdgeCases() 123 else if (c.lo != 0.0) in testEdgeCases() 133 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases() 136 …ror on edge case %a / %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases() 742 a.lo = accuracyTests[i].xlo; in testAccuracy() 744 b.lo = accuracyTests[i].ylo; in testAccuracy() 746 r.lo = accuracyTests[i].rlo; in testAccuracy() 750 double error = __builtin_fabs(((r.hi - c.hi) + r.lo) - c.lo); in testAccuracy() [all …]
|
D | qmul_test.c | 110 a.lo = edgeCases[i].xlo; in testEdgeCases() 112 b.lo = edgeCases[i].ylo; in testEdgeCases() 114 r.lo = edgeCases[i].rlo; in testEdgeCases() 123 else if (c.lo != 0.0) in testEdgeCases() 133 error = ((c.hi != r.hi) || (c.lo != r.lo)); in testEdgeCases() 136 …ror on edge case %a x %a: expected (%a, %a), got (%a, %a).\n", a.hi, b.hi, r.hi, r.lo, c.hi, c.lo); in testEdgeCases() 740 a.lo = accuracyTests[i].xlo; in testAccuracy() 742 b.lo = accuracyTests[i].ylo; in testAccuracy() 744 r.lo = accuracyTests[i].rlo; in testAccuracy() 748 double error = __builtin_fabs(((r.hi - c.hi) + r.lo) - c.lo); in testAccuracy() [all …]
|
D | floatditf_test.c | 17 expected.lo = tests[i].lo; in main() 20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo)) in main() 23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo); in main() 24 printf("\tComputed %La = ( %a , %a )\n", computed.ld, computed.hi, computed.lo); in main()
|
D | floatunditf_test.c | 17 expected.lo = tests[i].lo; in main() 20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo)) in main() 23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo); in main() 24 printf("\tComputed %La = ( %a , %a )\n", computed.ld, computed.hi, computed.lo); in main()
|
/frameworks/compile/libbcc/runtime/lib/ppc/ |
D | divtc3.c | 14 (x).s.lo = 0.0; \ 36 cDD.s.lo = scalbn(cDD.s.lo, -ilogbw); in __divtc3() 38 dDD.s.lo = scalbn(dDD.s.lo, -ilogbw); in __divtc3() 49 real.s.lo = scalbn(real.s.lo, -ilogbw); in __divtc3() 51 imag.s.lo = scalbn(imag.s.lo, -ilogbw); in __divtc3() 62 real.s.lo = 0.0; in __divtc3() 64 imag.s.lo = 0.0; in __divtc3() 72 real.s.lo = 0.0; in __divtc3() 74 imag.s.lo = 0.0; in __divtc3() 82 real.s.lo = 0.0; in __divtc3() [all …]
|
D | gcc_qsub.c | 18 register double A = dst.s.hi, a = dst.s.lo, in __gcc_qsub() 19 B = -src.s.hi, b = -src.s.lo; in __gcc_qsub() 24 dst.s.lo = 0.0; in __gcc_qsub() 34 dst.s.lo = 0.0; in __gcc_qsub() 44 dst.s.lo = 0.0; in __gcc_qsub() 73 dst.s.lo = (W - Y) + w; in __gcc_qsub()
|
D | gcc_qadd.c | 18 register double A = dst.s.hi, a = dst.s.lo, in __gcc_qadd() 19 B = src.s.hi, b = src.s.lo; in __gcc_qadd() 24 dst.s.lo = 0.0; in __gcc_qadd() 34 dst.s.lo = 0.0; in __gcc_qadd() 44 dst.s.lo = 0.0; in __gcc_qadd() 73 dst.s.lo = (W - Y) + w; in __gcc_qadd()
|
D | gcc_qmul.c | 17 register double A = dst.s.hi, a = dst.s.lo, in __gcc_qmul() 18 B = src.s.hi, b = src.s.lo; in __gcc_qmul() 28 dst.s.lo = 0.0; in __gcc_qmul() 35 dst.s.lo = 0.0; in __gcc_qmul() 49 dst.s.lo = (ab - tau) + tmp; in __gcc_qmul()
|
D | gcc_qdiv.c | 17 register double x = dst.s.hi, x1 = dst.s.lo, in __gcc_qdiv() 18 y = src.s.hi, y1 = src.s.lo; in __gcc_qdiv() 28 dst.s.lo = 0.0; in __gcc_qdiv() 35 dst.s.lo = 0.0; in __gcc_qdiv() 51 dst.s.lo = (q - x) + tmp; in __gcc_qdiv()
|
D | fixtfdi.c | 33 if (0.0 != x.s.lo) in __fixtfdi() 35 const doublebits lobits = { .d = x.s.lo }; in __fixtfdi() 76 if (0.0 < x.s.lo) in __fixtfdi() 82 const doublebits lobits = { .d = x.s.lo }; in __fixtfdi()
|
D | multc3.c | 14 (x).s.lo = 0.0; \ 20 (x).s.lo = 0.0; \ 86 real.s.lo = 0.0; in __multc3() 88 imag.s.lo = 0.0; in __multc3()
|
/frameworks/base/libs/utils/ |
D | AssetDir.cpp | 42 int lo, hi, cur; in findEntry() 44 lo = 0; in findEntry() 46 while (lo <= hi) { in findEntry() 49 cur = (hi + lo) / 2; in findEntry() 56 lo = cur + 1; in findEntry()
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
D | div_32.cpp | 176 Word16 lo; in Div_32() local 192 lo = (result >> 1) - (hi << 15); in Div_32() 194 result = Mpy_32_16(hi, lo, approx, pOverflow); in Div_32() 199 lo = (result >> 1) - (hi << 15); in Div_32() 204 result = Mpy_32(n_hi, n_lo, hi, lo, pOverflow); in Div_32()
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | isf_extrapolation.cpp | 123 int16 exp, exp2, hi, lo; in isf_extrapolation() local 164 int32_to_dpf(L_tmp, &hi, &lo); in isf_extrapolation() 165 L_tmp = mpy_dpf_32(hi, lo, hi, lo); in isf_extrapolation() 174 int32_to_dpf(L_tmp, &hi, &lo); in isf_extrapolation() 175 L_tmp = mpy_dpf_32(hi, lo, hi, lo); in isf_extrapolation() 184 int32_to_dpf(L_tmp, &hi, &lo); in isf_extrapolation() 185 L_tmp = mpy_dpf_32(hi, lo, hi, lo); in isf_extrapolation()
|
D | deemphasis_32.cpp | 131 int16 lo, hi; in deemphasis_32() local 142 lo = x_lo[1]; in deemphasis_32() 147 L_tmp += ((int32)lo) << 4; in deemphasis_32() 152 lo = x_lo[i+1]; in deemphasis_32() 156 L_tmp += ((int32)lo) << 4; in deemphasis_32()
|
/frameworks/base/media/libstagefright/codecs/aacenc/basic_op/ |
D | oper_32b.c | 42 void L_Extract (Word32 L_32, Word16 *hi, Word16 *lo) in L_Extract() argument 45 *lo = extract_l (L_msu (L_shr (L_32, 1), *hi, 16384)); in L_Extract() 70 Word32 L_Comp (Word16 hi, Word16 lo) in L_Comp() argument 75 return (L_mac (L_32, lo, 1)); /* = hi<<16 + lo<<1 */ in L_Comp() 127 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n) in Mpy_32_16() argument 132 L_32 = L_mac (L_32, mult (lo, n), 1); in Mpy_32_16()
|
D | oper_32b.h | 35 void L_Extract (Word32 L_32, Word16 *hi, Word16 *lo); 36 Word32 L_Comp (Word16 hi, Word16 lo); 38 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n);
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
D | oper_32b.h | 24 void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo); 25 Word32 L_Comp (Word16 hi, Word16 lo); 27 Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n);
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
D | l_comp.cpp | 142 Word32 L_Comp(Word16 hi, Word16 lo, Flag *pOverflow) in L_Comp() argument 156 temp32 = L_mac(L_32, lo, 1, pOverflow); in L_Comp()
|