Home
last modified time | relevance | path

Searched refs:frameRate (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/
DCameraSource.cpp142 int32_t frameRate, in CreateFromCamera() argument
147 clientName, clientUid, videoSize, frameRate, surface, in CreateFromCamera()
159 int32_t frameRate, in CameraSource() argument
182 videoSize, frameRate, in CameraSource()
307 int32_t frameRate) { in configureCamera() argument
335 if (frameRate != -1) { in configureCamera()
336 CHECK(frameRate > 0 && frameRate <= 120); in configureCamera()
342 snprintf(buf, 4, "%d", frameRate); in configureCamera()
345 frameRate, supportedFrameRates); in configureCamera()
350 params->setPreviewFrameRate(frameRate); in configureCamera()
[all …]
DACodec.cpp1852 float frameRate; in setupVideoEncoder() local
1853 if (!msg->findFloat("frame-rate", &frameRate)) { in setupVideoEncoder()
1858 frameRate = (float)tmp; in setupVideoEncoder()
1861 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f); in setupVideoEncoder()
1984 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { in setPFramesSpacing() argument
1990 OMX_U32 ret = frameRate * iFramesInterval; in setPFramesSpacing()
2013 float frameRate; in setupMPEG4EncoderParameters() local
2014 if (!msg->findFloat("frame-rate", &frameRate)) { in setupMPEG4EncoderParameters()
2019 frameRate = (float)tmp; in setupMPEG4EncoderParameters()
2040 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate); in setupMPEG4EncoderParameters()
[all …]
DOMXCodec.cpp783 int32_t width, height, frameRate, bitRate, stride, sliceHeight; in setVideoInputFormat() local
786 success = success && meta->findInt32(kKeyFrameRate, &frameRate); in setVideoInputFormat()
833 video_def->xFramerate = (frameRate << 16); // Q16 format in setVideoInputFormat()
893 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { in setPFramesSpacing() argument
899 OMX_U32 ret = frameRate * iFramesInterval - 1; in setPFramesSpacing()
1004 int32_t iFramesInterval, frameRate, bitRate; in setupH263EncoderParameters() local
1006 success = success && meta->findInt32(kKeyFrameRate, &frameRate); in setupH263EncoderParameters()
1020 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate); in setupH263EncoderParameters()
1051 int32_t iFramesInterval, frameRate, bitRate; in setupMPEG4EncoderParameters() local
1053 success = success && meta->findInt32(kKeyFrameRate, &frameRate); in setupMPEG4EncoderParameters()
[all …]
DMPEG4Extractor.cpp1418 int32_t frameRate = (nSamples * 1000000LL + in parseChunk() local
1420 mLastTrack->meta->setInt32(kKeyFrameRate, frameRate); in parseChunk()
/frameworks/av/include/media/stagefright/
DCameraSource.h84 int32_t frameRate,
171 Size videoSize, int32_t frameRate,
211 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
216 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
227 int32_t frameRate);
233 int32_t frameRate);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java222 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, in stressVideoRecord() argument
237 mRecorder.setVideoFrameRate(frameRate); in stressVideoRecord()
426 int frameRate = MediaProfileReader in testH263RecordVideoOnlyMemoryUsage() local
428 assertTrue("H263 video recording frame rate", frameRate != -1); in testH263RecordVideoOnlyMemoryUsage()
430 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testH263RecordVideoOnlyMemoryUsage()
447 int frameRate = MediaProfileReader.getMaxFrameRateForCodec in testMpeg4RecordVideoOnlyMemoryUsage() local
449 assertTrue("MPEG4 video recording frame rate", frameRate != -1); in testMpeg4RecordVideoOnlyMemoryUsage()
451 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testMpeg4RecordVideoOnlyMemoryUsage()
469 int frameRate = MediaProfileReader in testRecordVideoAudioMemoryUsage() local
471 assertTrue("H263 video recording frame rate", frameRate != -1); in testRecordVideoAudioMemoryUsage()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java67 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/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java73 private void recordVideo(int frameRate, int width, int height, in recordVideo() argument
85 mRecorder.setVideoFrameRate(frameRate); in recordVideo()
174 private boolean invalidRecordSetting(int frameRate, int width, int height, in invalidRecordSetting() argument
185 mRecorder.setVideoFrameRate(frameRate); in invalidRecordSetting()
261 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec); in testPortraitH263() local
262 recordVideo(frameRate, 352, 288, codec, in testPortraitH263()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java176 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/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
DJankTestBase.java329 double frameRate = SurfaceFlingerHelper.getFrameRate(); in recordResults() local
334 if (jankinessCount >=0 && frameRate > 0) { in recordResults()
336 frameRateArray[iteration] = frameRate; in recordResults()
346 jankinessCount, frameRate, maxDeltaVsync); in recordResults()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1307 int32_t frameRate = 0; in setupSurfaceMediaSource() local
1309 kKeyFrameRate, &frameRate)); in setupSurfaceMediaSource()
1311 "rate (%d fps)", frameRate); in setupSurfaceMediaSource()
1312 mFrameRate = frameRate; in setupSurfaceMediaSource()
1368 int32_t frameRate = 0; in setupCameraSource() local
1370 kKeyFrameRate, &frameRate)); in setupCameraSource()
1372 "rate (%d fps)", frameRate); in setupCameraSource()
1373 mFrameRate = frameRate; in setupCameraSource()
/frameworks/av/include/media/
DMediaProfiles.h217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) in VideoCodec()
222 mFrameRate(frameRate) {} in VideoCodec()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dmp4lib_int.h250 int frameRate; /* Output frame Rate (over 10 seconds) */ member
Dpost_filter.cpp62 …if (PVGetDecBitrate(video->videoDecControls) > (100*video->frameRate*(size >> 12))) // MC_sofDebl… in PostFilter()
Dpvdec_api.cpp782 sum = (sum * video->frameRate) / (10 * BITRATE_AVERAGE_WINDOW); in PVGetDecBitrate()
800 return video->frameRate; in PVGetDecFramerate()
1389 video->frameRate = (int)(FRAMERATE_SCALE) / video->duration; in PVDecodeVopBody()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
Dmp4enc_api.h403 …OSCL_IMPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate); /* for …
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1395 int32_t frameRate; in resumeThreshold() local
1396 if (format->findInt32(kKeyFrameRate, &frameRate) && frameRate > 0) { in resumeThreshold()
1397 return kNumSkipFrames * (1000000 / frameRate); in resumeThreshold()
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c252 videoInfo.width, videoInfo.height, videoInfo.codecId, videoInfo.frameRate, in StreamChangeCallback()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp121 streamInfo.videoInfo.frameRate = 0; in player_handleMediaPlayerEventNotifications()
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c698 printf(" frameRate = %u\n", videoStreamInformation.frameRate); in main()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_api.cpp2091 OSCL_EXPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate) in PVUpdateEncFrameRate() argument
2111 …if (frameRate[i] > encData->encParams->LayerMaxFrameRate[i]) return PV_FALSE; /* set by users or p… in PVUpdateEncFrameRate()
2113 encData->encParams->LayerFrameRate[i] = frameRate[i]; in PVUpdateEncFrameRate()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h3004 XAuint32 frameRate; member
3095 XAuint32 frameRate; member