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.cpp1614 float frameRate; local
1615 if (!msg->findFloat("frame-rate", &frameRate)) {
1620 frameRate = (float)tmp;
1623 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f);
1741 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
1747 OMX_U32 ret = frameRate * iFramesInterval;
1770 float frameRate; local
1771 if (!msg->findFloat("frame-rate", &frameRate)) {
1776 frameRate = (float)tmp;
1797 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate);
1851 float frameRate; local
1927 float frameRate; local
[all...]
H A DOMXCodec.cpp788 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local
791 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
838 video_def->xFramerate = (frameRate << 16); // Q16 format
898 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
904 OMX_U32 ret = frameRate * iFramesInterval - 1;
1009 int32_t iFramesInterval, frameRate, bitRate; local
1011 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1025 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate);
1056 int32_t iFramesInterval, frameRate, bitRate; local
1058 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1108 int32_t iFramesInterval, frameRate, bitRate; local
[all...]
H A DMPEG4Extractor.cpp1334 int32_t frameRate = (nSamples * 1000000LL + local
1336 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.java214 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, argument
229 mRecorder.setVideoFrameRate(frameRate);
415 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.H263);
416 assertTrue("H263 video recording frame rate", frameRate != -1);
418 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
434 int frameRate = MediaProfileReader.getMaxFrameRateForCodec
436 assertTrue("MPEG4 video recording frame rate", frameRate != -1);
438 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
455 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.H263);
456 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.cpp1291 int32_t frameRate = 0; local
1293 kKeyFrameRate, &frameRate));
1295 "rate (%d fps)", frameRate);
1296 mFrameRate = frameRate;
1349 int32_t frameRate = 0; local
1351 kKeyFrameRate, &frameRate));
1353 "rate (%d fps)", frameRate);
1354 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 490 milliseconds