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/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()
456 << " capture_rate:" << captureRate in statsd_codec()
/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/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.cpp1586 float frameRate, captureRate; in getReflectedFormat() local
1588 if (!params->findAsFloat("time-lapse-fps", &captureRate) in getReflectedFormat()
1589 && !params->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in getReflectedFormat()
1590 captureRate = frameRate; in getReflectedFormat()
1592 if (captureRate > 0 && frameRate > 0) { in getReflectedFormat()
1593 params->setFloat(C2_PARAMKEY_INPUT_TIME_STRETCH, captureRate / frameRate); in getReflectedFormat()
DCCodec.cpp976 float captureRate; in configure() local
980 } else if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configure()
981 config->mISConfig->mCaptureFps = captureRate; in configure()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1557 float captureRate = -1.0; in configure() local
1558 if (format->findFloat("capture-rate", &captureRate)) { in configure()
1559 mediametrics_setDouble(mMetricsHandle, kCodecCaptureRate, captureRate); in configure()
DACodec.cpp1859 float captureRate; in configureCodec() local
1860 if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configureCodec()
1861 mCaptureFps = captureRate; in configureCodec()