Searched refs:TIMESTAMP_OFFSET (Results 1 – 1 of 1) sorted by relevance
142 private static final int TIMESTAMP_OFFSET = 132; field in VideoEncoderDecoderTest1215 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()