/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 87 int32_t frameRate; in main() local 88 frameRate = atoi(argv[6]); in main() 89 if (frameRate > kMaxFrameRate || frameRate <= 0) { in main() 90 fprintf(stderr, "Unsupported frame rate %d\n", frameRate); in main() 148 encParams.encFrameRate[0] = frameRate; in main() 156 encParams.tickPerSrc = encParams.timeIncRes / frameRate; in main() 168 encParams.intraPeriod = (IDRFrameRefreshIntervalInSec * frameRate); in main() 224 vin.timestamp = (numFramesEncoded * 1000) / frameRate; // in ms. in main()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 222 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, in stressVideoRecord() argument 237 mRecorder.setVideoFrameRate(frameRate); in stressVideoRecord() 456 int frameRate = MediaProfileReader in testH263RecordVideoOnlyMemoryUsage() local 458 assertTrue("H263 video recording frame rate", frameRate != -1); in testH263RecordVideoOnlyMemoryUsage() 460 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testH263RecordVideoOnlyMemoryUsage() 477 int frameRate = MediaProfileReader.getMaxFrameRateForCodec in testMpeg4RecordVideoOnlyMemoryUsage() local 479 assertTrue("MPEG4 video recording frame rate", frameRate != -1); in testMpeg4RecordVideoOnlyMemoryUsage() 481 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testMpeg4RecordVideoOnlyMemoryUsage() 499 int frameRate = MediaProfileReader in testRecordVideoAudioMemoryUsage() local 501 assertTrue("H263 video recording frame rate", frameRate != -1); in testRecordVideoAudioMemoryUsage() [all …]
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | SineGenerator.h | 28 void setup(double frequency, double frameRate) { in setup() argument 29 mFrameRate = frameRate; in setup() 30 mPhaseIncrement = frequency * M_PI * 2 / frameRate; in setup()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
D | MediaRecorderTest.java | 81 private void recordVideo(int frameRate, int width, int height, in recordVideo() argument 93 mRecorder.setVideoFrameRate(frameRate); in recordVideo() 228 int frameRate, int captureRate, int width, int height, in recordVideoFromSurface() argument 242 recorder.setVideoFrameRate(frameRate); in recordVideoFromSurface() 374 private boolean invalidRecordSetting(int frameRate, int width, int height, in invalidRecordSetting() argument 385 mRecorder.setVideoFrameRate(frameRate); in invalidRecordSetting() 484 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec); in testPortraitH263() local 485 recordVideo(frameRate, 352, 288, codec, in testPortraitH263() 560 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec); in testSurfaceRecording() local 565 success = recordVideoFromSurface(frameRate, 0, 352, 288, codec, in testSurfaceRecording() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSource.h | 91 int32_t frameRate, 215 Size videoSize, int32_t frameRate, 300 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 305 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 321 int32_t frameRate); 327 int32_t frameRate);
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 191 int32_t frameRate, in CreateFromCamera() argument 196 clientName, clientUid, clientPid, videoSize, frameRate, surface, in CreateFromCamera() 209 int32_t frameRate, in CameraSource() argument 234 videoSize, frameRate, in CameraSource() 359 int32_t frameRate) { in configureCamera() argument 387 if (frameRate != -1) { in configureCamera() 388 CHECK(frameRate > 0 && frameRate <= 120); in configureCamera() 394 snprintf(buf, 4, "%d", frameRate); in configureCamera() 397 frameRate, supportedFrameRates); in configureCamera() 402 params->setPreviewFrameRate(frameRate); in configureCamera() [all …]
|
D | ACodec.cpp | 4096 float iFramesInterval /* seconds */, int32_t frameRate, uint32_t BFramesSpacing = 0) { in setPFramesSpacing() argument 4117 uint32_t keyFrameInterval = uint32_t(frameRate * iFramesInterval); in setPFramesSpacing() 4132 float frameRate; in setupMPEG4EncoderParameters() local 4133 if (!msg->findFloat("frame-rate", &frameRate)) { in setupMPEG4EncoderParameters() 4138 frameRate = (float)tmp; in setupMPEG4EncoderParameters() 4160 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, mpeg4type.nBFrames); in setupMPEG4EncoderParameters() 4214 float frameRate; in setupH263EncoderParameters() local 4215 if (!msg->findFloat("frame-rate", &frameRate)) { in setupH263EncoderParameters() 4220 frameRate = (float)tmp; in setupH263EncoderParameters() 4238 h263type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, h263type.nBFrames); in setupH263EncoderParameters() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaRecorderStressTestRunner.java | 67 String frameRate = (String) icicle.get("frame_rate"); in onCreate() local 83 if (frameRate != null) { in onCreate() 84 mFrameRate = Integer.parseInt(frameRate); in onCreate()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraSettings.java | 209 public void setPreviewFrameRate(int frameRate) { in setPreviewFrameRate() argument 210 if (frameRate > 0) { in setPreviewFrameRate() 211 mPreviewFrameRate = frameRate; in setPreviewFrameRate() 212 mPreviewFpsRangeMax = frameRate; in setPreviewFrameRate() 213 mPreviewFpsRangeMin = frameRate; in setPreviewFrameRate()
|
/frameworks/base/media/java/android/media/ |
D | SyncParams.java | 261 public SyncParams setFrameRate(float frameRate) { in setFrameRate() argument 262 mFrameRate = frameRate; in setFrameRate()
|
D | TtmlRenderer.java | 129 public static long parseTimeExpression(String time, int frameRate, int subframeRate, in parseTimeExpression() argument 142 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression() 145 / subframeRate / frameRate in parseTimeExpression() 163 value = value / frameRate * 1000000; in parseTimeExpression()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 176 int frameRate; in recordVideoAndPlayback() local 187 frameRate = camcorderProfile.videoFrameRate; in recordVideoAndPlayback() 194 frameRate = MediaRecorderStressTestRunner.mFrameRate; in recordVideoAndPlayback() 223 Log.v(TAG, "frame rate : " + frameRate); in recordVideoAndPlayback() 234 mRecorder.setVideoFrameRate(frameRate); in recordVideoAndPlayback()
|
/frameworks/base/media/jni/ |
D | android_media_SyncParams.cpp | 63 frameRate = env->GetFloatField(params, fields.frame_rate); in fillFromJobject() 80 env->SetFloatField(params, fields.frame_rate, (jfloat)frameRate); in asJobject()
|
D | android_media_SyncParams.h | 28 float frameRate; member
|
D | android_media_MediaSync.cpp | 402 scs.frameRateSet, scs.frameRate); in android_media_MediaSync_setSyncParams() 425 err = sync->setVideoFrameRateHint(scs.frameRate); in android_media_MediaSync_setSyncParams() 449 scs.frameRate = sync->getVideoFrameRate(); in android_media_MediaSync_getSyncParams() 452 scs.sync.mSource, scs.sync.mAudioAdjustMode, scs.sync.mTolerance, scs.frameRate); in android_media_MediaSync_getSyncParams() 466 scs.frameRateSet = scs.frameRate >= 0.f; in android_media_MediaSync_getSyncParams()
|
D | android_media_MediaPlayer2.cpp | 691 scp.frameRateSet, scp.frameRate); in android_media_MediaPlayer2_setSyncParams() 711 err = mp->setSyncSettings(avsync, scp.frameRateSet ? scp.frameRate : -1.f); in android_media_MediaPlayer2_setSyncParams() 729 scp.frameRate = -1.f; in android_media_MediaPlayer2_getSyncParams() 731 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate), in android_media_MediaPlayer2_getSyncParams() 738 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync.mTolerance, scp.frameRate); in android_media_MediaPlayer2_getSyncParams() 752 scp.frameRateSet = scp.frameRate >= 0.f; in android_media_MediaPlayer2_getSyncParams()
|
D | android_media_MediaPlayer.cpp | 544 scp.frameRateSet, scp.frameRate); in android_media_MediaPlayer_setSyncParams() 564 err = mp->setSyncSettings(avsync, scp.frameRateSet ? scp.frameRate : -1.f); in android_media_MediaPlayer_setSyncParams() 582 scp.frameRate = -1.f; in android_media_MediaPlayer_getSyncParams() 584 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate), in android_media_MediaPlayer_getSyncParams() 591 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync.mTolerance, scp.frameRate); in android_media_MediaPlayer_getSyncParams() 605 scp.frameRateSet = scp.frameRate >= 0.f; in android_media_MediaPlayer_getSyncParams()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 583 float frameRate = mFrameRate->value; in process() local 584 if (frameRate < 0.001) { in process() 585 frameRate = 30; in process() 587 frameDuration = (uint32_t)(1000000 / frameRate + 0.5); in process()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 221 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec() 226 mFrameRate(frameRate) {} in VideoCodec()
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 221 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec() 226 mFrameRate(frameRate) {} in VideoCodec()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | mp4lib_int.h | 250 int frameRate; /* Output frame Rate (over 10 seconds) */ member
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
D | mp4enc_api.h | 404 …OSCL_IMPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate); /* for …
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 1325 float frameRate; in getReflectedFormat() local 1326 if (params->findAsFloat(KEY_FRAME_RATE, &frameRate)) { in getReflectedFormat() 1328 (frameRate <= 0 || iFrameInterval < 0) in getReflectedFormat() 1330 : (int32_t)c2_min(iFrameInterval * frameRate + 0.5, in getReflectedFormat() 1338 float frameRate, captureRate; in getReflectedFormat() local 1339 if (params->findAsFloat(KEY_FRAME_RATE, &frameRate)) { in getReflectedFormat() 1342 captureRate = frameRate; in getReflectedFormat() 1344 if (captureRate > 0 && frameRate > 0) { in getReflectedFormat() 1345 params->setFloat(C2_PARAMKEY_INPUT_TIME_STRETCH, captureRate / frameRate); in getReflectedFormat()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Driver.cpp | 480 float frameRate = 0; in updateMetrics() local 481 if (stats->findFloat("frame-rate-output", &frameRate)) { in updateMetrics() 482 mediametrics_setInt64(mMetricsHandle, kPlayerFrameRate, frameRate); in updateMetrics()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 581 float frameRate = 0; in updateMetrics() local 582 if (stats->findFloat("frame-rate-total", &frameRate)) { in updateMetrics() 583 mAnalyticsItem->setDouble(kPlayerFrameRate, (double) frameRate); in updateMetrics()
|