Home
last modified time | relevance | path

Searched refs:firstSampleIndex (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DSampleQueueTest.java1139 private void assertReadTestData(Format startFormat, int firstSampleIndex) { in assertReadTestData() argument
1140 assertReadTestData(startFormat, firstSampleIndex, SAMPLE_TIMESTAMPS.length - firstSampleIndex); in assertReadTestData()
1150 private void assertReadTestData(Format startFormat, int firstSampleIndex, int sampleCount) { in assertReadTestData() argument
1151 assertReadTestData(startFormat, firstSampleIndex, sampleCount, 0); in assertReadTestData()
1163 Format startFormat, int firstSampleIndex, int sampleCount, long sampleOffsetUs) { in assertReadTestData() argument
1165 for (int i = firstSampleIndex; i < firstSampleIndex + sampleCount; i++) { in assertReadTestData()
/external/angle/src/tests/perf_tests/
DTracePerfTest.cpp1325 size_t firstSampleIndex = mTimeline.size() - 1; in getHostTimeFromGLTime() local
1326 while (firstSampleIndex > 0) in getHostTimeFromGLTime()
1328 if (mTimeline[firstSampleIndex].glTime < glTime) in getHostTimeFromGLTime()
1332 firstSampleIndex--; in getHostTimeFromGLTime()
1336 if (firstSampleIndex == mTimeline.size() - 1) in getHostTimeFromGLTime()
1341 const TimeSample &start = mTimeline[firstSampleIndex]; in getHostTimeFromGLTime()
1342 const TimeSample &end = mTimeline[firstSampleIndex + 1]; in getHostTimeFromGLTime()
1354 return mTimeline[firstSampleIndex].hostTime + hostRange * t; in getHostTimeFromGLTime()