Home
last modified time | relevance | path

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

/frameworks/av/media/module/codecs/amrwb/enc/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.h180 C2SupportedRange<T> InSeries(T min, T max, T num, T denom) {
181 return C2SupportedRange(min, max, 0, num, denom);
196 C2SupportedRange<T> InMacSeries(T min, T max, T step, T num, T denom) {
197 return C2SupportedRange(min, max, step, num, denom);
270 inline C2_HIDE constexpr T denom() const { return _mDenom; }
736 C2ParamFieldValuesBuilder<T> &inSeries(T min, T max, T num, T denom) {
737 return limitTo(C2SupportedRange<T>::InSeries(min, max, num, denom));
744 C2ParamFieldValuesBuilder<T> &inMacSeries(T min, T max, T step, T num, T denom) {
745 return limitTo(C2SupportedRange<T>::InMacSeries(min, max, step, num, denom));
/frameworks/av/media/module/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/av/media/codec2/hal/common/include/codec2/common/
DParamTypes.h126 d->denom = static_cast<decltype(d->denom)>(s.denom.u64); in objcpy()
139 d->denom.u64 = static_cast<uint64_t>(s.denom); in objcpy()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLSkiaShadowPort.cpp46 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() argument
47 if (denom == 0.0f) return min; in divide_and_pin()
48 return std::clamp(numer / denom, min, max); in divide_and_pin()
/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.java706 int denom = mRelUserTime+mRelSystemTime+mRelIrqTime+mRelIdleTime;
707 if (denom <= 0) {
710 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.cpp79 _mDenom = values.range.denom.ref<ValueType>(); in C2SupportedRange()
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java1241 final float denom = finalScale - 1; in computePivot() local
1242 if (Math.abs(denom) < .0001f) { in computePivot()
1245 return -startPos / denom; in computePivot()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp1054 size_t denom = numerator - kMaxNumTOCEntries; in buildTableOfContents() local
1057 accum += denom; in buildTableOfContents()
/frameworks/av/media/codec2/core/include/
DC2Param.h1565 Primitive denom;