Searched refs:distanceMs (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | VideoRenderQualityTracker.cpp | 582 int32_t distanceMs = -1; in processFreeze() local 586 distanceMs = int32_t((lastRenderTimeUs - lastFreezeEndTimeUs) / 1000); in processFreeze() 587 m.freezeDistanceMsHistogram.insert(distanceMs); in processFreeze() 599 e.details.distanceMs.clear(); in processFreeze() 603 } else if (distanceMs != -1) { in processFreeze() 604 e.durationMs += distanceMs; in processFreeze() 605 e.sumDistanceMs += distanceMs; in processFreeze() 612 e.details.distanceMs.push_back(distanceMs); // -1 for first detail in the first event in processFreeze() 631 int64_t distanceMs = (actualRenderTimeUs - lastFreezeEndTimeUs) / 1000; in maybeCaptureFreezeEvent() local 632 if (distanceMs < c.freezeEventDistanceToleranceMs) { in maybeCaptureFreezeEvent() [all …]
|
D | MediaCodec.cpp | 1670 emitVector(e.details.distanceMs)); in reportToMediaMetricsIfValid() 1689 emitVector(e.details.distanceMs)); in reportToMediaMetricsIfValid()
|
/frameworks/av/media/libstagefright/tests/ |
D | VideoRenderQualityTracker_test.cpp | 975 ASSERT_EQ(e.details.distanceMs.size(), 4); in TEST_F() 976 EXPECT_EQ(e.details.distanceMs[0], -1); in TEST_F() 977 EXPECT_EQ(e.details.distanceMs[1], 1000 - 20); in TEST_F() 978 EXPECT_EQ(e.details.distanceMs[2], 9 * 20); in TEST_F() 979 EXPECT_EQ(e.details.distanceMs[3], 11 * 20); in TEST_F() 999 EXPECT_EQ(e.details.distanceMs.size(), 4); in TEST_F() 1000 EXPECT_EQ(e.details.distanceMs[0], 1000); // same as the tolerance in TEST_F() 1061 ASSERT_EQ(e.details.distanceMs.size(), 3); in TEST_F() 1062 EXPECT_EQ(e.details.distanceMs[0], -1); in TEST_F() 1063 EXPECT_EQ(e.details.distanceMs[1], 19 + 20 + 19); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | VideoRenderQualityTracker.h | 232 std::vector<int32_t> distanceMs; member 260 std::vector<int32_t> distanceMs; member
|