/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/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/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() 510 << " capture_rate:" << captureRate in statsd_codec()
|
/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 | 1716 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()
|
D | CCodec.cpp | 991 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/ |
D | MediaCodec.cpp | 1812 float captureRate = -1.0; in configure() local 1813 if (format->findFloat("capture-rate", &captureRate)) { in configure() 1814 mediametrics_setDouble(nextMetricsHandle, kCodecCaptureRate, captureRate); in configure()
|
D | ACodec.cpp | 1860 float captureRate; in configureCodec() local 1861 if (msg->findAsFloat(KEY_CAPTURE_RATE, &captureRate)) { in configureCodec() 1862 mCaptureFps = captureRate; in configureCodec()
|