Home
last modified time | relevance | path

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

/frameworks/base/libs/common_time/
Dcommon_clock.cpp49 uint64_t denom = local_freq; in init() local
51 LinearTransform::reduce(&numer, &denom); in init()
52 if ((numer > UINT32_MAX) || (denom > UINT32_MAX)) { in init()
61 static_cast<uint32_t>(denom); in init()
/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/libstagefright/codecs/aacenc/basic_op/
Doper_32b.c181 Word32 Div_32 (Word32 L_num, Word32 denom) in Div_32() argument
187 approx = div_s ((Word16) 0x3fff, denom >> 16); in Div_32()
191 L_32 = L_mpy_ls (denom, approx); in Div_32()
Doper_32b.h39 Word32 Div_32 (Word32 L_num, Word32 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/libstagefright/codecs/aacenc/src/
Dtns.c695 Word32 num, denom; in AutoToParcor() local
732 denom = MULHIGH(workBuffer[0], NORM_COEF); in AutoToParcor()
734 if (denom != 0) { in AutoToParcor()
736 shift = norm_l(denom); in AutoToParcor()
737 temp = Div_32(1 << shift, denom << shift); in AutoToParcor()
/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.java663 int denom = mRelUserTime+mRelSystemTime+mRelIrqTime+mRelIdleTime;
664 if (denom <= 0) {
667 return ((float)(mRelUserTime+mRelSystemTime+mRelIrqTime)*100) / denom;
/frameworks/av/media/libstagefright/codec2/include/
DC2Param.h1090 T denom; member
1133 Primitive denom; member
/frameworks/av/media/libstagefright/
DOggExtractor.cpp900 size_t denom = numerator - kMaxNumTOCEntries; in buildTableOfContents() local
904 accum += denom; in buildTableOfContents()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java652 final float denom = finalScale-1; in computePivot() local
653 if (Math.abs(denom) < .0001f) { in computePivot()
656 return -startPos / denom; in computePivot()
/frameworks/av/media/libstagefright/codec2/tests/
DC2Param_test.cpp2393 if (get(sv.range.nom, t) != 1 || get(sv.range.denom, t) != 1) { in dumpFSV()
2394 cout << ":" << get(sv.range.nom, t) << "/" << get(sv.range.denom, t); in dumpFSV()