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 | VideoFrameScheduler.cpp | 144 x += divRound(time - lastTime, period); in fit() 150 int64_t y = divRound(time - phase, period >> kPrecision); in fit() 166 *a = divRound(a_nom, div); in fit() 167 *b = divRound(b_nom, div); in fit() 169 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div); in fit() 453 size_t vsyncsForLastFrame = divRound(nextVsyncTime - mLastVsyncTime, mVsyncPeriod); in schedule()
|
/frameworks/av/media/libstagefright/include/foundation/ |
D | AUtils.h | 25 inline static const T divRound(const T &nom, const T &den) { in divRound() function
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 483 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition() 499 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
|