Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DSurfaceEncodeTimestampTest.java168 private void testCaptureFps(int captureFps, final boolean useFloatKey) throws Throwable { in testCaptureFps() argument
173 inputPts[i] = bastPts + (int)(i * 1000000.0f / captureFps + 0.5f); in testCaptureFps()
174 expectedOutputPts[i] = inputPts[i] * captureFps / OUTPUT_FRAME_RATE; in testCaptureFps()
179 format.setFloat(MediaFormat.KEY_CAPTURE_RATE, captureFps); in testCaptureFps()
181 format.setInteger(MediaFormat.KEY_CAPTURE_RATE, captureFps); in testCaptureFps()
DMediaRecorderTest.java1530 String captureFps = retriever.extractMetadata( in checkCaptureFps() local
1533 if (captureFps == null) { in checkCaptureFps()
1538 if (Math.abs(Float.parseFloat(captureFps) - captureRate) > 0.001) { in checkCaptureFps()
1540 + captureFps + "vs. " + captureRate); in checkCaptureFps()