Searched refs:captureFps (Results 1 – 2 of 2) sorted by relevance
168 private void testCaptureFps(int captureFps, final boolean useFloatKey) throws Throwable { in testCaptureFps() argument173 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()
1530 String captureFps = retriever.extractMetadata( in checkCaptureFps() local1533 if (captureFps == null) { in checkCaptureFps()1538 if (Math.abs(Float.parseFloat(captureFps) - captureRate) > 0.001) { in checkCaptureFps()1540 + captureFps + "vs. " + captureRate); in checkCaptureFps()