/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 228 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/ |
D | statsd_codec.cpp | 291 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/ |
D | Camera2RecordingTest.java | 229 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()
|
D | MediaRecorderStressTest.java | 305 double captureRate = MediaRecorderStressTestRunner.mCaptureRate; in testStressTimeLapse() local 336 mRecorder.setCaptureRate(captureRate); in testStressTimeLapse()
|
/frameworks/base/media/jni/audioeffect/ |
D | Visualizer.cpp | 431 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()
|
D | Visualizer.h | 160 CaptureThread(Visualizer* visualizer, uint32_t captureRate, bool bCanCallJava = false);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 135 int captureRate = mVisualizer.getMaxCaptureRate(); in test1_0CaptureRates() local 137 captureRate >= MIN_CAPTURE_RATE_MAX); in test1_0CaptureRates()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 1586 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()
|
D | CCodec.cpp | 976 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/ |
D | MediaCodec.cpp | 1557 float captureRate = -1.0; in configure() local 1558 if (format->findFloat("capture-rate", &captureRate)) { in configure() 1559 mediametrics_setDouble(mMetricsHandle, kCodecCaptureRate, captureRate); in configure()
|
D | ACodec.cpp | 1859 float captureRate; in configureCodec() local 1860 if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configureCodec() 1861 mCaptureFps = captureRate; in configureCodec()
|