Searched refs:divRound (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/tests/ |
D | Utils_test.cpp | 40 ASSERT_EQ(divRound(-10, -4), 3); in TEST_F() 41 ASSERT_EQ(divRound(-11, -4), 3); in TEST_F() 42 ASSERT_EQ(divRound(-12, -4), 3); in TEST_F() 43 ASSERT_EQ(divRound(-13, -4), 3); in TEST_F() 44 ASSERT_EQ(divRound(-14, -4), 4); in TEST_F() 46 ASSERT_EQ(divRound(10, -4), -3); in TEST_F() 47 ASSERT_EQ(divRound(11, -4), -3); in TEST_F() 48 ASSERT_EQ(divRound(12, -4), -3); in TEST_F() 49 ASSERT_EQ(divRound(13, -4), -3); in TEST_F() 50 ASSERT_EQ(divRound(14, -4), -4); in TEST_F() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | VideoFrameScheduler.cpp | 145 x += divRound(time - lastTime, period); in fit() 151 int64_t y = divRound(time - phase, period >> kPrecision); in fit() 167 *a = divRound(a_nom, div); in fit() 168 *b = divRound(b_nom, div); in fit() 170 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div); in fit() 441 size_t vsyncsForLastFrame = divRound(nextVsyncTime - mLastVsyncTime, mVsyncPeriod); in schedule()
|
/frameworks/av/include/media/stagefright/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 | 392 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
|