Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java228 int frameRate, int captureRate, int width, int height, in recordVideoFromSurface() argument
243 if (captureRate > 0) { in recordVideoFromSurface()
244 recorder.setCaptureRate(captureRate); in recordVideoFromSurface()
245 sleepTime = 1000 / captureRate; in recordVideoFromSurface()
444 private boolean validateMetadata(String filePath, int captureRate) { in validateMetadata() argument
458 if (Math.abs(Float.parseFloat(captureFps) - captureRate) > 0.001) { in validateMetadata()
460 + captureFps + "vs. " + captureRate); in validateMetadata()
630 int captureRate = k==0 ? MIN_VIDEO_FPS : HIGH_SPEED_FPS; in testSurfaceRecordingTimeLapse() local
632 frameRate, captureRate, 352, 288, codec, in testSurfaceRecordingTimeLapse()
638 success = validateMetadata(filename, captureRate); in testSurfaceRecordingTimeLapse()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2RecordingTest.java225 int captureRate = fpsRange.getLower(); in constrainedHighSpeedRecording() local
229 … Log.w(TAG, "high speed recording " + size + "@" + captureRate + "fps" in constrainedHighSpeedRecording()
234 … mOutMediaFileName = VIDEO_FILE_PATH + "/test_cslowMo_video_" + captureRate + in constrainedHighSpeedRecording()
237 prepareRecording(size, VIDEO_FRAME_RATE, captureRate); in constrainedHighSpeedRecording()
240 updatePreviewSurfaceWithVideo(size, captureRate); in constrainedHighSpeedRecording()
245 captureRate, fpsRange, resultListener, in constrainedHighSpeedRecording()
306 int captureRate, Range<Integer> fpsRange, in startSlowMotionRecording() argument
345 int slowMotionFactor = captureRate / videoFrameRate; in startSlowMotionRecording()
829 private void prepareRecording(Size sz, int videoFrameRate, int captureRate) in prepareRecording() argument
838 mMediaRecorder.setCaptureRate(captureRate); in prepareRecording()
DMediaRecorderStressTest.java305 double captureRate = MediaRecorderStressTestRunner.mCaptureRate; in testStressTimeLapse() local
336 mRecorder.setCaptureRate(captureRate); in testStressTimeLapse()
/frameworks/av/media/libmedia/
DVisualizer.cpp409 Visualizer::CaptureThread::CaptureThread(Visualizer& receiver, uint32_t captureRate, in CaptureThread() argument
413 mSleepTimeUs = 1000000000 / captureRate; in CaptureThread()
414 ALOGV("CaptureThread cstor %p captureRate %d mSleepTimeUs %d", this, captureRate, mSleepTimeUs); in CaptureThread()
/frameworks/av/include/media/
DVisualizer.h150 CaptureThread(Visualizer& receiver, uint32_t captureRate, bool bCanCallJava = false);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java135 int captureRate = mVisualizer.getMaxCaptureRate(); in test1_0CaptureRates() local
137 captureRate >= MIN_CAPTURE_RATE_MAX); in test1_0CaptureRates()