Home
last modified time | relevance | path

Searched refs:periodicError (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/
DUtils_test.cpp272 ASSERT_EQ(periodicError(124, 100), 24); in TEST_F()
273 ASSERT_EQ(periodicError(288, 100), 12); in TEST_F()
274 ASSERT_EQ(periodicError(-345, 100), 45); in TEST_F()
275 ASSERT_EQ(periodicError(-493, 100), 7); in TEST_F()
276 ASSERT_EQ(periodicError(-550, 100), 50); in TEST_F()
277 ASSERT_EQ(periodicError(-600, 100), 0); in TEST_F()
/frameworks/av/media/libstagefright/
DVideoFrameSchedulerBase.cpp233 nsecs_t err = periodicError(deltas[j], delta); in prime()
289 int64_t err = periodicError(time - mPhase, mPeriod); in addSample()
426 periodicError(videoPeriod, mVsyncPeriod) / (mVsyncPeriod / 20) == 0; in schedule()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAUtils.h90 inline static T periodicError(const T &val, const T &period) { in periodicError() function