/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() 216 vin.timestamp = (numFramesEncoded * 1000) / frameRate; // in ms. in main()
|
/frameworks/av/media/libstagefright/codecs/avc/enc/test/ |
D | h264_enc_test.cpp | 109 int32_t frameRate; in main() local 110 frameRate = atoi(argv[5]); in main() 111 if (frameRate > kMaxFrameRate || frameRate <= 0) { in main() 112 fprintf(stderr, "Unsupported frame rate %d\n", frameRate); in main() 197 encParams.frame_rate = 1000 * frameRate; // In frames/ms. in main() 204 encParams.idr_period = (IDRFrameRefreshIntervalInSec * frameRate); in main() 286 vin.coding_timestamp = (numInputFrames * 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/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/ |
D | CameraSource.cpp | 168 int32_t frameRate, in CreateFromCamera() argument 173 clientName, clientUid, clientPid, videoSize, frameRate, surface, in CreateFromCamera() 186 int32_t frameRate, in CameraSource() argument 209 videoSize, frameRate, in CameraSource() 334 int32_t frameRate) { in configureCamera() argument 362 if (frameRate != -1) { in configureCamera() 363 CHECK(frameRate > 0 && frameRate <= 120); in configureCamera() 369 snprintf(buf, 4, "%d", frameRate); in configureCamera() 372 frameRate, supportedFrameRates); in configureCamera() 377 params->setPreviewFrameRate(frameRate); in configureCamera() [all …]
|
D | ACodec.cpp | 3628 float frameRate; in setupVideoEncoder() local 3629 if (!msg->findFloat("frame-rate", &frameRate)) { in setupVideoEncoder() 3634 frameRate = (float)tmp; in setupVideoEncoder() 3635 mTimePerFrameUs = (int64_t) (1000000.0f / frameRate); in setupVideoEncoder() 3638 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f); in setupVideoEncoder() 3800 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { in setPFramesSpacing() argument 3806 OMX_U32 ret = frameRate * iFramesInterval; in setPFramesSpacing() 3828 float frameRate; in setupMPEG4EncoderParameters() local 3829 if (!msg->findFloat("frame-rate", &frameRate)) { in setupMPEG4EncoderParameters() 3834 frameRate = (float)tmp; in setupMPEG4EncoderParameters() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | CameraSource.h | 90 int32_t frameRate, 209 Size videoSize, int32_t frameRate, 280 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 285 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 301 int32_t frameRate); 307 int32_t frameRate);
|
D | ACodec.h | 372 OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate = -1.0);
|
/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/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/base/media/java/android/media/ |
D | SyncParams.java | 267 public SyncParams setFrameRate(float frameRate) { in setFrameRate() argument 268 mFrameRate = frameRate; in setFrameRate()
|
D | TtmlRenderer.java | 127 public static long parseTimeExpression(String time, int frameRate, int subframeRate, in parseTimeExpression() argument 140 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0; in parseTimeExpression() 143 / subframeRate / frameRate in parseTimeExpression() 161 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_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_SyncParams.h | 28 float frameRate; member
|
D | android_media_MediaPlayer.cpp | 516 scp.frameRateSet, scp.frameRate); in android_media_MediaPlayer_setSyncParams() 536 err = mp->setSyncSettings(avsync, scp.frameRateSet ? scp.frameRate : -1.f); in android_media_MediaPlayer_setSyncParams() 554 scp.frameRate = -1.f; in android_media_MediaPlayer_getSyncParams() 556 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate), in android_media_MediaPlayer_getSyncParams() 560 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync.mTolerance, scp.frameRate); in android_media_MediaPlayer_getSyncParams() 574 scp.frameRateSet = scp.frameRate >= 0.f; in android_media_MediaPlayer_getSyncParams()
|
/frameworks/av/include/media/ |
D | MediaProfiles.h | 184 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec() 189 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
|
D | post_filter.cpp | 62 …if (PVGetDecBitrate(video->videoDecControls) > (100*video->frameRate*(size >> 12))) // MC_sofDebl… in PostFilter()
|
D | pvdec_api.cpp | 834 sum = (sum * video->frameRate) / (10 * BITRATE_AVERAGE_WINDOW); in PVGetDecBitrate() 852 return video->frameRate; in PVGetDecFramerate() 1441 video->frameRate = (int)(FRAMERATE_SCALE) / video->duration; in PVDecodeVopBody()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
D | mp4enc_api.h | 403 …OSCL_IMPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate); /* for …
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1469 int32_t frameRate = 0; in setupCameraSource() local 1471 kKeyFrameRate, &frameRate)); in setupCameraSource() 1473 "rate (%d fps)", frameRate); in setupCameraSource() 1474 mFrameRate = frameRate; in setupCameraSource()
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 252 videoInfo.width, videoInfo.height, videoInfo.codecId, videoInfo.frameRate, in StreamChangeCallback()
|
/frameworks/base/docs/html/ndk/guides/audio/ |
D | output-latency.jd | 102 String frameRate = am.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE); 103 int frameRateInt = Integer.parseInt(frameRate);
|