/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 154 int32_t frameRate, in CreateFromCamera() argument 159 clientName, clientUid, videoSize, frameRate, surface, in CreateFromCamera() 171 int32_t frameRate, in CameraSource() argument 194 videoSize, frameRate, in CameraSource() 319 int32_t frameRate) { in configureCamera() argument 347 if (frameRate != -1) { in configureCamera() 348 CHECK(frameRate > 0 && frameRate <= 120); in configureCamera() 354 snprintf(buf, 4, "%d", frameRate); in configureCamera() 357 frameRate, supportedFrameRates); in configureCamera() 362 params->setPreviewFrameRate(frameRate); in configureCamera() [all …]
|
D | ACodec.cpp | 3004 float frameRate; in setupVideoEncoder() local 3005 if (!msg->findFloat("frame-rate", &frameRate)) { in setupVideoEncoder() 3010 frameRate = (float)tmp; in setupVideoEncoder() 3011 mTimePerFrameUs = (int64_t) (1000000.0f / frameRate); in setupVideoEncoder() 3014 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f); in setupVideoEncoder() 3147 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { in setPFramesSpacing() argument 3153 OMX_U32 ret = frameRate * iFramesInterval; in setPFramesSpacing() 3175 float frameRate; in setupMPEG4EncoderParameters() local 3176 if (!msg->findFloat("frame-rate", &frameRate)) { in setupMPEG4EncoderParameters() 3181 frameRate = (float)tmp; in setupMPEG4EncoderParameters() [all …]
|
D | OMXCodec.cpp | 888 int32_t width, height, frameRate, bitRate, stride, sliceHeight; in setVideoInputFormat() local 891 success = success && meta->findInt32(kKeyFrameRate, &frameRate); in setVideoInputFormat() 940 video_def->xFramerate = (frameRate << 16); // Q16 format in setVideoInputFormat() 1000 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { in setPFramesSpacing() argument 1006 OMX_U32 ret = frameRate * iFramesInterval - 1; in setPFramesSpacing() 1110 int32_t iFramesInterval, frameRate, bitRate; in setupH263EncoderParameters() local 1112 success = success && meta->findInt32(kKeyFrameRate, &frameRate); in setupH263EncoderParameters() 1126 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate); in setupH263EncoderParameters() 1157 int32_t iFramesInterval, frameRate, bitRate; in setupMPEG4EncoderParameters() local 1159 success = success && meta->findInt32(kKeyFrameRate, &frameRate); in setupMPEG4EncoderParameters() [all …]
|
/frameworks/av/include/media/stagefright/ |
D | CameraSource.h | 84 int32_t frameRate, 173 Size videoSize, int32_t frameRate, 215 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 220 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 231 int32_t frameRate); 237 int32_t frameRate);
|
D | ACodec.h | 326 OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate = -1.0);
|
/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/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 | 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 | 1474 int32_t frameRate = 0; in setupCameraSource() local 1476 kKeyFrameRate, &frameRate)); in setupCameraSource() 1478 "rate (%d fps)", frameRate); in setupCameraSource() 1479 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/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 121 streamInfo.videoInfo.frameRate = 0; in player_handleMediaPlayerEventNotifications()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 2124 OSCL_EXPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate) in PVUpdateEncFrameRate() argument 2144 …if (frameRate[i] > encData->encParams->LayerMaxFrameRate[i]) return PV_FALSE; /* set by users or p… in PVUpdateEncFrameRate() 2146 encData->encParams->LayerFrameRate[i] = frameRate[i]; in PVUpdateEncFrameRate()
|