Searched refs:divRound (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/foundation/tests/ |
D | Utils_test.cpp | 131 ASSERT_EQ(divRound(-10, -4), 3); in TEST_F() 132 ASSERT_EQ(divRound(-11, -4), 3); in TEST_F() 133 ASSERT_EQ(divRound(-12, -4), 3); in TEST_F() 134 ASSERT_EQ(divRound(-13, -4), 3); in TEST_F() 135 ASSERT_EQ(divRound(-14, -4), 4); in TEST_F() 137 ASSERT_EQ(divRound(10, -4), -3); in TEST_F() 138 ASSERT_EQ(divRound(11, -4), -3); in TEST_F() 139 ASSERT_EQ(divRound(12, -4), -3); in TEST_F() 140 ASSERT_EQ(divRound(13, -4), -3); in TEST_F() 141 ASSERT_EQ(divRound(14, -4), -4); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameSchedulerBase.cpp | 146 x += divRound(time - lastTime, period); in fit() 152 int64_t y = divRound(time - phase, period >> kPrecision); in fit() 168 *a = divRound(a_nom, div); in fit() 169 *b = divRound(b_nom, div); in fit() 171 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div); in fit() 424 size_t vsyncsForLastFrame = divRound(nextVsyncTime - mLastVsyncTime, mVsyncPeriod); in schedule()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AUtils.h | 25 inline static const T divRound(const T &num, const T &den) { in divRound() function
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 529 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 545 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
|