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.java223 int frameRate, int captureRate, int width, int height, in recordVideoFromSurface() argument
238 if (captureRate > 0) { in recordVideoFromSurface()
239 recorder.setCaptureRate(captureRate); in recordVideoFromSurface()
240 sleepTime = 1000 / captureRate; in recordVideoFromSurface()
439 private boolean validateMetadata(String filePath, int captureRate) { in validateMetadata() argument
453 if (Math.abs(Float.parseFloat(captureFps) - captureRate) > 0.001) { in validateMetadata()
455 + captureFps + "vs. " + captureRate); in validateMetadata()
625 int captureRate = k==0 ? MIN_VIDEO_FPS : HIGH_SPEED_FPS; in testSurfaceRecordingTimeLapse() local
627 frameRate, captureRate, 352, 288, codec, in testSurfaceRecordingTimeLapse()
633 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.java306 double captureRate = MediaRecorderStressTestRunner.mCaptureRate; in testStressTimeLapse() local
337 mRecorder.setCaptureRate(captureRate); in testStressTimeLapse()
/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp447 Visualizer::CaptureThread::CaptureThread(const sp<Visualizer>& receiver, uint32_t captureRate, in CaptureThread() argument
451 mSleepTimeUs = 1000000000 / captureRate; in CaptureThread()
452 ALOGV("CaptureThread cstor %p captureRate %d mSleepTimeUs %d", this, captureRate, mSleepTimeUs); in CaptureThread()
DVisualizer.h163 uint32_t captureRate, bool bCanCallJava = false);
/frameworks/av/services/mediametrics/
Dstatsd_codec.cpp436 double captureRate = -1.0; in statsd_codec() local
437 if (item->getDouble("android.media.mediacodec.capture-rate", &captureRate)) { in statsd_codec()
438 metrics_proto.set_capture_rate(captureRate); in statsd_codec()
440 AStatsEvent_writeFloat(event, (float) captureRate); in statsd_codec()
853 << " capture_rate:" << captureRate in statsd_codec()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVisualizerTest.java131 int captureRate = mVisualizer.getMaxCaptureRate(); in test1_0CaptureRates() local
133 captureRate >= MIN_CAPTURE_RATE_MAX); in test1_0CaptureRates()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1748 float frameRate, captureRate; in getReflectedFormat() local
1750 if (!params->findAsFloat("time-lapse-fps", &captureRate) in getReflectedFormat()
1751 && !params->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in getReflectedFormat()
1752 captureRate = frameRate; in getReflectedFormat()
1754 if (captureRate > 0 && frameRate > 0) { in getReflectedFormat()
1755 params->setFloat(C2_PARAMKEY_INPUT_TIME_STRETCH, captureRate / frameRate); in getReflectedFormat()
DCCodec.cpp1248 float captureRate; in configure() local
1252 } else if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configure()
1253 config->mISConfig->mCaptureFps = captureRate; in configure()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp2320 float captureRate = -1.0; in createMediaMetrics() local
2321 if (format->findFloat("capture-rate", &captureRate)) { in createMediaMetrics()
2322 mediametrics_setDouble(nextMetricsHandle, kCodecCaptureRate, captureRate); in createMediaMetrics()
DACodec.cpp1923 float captureRate; in configureCodec() local
1924 if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configureCodec()
1925 mCaptureFps = captureRate; in configureCodec()