Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Doper_32b.c57 __inline void VO_L_Extract (Word32 L_32, Word16 *hi, Word16 *lo) in VO_L_Extract() argument
59 *hi = (Word16)(L_32 >> 16); in VO_L_Extract()
85 Word32 L_Comp (Word16 hi, Word16 lo) in L_Comp() argument
89 L_32 = L_deposit_h (hi); in L_Comp()
143 __inline Word32 Mpy_32_16 (Word16 hi, Word16 lo, Word16 n) in Mpy_32_16() argument
147 L_32 = (hi * n)<<1; in Mpy_32_16()
197 Word16 approx, hi, lo, n_hi, n_lo; in Div_32() local
209 hi = L_32 >> 16; in Div_32()
212 L_32 = Mpy_32_16 (hi, lo, approx); in Div_32()
215 hi = L_32 >> 16; in Div_32()
[all …]
Disp_az.c46 Word16 hi, lo; in Isp_Az() local
91 hi = f1[i] >> 16; in Isp_Az()
94 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az()
99 hi = f2[i] >> 16; in Isp_Az()
101 t0 = Mpy_32_16(hi, lo, isp[m - 1]); in Isp_Az()
155 hi = f1[nc] >> 16; 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
202 hi = f[-1]>>16; in Get_isp_pol()
205 t0 = Mpy_32_16(hi, lo, *isp); /* t0 = f[-1] * isp */ in Get_isp_pol()
[all …]
Dlevinson.c116 Word16 hi, lo; in Levinson() local
149 hi = t0 >> 16; in Levinson()
152 t0 = Mpy_32(Rh[0], Rl[0], hi, lo); /* Alpha in Q31 */ in Levinson()
218 hi = t0 >> 16; in Levinson()
220 t0 = Mpy_32(alp_h, alp_l, hi, lo); /* Alpha in Q31 */ in Levinson()
Dp_med_ol.c39 Word16 hi, lo; in Pitch_med_ol() local
71 hi = R0>>16; in Pitch_med_ol()
74 R0 = Mpy_32_16(hi, lo, *ww); in Pitch_med_ol()
80 hi = R0>>16; in Pitch_med_ol()
82 R0 = Mpy_32_16(hi, lo, *we); in Pitch_med_ol()
/frameworks/base/core/java/android/util/
DContainerHelpers.java24 int hi = size - 1; in binarySearch() local
26 while (lo <= hi) { in binarySearch()
27 final int mid = (lo + hi) >>> 1; in binarySearch()
33 hi = mid - 1; in binarySearch()
43 int hi = size - 1; in binarySearch() local
45 while (lo <= hi) { in binarySearch()
46 final int mid = (lo + hi) >>> 1; in binarySearch()
52 hi = mid - 1; in binarySearch()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Ddiv_32.cpp175 Word16 hi; in Div_32() local
191 hi = (Word16)(result >> 16); in Div_32()
192 lo = (result >> 1) - (hi << 15); in Div_32()
194 result = Mpy_32_16(hi, lo, approx, pOverflow); in Div_32()
198 hi = (Word16)(result >> 16); 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()
Dlsp_az.cpp260 Word16 hi; in Get_lsp_pol() local
276 hi = (Word16)(*(f - 1) >> 16); in Get_lsp_pol()
278 lo = (Word16)((*(f - 1) >> 1) - ((Word32) hi << 15)); in Get_lsp_pol()
280 t0 = ((Word32)hi * *lsp); in Get_lsp_pol()
/frameworks/base/libs/androidfw/
DAssetDir.cpp42 int lo, hi, cur; in findEntry()
45 hi = pVector->size() -1; in findEntry()
46 while (lo <= hi) { in findEntry()
49 cur = (hi + lo) / 2; in findEntry()
59 hi = cur -1; in findEntry()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disf_extrapolation.cpp123 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()
Ddeemphasis_32.cpp131 int16 lo, hi; in deemphasis_32() local
143 hi = x_hi[1]; in deemphasis_32()
146 L_tmp = ((int32)hi) << 16; in deemphasis_32()
153 hi = x_hi[i+1]; in deemphasis_32()
155 L_tmp = ((int32)hi) << 16; in deemphasis_32()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h28 T NormalizePeriodicRange(T x, T lo, T hi) { in NormalizePeriodicRange() argument
29 T range_size = hi - lo; in NormalizePeriodicRange()
35 while (x > hi) { in NormalizePeriodicRange()
106 T RandomInRange(T lo, T hi,
111 std::uniform_real_distribution<T> distro(lo, hi);
116 T RandomInRange(T lo, T hi,
121 std::uniform_int_distribution<T> distro(lo, hi);
128 const Eigen::MatrixBase<Derived2>& hi) { in RandomInRange() argument
135 result(row, col) = RandomInRange(lo(row, col), hi(row, col)); in RandomInRange()
148 T Clamp(T x, T lo, T hi) { in Clamp() argument
[all …]
/frameworks/base/core/java/android/app/usage/
DTimeSparseArray.java48 int hi = size - 1; in closestIndexOnOrAfter() local
51 while (lo <= hi) { in closestIndexOnOrAfter()
52 mid = lo + ((hi - lo) / 2); in closestIndexOnOrAfter()
58 hi = mid - 1; in closestIndexOnOrAfter()
DEventList.java93 int hi = size - 1; in firstIndexOnOrAfter() local
94 while (lo <= hi) { in firstIndexOnOrAfter()
95 final int mid = (lo + hi) >>> 1; in firstIndexOnOrAfter()
98 hi = mid - 1; in firstIndexOnOrAfter()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dlevinson.cpp643 Word16 hi; in Levinson() local
697 hi = (Word16)(t0 >> 16); in Levinson()
698 lo = (Word16)((t0 >> 1) - ((Word32)(hi) << 15)); in Levinson()
700 t0 = Mpy_32(*Rh, *Rl, hi, lo, pOverflow); /* Alpha in */ in Levinson()
791 hi = (Word16)(t0 >> 16); in Levinson()
792 lo = (Word16)((t0 >> 1) - ((Word32)(hi) << 15)); in Levinson()
795 t0 += (((Word32)alp_l * hi) >> 15); in Levinson()
796 t0 += ((Word32)alp_h * hi); in Levinson()
Dl_comp.cpp142 Word32 L_Comp(Word16 hi, Word16 lo, Flag *pOverflow) in L_Comp() argument
154 L_32 = L_deposit_h(hi); in L_Comp()
/frameworks/base/core/java/android/text/
DAndroidBidi.java212 for (int low = i, hi = e - 2; low < hi; low += 2, hi -= 2) { in directions()
213 int x = ld[low]; ld[low] = ld[hi]; ld[hi] = x; in directions()
214 x = ld[low+1]; ld[low+1] = ld[hi+1]; ld[hi+1] = x; in directions()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Doper_32b.h24 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/native/libs/vr/libdvrcommon/tests/
Dnumeric_test.cpp55 Eigen::Vector3d hi(5.0, 4.0, 3.0); in TEST() local
60 Eigen::Vector3d result = RandomInRange(lo, hi); in TEST()
64 EXPECT_GE(hi[j], result[j]); in TEST()
/frameworks/ml/nn/common/random/
Dsimple_philox.h40 const uint32 lo = single_(), hi = single_(); in Rand64() local
41 return lo | static_cast<uint64>(hi) << 32; in Rand64()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java40 int hi = size - 1; in binarySearch() local
42 while (lo <= hi) { in binarySearch()
43 final int mid = (lo + hi) >>> 1; in binarySearch()
49 hi = mid - 1; in binarySearch()
/frameworks/base/core/java/android/net/metrics/
DIpReachabilityEvent.java93 int hi = eventType & 0xff00; in toString() local
95 String eventName = Decoder.constants.get(hi); in toString()
/frameworks/av/media/libeffects/testlibs/
DAudioCoefInterpolator.cpp78 audio_coef_t AudioCoefInterpolator::interp(audio_coef_t lo, audio_coef_t hi, in interp() argument
80 int64_t delta = static_cast<int64_t>(hi-lo) * frac; in interp()
/frameworks/base/cmds/statsd/src/
Dhash.cpp39 uint64_t hi = DecodeFixed32(ptr + 4); in DecodeFixed64() local
40 return (hi << 32) | lo; in DecodeFixed64()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dstruct_field_simple.rscript33 rsDebug("argL.hi ", (unsigned)((ulong)argL >> 32));
34 rsDebug("simple.L.hi", (unsigned)((ulong)simple.L >> 32));
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dstruct_field_simple.rscript35 rsDebug("argL.hi ", (unsigned)((ulong)argL >> 32));
36 rsDebug("simple.L.hi", (unsigned)((ulong)simple.L >> 32));

123