Home
last modified time | relevance | path

Searched refs:captureRate (Results 1 – 11 of 11) 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.java229 int captureRate = fpsRange.getLower(); in constrainedHighSpeedRecording() local
233 … Log.w(TAG, "high speed recording " + size + "@" + captureRate + "fps" in constrainedHighSpeedRecording()
238 … mOutMediaFileName = VIDEO_FILE_PATH + "/test_cslowMo_video_" + captureRate + in constrainedHighSpeedRecording()
241 prepareRecording(size, VIDEO_FRAME_RATE, captureRate); in constrainedHighSpeedRecording()
244 updatePreviewSurfaceWithVideo(size, captureRate); in constrainedHighSpeedRecording()
249 captureRate, fpsRange, resultListener, in constrainedHighSpeedRecording()
310 int captureRate, Range<Integer> fpsRange, in startSlowMotionRecording() argument
349 int slowMotionFactor = captureRate / videoFrameRate; in startSlowMotionRecording()
837 private void prepareRecording(Size sz, int videoFrameRate, int captureRate) in prepareRecording() argument
846 mMediaRecorder.setCaptureRate(captureRate); in prepareRecording()
DMediaRecorderStressTest.java305 double captureRate = MediaRecorderStressTestRunner.mCaptureRate; in testStressTimeLapse() local
336 mRecorder.setCaptureRate(captureRate); in testStressTimeLapse()
/frameworks/av/services/mediametrics/
Dstatsd_codec.cpp291 double captureRate = -1.0; in statsd_codec() local
292 if (item->getDouble("android.media.mediacodec.capture-rate", &captureRate)) { in statsd_codec()
293 metrics_proto.set_capture_rate(captureRate); in statsd_codec()
295 AStatsEvent_writeFloat(event, (float) captureRate); in statsd_codec()
510 << " capture_rate:" << captureRate in statsd_codec()
/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp431 Visualizer::CaptureThread::CaptureThread(Visualizer* receiver, uint32_t captureRate, in CaptureThread() argument
435 mSleepTimeUs = 1000000000 / captureRate; in CaptureThread()
436 ALOGV("CaptureThread cstor %p captureRate %d mSleepTimeUs %d", this, captureRate, mSleepTimeUs); in CaptureThread()
DVisualizer.h160 CaptureThread(Visualizer* visualizer, 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()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1716 float frameRate, captureRate; in getReflectedFormat() local
1718 if (!params->findAsFloat("time-lapse-fps", &captureRate) in getReflectedFormat()
1719 && !params->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in getReflectedFormat()
1720 captureRate = frameRate; in getReflectedFormat()
1722 if (captureRate > 0 && frameRate > 0) { in getReflectedFormat()
1723 params->setFloat(C2_PARAMKEY_INPUT_TIME_STRETCH, captureRate / frameRate); in getReflectedFormat()
DCCodec.cpp991 float captureRate; in configure() local
995 } else if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configure()
996 config->mISConfig->mCaptureFps = captureRate; in configure()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1812 float captureRate = -1.0; in configure() local
1813 if (format->findFloat("capture-rate", &captureRate)) { in configure()
1814 mediametrics_setDouble(nextMetricsHandle, kCodecCaptureRate, captureRate); in configure()
DACodec.cpp1860 float captureRate; in configureCodec() local
1861 if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configureCodec()
1862 mCaptureFps = captureRate; in configureCodec()