Home
last modified time | relevance | path

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

/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java142 private static final int TIMESTAMP_OFFSET = 132; field in VideoEncoderDecoderTest
1215 return TIMESTAMP_OFFSET + frameIndex * 1000000L / mFrameRate; in computePresentationTime()
1222 assertTrue("value for PtsUsec too low: " + ptsUsec, ptsUsec >= TIMESTAMP_OFFSET); in computeFrameIndex()
1223 return (int) ((ptsUsec - TIMESTAMP_OFFSET) * mFrameRate / 1000000.0 + 0.5); in computeFrameIndex()