Searched refs:divRound (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/
H A DUtils_test.cpp131 ASSERT_EQ(divRound(-10, -4), 3);
132 ASSERT_EQ(divRound(-11, -4), 3);
133 ASSERT_EQ(divRound(-12, -4), 3);
134 ASSERT_EQ(divRound(-13, -4), 3);
135 ASSERT_EQ(divRound(-14, -4), 4);
137 ASSERT_EQ(divRound(10, -4), -3);
138 ASSERT_EQ(divRound(11, -4), -3);
139 ASSERT_EQ(divRound(12, -4), -3);
140 ASSERT_EQ(divRound(13, -4), -3);
141 ASSERT_EQ(divRound(1
[all...]
/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp149 x += divRound(time - lastTime, period);
155 int64_t y = divRound(time - phase, period >> kPrecision);
171 *a = divRound(a_nom, div);
172 *b = divRound(b_nom, div);
174 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div);
458 size_t vsyncsForLastFrame = divRound(nextVsyncTime - mLastVsyncTime, mVsyncPeriod);
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h25 inline static const T divRound(const T &num, const T &den) { function
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAUtils.h25 inline static const T divRound(const T &num, const T &den) { function
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DAUtils.h25 inline static const T divRound(const T &num, const T &den) { function
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2Driver.cpp446 *msec = divRound(tempUs, (int64_t)(1000));
462 *msec = divRound(tempUs, (int64_t)(1000));
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp505 *msec = (int)divRound(tempUs, (int64_t)(1000));
521 *msec = (int)divRound(tempUs, (int64_t)(1000));

Completed in 13 milliseconds