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

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
H A Dm4v_h263_enc_test.cpp87 int32_t frameRate; local
88 frameRate = atoi(argv[6]);
89 if (frameRate > kMaxFrameRate || frameRate <= 0) {
90 fprintf(stderr, "Unsupported frame rate %d\n", frameRate);
148 encParams.encFrameRate[0] = frameRate;
156 encParams.tickPerSrc = encParams.timeIncRes / frameRate;
168 encParams.intraPeriod = (IDRFrameRefreshIntervalInSec * frameRate);
216 vin.timestamp = (numFramesEncoded * 1000) / frameRate; // in ms.
/frameworks/base/media/java/android/media/
H A DSyncParams.java55 * <p> <strong>frameRate:</strong> initial hint for video frame rate. Used when
262 * @param frameRate A non-negative number used as an initial hint on
267 public SyncParams setFrameRate(float frameRate) { argument
268 mFrameRate = frameRate;
H A DTtmlRenderer.java120 * @param frameRate the framerate of the stream.
127 public static long parseTimeExpression(String time, int frameRate, int subframeRate, argument
140 durationSeconds += (frames != null) ? ((double)Long.parseLong(frames)) / frameRate : 0;
143 / subframeRate / frameRate
161 value = value / frameRate * 1000000;
/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/jni/
H A Dandroid_media_SyncParams.h28 float frameRate; member in struct:android::SyncParams
H A Dandroid_media_SyncParams.cpp63 frameRate = env->GetFloatField(params, fields.frame_rate);
80 env->SetFloatField(params, fields.frame_rate, (jfloat)frameRate);
H A Dandroid_media_MediaSync.cpp402 scs.frameRateSet, scs.frameRate);
425 err = sync->setVideoFrameRateHint(scs.frameRate);
449 scs.frameRate = sync->getVideoFrameRate();
452 scs.sync.mSource, scs.sync.mAudioAdjustMode, scs.sync.mTolerance, scs.frameRate);
466 scs.frameRateSet = scs.frameRate >= 0.f;
H A Dandroid_media_MediaPlayer.cpp516 scp.frameRateSet, scp.frameRate);
536 err = mp->setSyncSettings(avsync, scp.frameRateSet ? scp.frameRate : -1.f);
554 scp.frameRate = -1.f;
556 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate),
560 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync.mTolerance, scp.frameRate);
574 scp.frameRateSet = scp.frameRate >= 0.f;
/frameworks/av/media/libstagefright/codecs/avc/enc/test/
H A Dh264_enc_test.cpp109 int32_t frameRate; local
110 frameRate = atoi(argv[5]);
111 if (frameRate > kMaxFrameRate || frameRate <= 0) {
112 fprintf(stderr, "Unsupported frame rate %d\n", frameRate);
197 encParams.frame_rate = 1000 * frameRate; // In frames/ms.
204 encParams.idr_period = (IDRFrameRefreshIntervalInSec * frameRate);
286 vin.coding_timestamp = (numInputFrames * 1000) / frameRate; // in ms
/frameworks/av/include/media/stagefright/
H A DCameraSource.h69 * @param frameRate the target frames per second
90 int32_t frameRate,
209 Size videoSize, int32_t frameRate,
280 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
285 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
301 int32_t frameRate);
307 int32_t frameRate);
H A DACodec.h372 OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate = -1.0);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java81 private void recordVideo(int frameRate, int width, int height, argument
93 mRecorder.setVideoFrameRate(frameRate);
228 int frameRate, int captureRate, int width, int height,
242 recorder.setVideoFrameRate(frameRate);
374 private boolean invalidRecordSetting(int frameRate, int width, int height, argument
385 mRecorder.setVideoFrameRate(frameRate);
484 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec);
485 recordVideo(frameRate, 352, 288, codec,
560 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec);
565 success = recordVideoFromSurface(frameRate,
227 recordVideoFromSurface( int frameRate, int captureRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly, Surface persistentSurface) argument
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp168 int32_t frameRate,
173 clientName, clientUid, clientPid, videoSize, frameRate, surface,
186 int32_t frameRate,
209 videoSize, frameRate,
320 * if frameRate is -1, configuration on the frame rate
328 * @param frameRate the target frame rate in frames per second.
334 int32_t frameRate) {
362 if (frameRate != -1) {
363 CHECK(frameRate > 0 && frameRate <
160 CreateFromCamera( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
178 CameraSource( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
331 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
459 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument
501 init( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
596 initWithCameraAccess( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
[all...]
H A DACodec.cpp3628 float frameRate; local
3629 if (!msg->findFloat("frame-rate", &frameRate)) {
3634 frameRate = (float)tmp;
3635 mTimePerFrameUs = (int64_t) (1000000.0f / frameRate);
3638 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f);
3800 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
3806 OMX_U32 ret = frameRate * iFramesInterval;
3828 float frameRate; local
3829 if (!msg->findFloat("frame-rate", &frameRate)) {
3834 frameRate
3909 float frameRate; local
4037 float frameRate; local
4161 float frameRate; local
4228 float frameRate; local
4368 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate) argument
[all...]
/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/performance/
H A DMediaPlayerPerformance.java222 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, argument
237 mRecorder.setVideoFrameRate(frameRate);
456 int frameRate = MediaProfileReader
458 assertTrue("H263 video recording frame rate", frameRate != -1);
460 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
477 int frameRate = MediaProfileReader.getMaxFrameRateForCodec
479 assertTrue("MPEG4 video recording frame rate", frameRate != -1);
481 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
499 int frameRate = MediaProfileReader
501 assertTrue("H263 video recording frame rate", frameRate !
[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/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.cpp834 sum = (sum * video->frameRate) / (10 * BITRATE_AVERAGE_WINDOW);
852 return video->frameRate;
1441 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.h184 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
189 mFrameRate(frameRate) {}
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1469 int32_t frameRate = 0; local
1471 kKeyFrameRate, &frameRate));
1473 "rate (%d fps)", frameRate);
1474 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;

Completed in 457 milliseconds

12