Searched refs:frameRate (Results 1 - 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/
H A DCameraSource.cpp142 int32_t frameRate,
147 clientName, clientUid, videoSize, frameRate, surface,
159 int32_t frameRate,
182 videoSize, frameRate,
293 * if frameRate is -1, configuration on the frame rate
301 * @param frameRate the target frame rate in frames per second.
307 int32_t frameRate) {
335 if (frameRate != -1) {
336 CHECK(frameRate > 0 && frameRate <
135 CreateFromCamera( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
152 CameraSource( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
304 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
432 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument
474 init( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
494 initWithCameraAccess( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
[all...]
H A DACodec.cpp1843 float frameRate; local
1844 if (!msg->findFloat("frame-rate", &frameRate)) {
1849 frameRate = (float)tmp;
1852 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f);
1975 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
1981 OMX_U32 ret = frameRate * iFramesInterval;
2004 float frameRate; local
2005 if (!msg->findFloat("frame-rate", &frameRate)) {
2010 frameRate = (float)tmp;
2031 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate);
2085 float frameRate; local
2161 float frameRate; local
[all...]
H A DOMXCodec.cpp783 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local
786 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
833 video_def->xFramerate = (frameRate << 16); // Q16 format
893 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
899 OMX_U32 ret = frameRate * iFramesInterval - 1;
1004 int32_t iFramesInterval, frameRate, bitRate; local
1006 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1020 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate);
1051 int32_t iFramesInterval, frameRate, bitRate; local
1053 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1103 int32_t iFramesInterval, frameRate, bitRate; local
[all...]
H A DMPEG4Extractor.cpp1412 int32_t frameRate = (nSamples * 1000000LL + local
1414 mLastTrack->meta->setInt32(kKeyFrameRate, frameRate);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java67 String frameRate = (String) icicle.get("frame_rate");
83 if (frameRate != null) {
84 mFrameRate = Integer.parseInt(frameRate);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java222 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, argument
237 mRecorder.setVideoFrameRate(frameRate);
426 int frameRate = MediaProfileReader
428 assertTrue("H263 video recording frame rate", frameRate != -1);
430 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
447 int frameRate = MediaProfileReader.getMaxFrameRateForCodec
449 assertTrue("MPEG4 video recording frame rate", frameRate != -1);
451 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
469 int frameRate = MediaProfileReader
471 assertTrue("H263 video recording frame rate", frameRate !
[all...]
/frameworks/av/include/media/stagefright/
H A DCameraSource.h64 * @param frameRate the target frames per second
84 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/functional/mediarecorder/
H A DMediaRecorderTest.java73 private void recordVideo(int frameRate, int width, int height, argument
85 mRecorder.setVideoFrameRate(frameRate);
174 private boolean invalidRecordSetting(int frameRate, int width, int height, argument
185 mRecorder.setVideoFrameRate(frameRate);
261 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec);
262 recordVideo(frameRate, 352, 288, codec,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java176 int frameRate;
187 frameRate = camcorderProfile.videoFrameRate;
194 frameRate = MediaRecorderStressTestRunner.mFrameRate;
223 Log.v(TAG, "frame rate : " + frameRate);
234 mRecorder.setVideoFrameRate(frameRate);
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
H A DJankTestBase.java329 double frameRate = SurfaceFlingerHelper.getFrameRate();
334 if (jankinessCount >=0 && frameRate > 0) {
336 frameRateArray[iteration] = frameRate;
346 jankinessCount, frameRate, maxDeltaVsync);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4lib_int.h250 int frameRate; /* Output frame Rate (over 10 seconds) */ member in struct:tagVideoDecData
H A Dpost_filter.cpp62 if (PVGetDecBitrate(video->videoDecControls) > (100*video->frameRate*(size >> 12))) // MC_sofDeblock
H A Dpvdec_api.cpp782 sum = (sum * video->frameRate) / (10 * BITRATE_AVERAGE_WINDOW);
800 return video->frameRate;
1389 video->frameRate = (int)(FRAMERATE_SCALE) / video->duration;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dmp4enc_api.h163 /** @brief Specifies target frame rates in frames per second, frameRate[n] represents the n-th layer's target frame rate.*/
399 * @param frameRate is the pointers to array of target frame rates in frames per second,
400 * frameRate[n] represents the n-th layer's target frame rate.
403 OSCL_IMPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate); /* for 2-way */
/frameworks/av/include/media/
H A DMediaProfiles.h217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
222 mFrameRate(frameRate) {}
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1307 int32_t frameRate = 0; local
1309 kKeyFrameRate, &frameRate));
1311 "rate (%d fps)", frameRate);
1312 mFrameRate = frameRate;
1368 int32_t frameRate = 0; local
1370 kKeyFrameRate, &frameRate));
1372 "rate (%d fps)", frameRate);
1373 mFrameRate = frameRate;
/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c251 ALOGI("Found video size %u x %u, codec ID=%u, frameRate=%u, bitRate=%u, duration=%u ms",
252 videoInfo.width, videoInfo.height, videoInfo.codecId, videoInfo.frameRate,
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp121 streamInfo.videoInfo.frameRate = 0;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp644 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */
2091 OSCL_EXPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate) argument
2109 //mbPerSec = (Int)(nTotalMB * frameRate[i]);
2111 if (frameRate[i] > encData->encParams->LayerMaxFrameRate[i]) return PV_FALSE; /* set by users or profile */
2113 encData->encParams->LayerFrameRate[i] = frameRate[i];
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c698 printf(" frameRate = %u\n", videoStreamInformation.frameRate);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3004 XAuint32 frameRate; member in struct:XAVideoSettings_
3095 XAuint32 frameRate; member in struct:XAVideoStreamInformation_

Completed in 820 milliseconds