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

12

/frameworks/av/media/libstagefright/
H A DCameraSource.cpp153 int32_t frameRate,
158 clientName, clientUid, videoSize, frameRate, surface,
170 int32_t frameRate,
193 videoSize, frameRate,
304 * if frameRate is -1, configuration on the frame rate
312 * @param frameRate the target frame rate in frames per second.
318 int32_t frameRate) {
346 if (frameRate != -1) {
347 CHECK(frameRate > 0 && frameRate <
146 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
163 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
315 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
443 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument
485 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
505 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.cpp2212 float frameRate; local
2213 if (!msg->findFloat("frame-rate", &frameRate)) {
2218 frameRate = (float)tmp;
2219 mTimePerFrameUs = (int64_t) (1000000.0f / frameRate);
2222 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f);
2349 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
2355 OMX_U32 ret = frameRate * iFramesInterval;
2377 float frameRate; local
2378 if (!msg->findFloat("frame-rate", &frameRate)) {
2383 frameRate
2458 float frameRate; local
2586 float frameRate; local
2694 float frameRate; local
2761 float frameRate; local
[all...]
H A DOMXCodec.cpp878 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local
881 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
930 video_def->xFramerate = (frameRate << 16); // Q16 format
990 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
996 OMX_U32 ret = frameRate * iFramesInterval - 1;
1100 int32_t iFramesInterval, frameRate, bitRate; local
1102 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1116 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate);
1147 int32_t iFramesInterval, frameRate, bitRate; local
1149 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1199 int32_t iFramesInterval, frameRate, bitRate; local
[all...]
/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);
441 int frameRate = MediaProfileReader
443 assertTrue("H263 video recording frame rate", frameRate != -1);
445 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
462 int frameRate = MediaProfileReader.getMaxFrameRateForCodec
464 assertTrue("MPEG4 video recording frame rate", frameRate != -1);
466 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
484 int frameRate = MediaProfileReader
486 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,
213 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
218 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
229 int32_t frameRate);
235 int32_t frameRate);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraSettings.java207 * @param frameRate The target frame rate.
209 public void setPreviewFrameRate(int frameRate) { argument
210 if (frameRate > 0) {
211 mPreviewFrameRate = frameRate;
212 mPreviewFpsRangeMax = frameRate;
213 mPreviewFpsRangeMin = frameRate;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java79 private void recordVideo(int frameRate, int width, int height, argument
91 mRecorder.setVideoFrameRate(frameRate);
226 int frameRate, int captureRate, int width, int height,
238 recorder.setVideoFrameRate(frameRate);
359 private boolean invalidRecordSetting(int frameRate, int width, int height, argument
370 mRecorder.setVideoFrameRate(frameRate);
446 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec);
447 recordVideo(frameRate, 352, 288, codec,
522 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec);
527 success = recordVideoFromSurface(frameRate,
225 recordVideoFromSurface( int frameRate, int captureRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
[all...]
/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.h228 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
233 mFrameRate(frameRate) {}
/frameworks/webview/chromium/tests/prebuilts/
H A Dandroid-janktesthelper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/uiautomator/ com/android/uiautomator/janktesthelper/ ...
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java132 * @param frameRate the framerate of the stream.
139 public static long parseTimeExpression(String time, int frameRate, int subframeRate, argument
152 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0;
155 / subframeRate / frameRate
173 value = value / frameRate * 1000000;
H A DMediaCodecInfo.java960 * {@code height}) and {@code frameRate} combination is supported.
963 int width, int height, double frameRate) {
964 return supports(width, height, frameRate);
962 areSizeAndRateSupported( int width, int height, double frameRate) argument
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1431 int32_t frameRate = 0; local
1433 kKeyFrameRate, &frameRate));
1435 "rate (%d fps)", frameRate);
1436 mFrameRate = frameRate;
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp1658 int32_t frameRate; local
1659 if (format->findInt32(kKeyFrameRate, &frameRate) && frameRate > 0) {
1660 return kNumSkipFrames * (1000000 / 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 743 milliseconds

12