Home
last modified time | relevance | path

Searched refs:denom (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dwb_vad.c263 Word16 num, temp, stat_rat, exp, denom; in update_cntrl() local
284 denom = st->ave_level[i]; in update_cntrl()
288 denom = level[i]; in update_cntrl()
295 if(denom < STAT_THR_LEVEL) in update_cntrl()
297 denom = STAT_THR_LEVEL; in update_cntrl()
299 exp = norm_s(denom); in update_cntrl()
300 denom = denom << exp; in update_cntrl()
303 temp = div_s(num >> 1, denom); in update_cntrl()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceUtils.h179 C2SupportedRange<T> InSeries(T min, T max, T num, T denom) {
180 return C2SupportedRange(min, max, 0, num, denom);
195 C2SupportedRange<T> InMacSeries(T min, T max, T step, T num, T denom) {
196 return C2SupportedRange(min, max, step, num, denom);
269 inline C2_HIDE constexpr T denom() const { return _mDenom; }
735 C2ParamFieldValuesBuilder<T> &inSeries(T min, T max, T num, T denom) {
736 return limitTo(C2SupportedRange<T>::InSeries(min, max, num, denom));
743 C2ParamFieldValuesBuilder<T> &inMacSeries(T min, T max, T step, T num, T denom) {
744 return limitTo(C2SupportedRange<T>::InMacSeries(min, max, step, num, denom));
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dvad1.cpp761 Word16 denom; in update_cntrl() local
799 denom = st->ave_level[i]; in update_cntrl()
804 denom = level[i]; in update_cntrl()
811 if (denom < STAT_THR_LEVEL) in update_cntrl()
813 denom = STAT_THR_LEVEL; in update_cntrl()
816 exp = norm_s(denom); in update_cntrl()
818 denom = shl(denom, exp, pOverflow); in update_cntrl()
822 temp = div_s(temp, denom); in update_cntrl()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp406 auto denom = prim2Value(range.denom); in getTestValues() local
410 ASSERT_FALSE(num == 1 && denom == 1); in getTestValues()
413 ASSERT_FALSE(denom == 0); in getTestValues()
414 ASSERT_LE(denom, num); in getTestValues()
415 for (auto v = rmin; v <= rmax; v = TField(v * num / denom)) { in getTestValues()
DC2SampleComponent_test.cpp275 if (get(sv.range.num, t) != 1 || get(sv.range.denom, t) != 1) { in dumpFSV()
276 cout << ":" << get(sv.range.num, t) << "/" << get(sv.range.denom, t); in dumpFSV()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java756 double denom = numer1 + numer2; in merge() local
759 / denom; in merge()
760 historicalVariance = numer1 * numer2 / denom; in merge()
/frameworks/native/libs/math/include/math/
DTMatHelpers.h105 const T denom(tmp[i][i]); in gaussJordanInverse()
107 tmp[i][k] /= denom; in gaussJordanInverse()
108 inverted[i][k] /= denom; in gaussJordanInverse()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java679 int denom = mRelUserTime+mRelSystemTime+mRelIrqTime+mRelIdleTime;
680 if (denom <= 0) {
683 return ((float)(mRelUserTime+mRelSystemTime+mRelIrqTime)*100) / denom;
/frameworks/av/media/codec2/vndk/util/
DC2Debug.cpp170 os << " *= " << i.num() << " /= " << i.denom() << " += " << i.step() << ")"; in operator <<()
DC2InterfaceUtils.cpp77 _mDenom = values.range.denom.ref<ValueType>(); in C2SupportedRange()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp125 d->denom = static_cast<PrimitiveValue>(s.denom.u64); in objcpy()
175 d->denom.u64 = static_cast<uint64_t>(s.denom); in objcpy()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp991 size_t denom = numerator - kMaxNumTOCEntries; in buildTableOfContents() local
995 accum += denom; in buildTableOfContents()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java718 final float denom = finalScale-1; in computePivot() local
719 if (Math.abs(denom) < .0001f) { in computePivot()
722 return -startPos / denom; in computePivot()
/frameworks/av/media/codec2/core/include/
DC2Param.h1554 Primitive denom;