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

12

/frameworks/av/media/libaaudio/examples/utils/
H A DSineGenerator.h28 void setup(double frequency, double frameRate) { argument
29 mFrameRate = frameRate;
30 mPhaseIncrement = frequency * M_PI * 2 / frameRate;
/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.cpp601 scp.frameRateSet, scp.frameRate);
621 err = mp->setSyncSettings(avsync, scp.frameRateSet ? scp.frameRate : -1.f);
639 scp.frameRate = -1.f;
641 env, thiz, mp->getSyncSettings(&scp.sync, &scp.frameRate),
645 scp.sync.mSource, scp.sync.mAudioAdjustMode, scp.sync.mTolerance, scp.frameRate);
659 scp.frameRateSet = scp.frameRate >= 0.f;
/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/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/av/include/media/stagefright/
H A DCameraSource.h70 * @param frameRate the target frames per second
91 int32_t frameRate,
213 Size videoSize, int32_t frameRate,
297 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
302 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
318 int32_t frameRate);
324 int32_t frameRate);
/frameworks/av/media/libstagefright/foundation/include/
H A DCameraSource.h70 * @param frameRate the target frames per second
91 int32_t frameRate,
213 Size videoSize, int32_t frameRate,
297 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
302 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
318 int32_t frameRate);
324 int32_t frameRate);
/frameworks/av/media/libstagefright/include/
H A DCameraSource.h70 * @param frameRate the target frames per second
91 int32_t frameRate,
213 Size videoSize, int32_t frameRate,
297 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
302 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers);
318 int32_t frameRate);
324 int32_t 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/av/media/libaaudio/src/fifo/
H A DFifoBuffer.h86 int64_t getNextReadTime(int32_t frameRate);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp191 int32_t frameRate,
196 clientName, clientUid, clientPid, videoSize, frameRate, surface,
209 int32_t frameRate,
232 videoSize, frameRate,
343 * if frameRate is -1, configuration on the frame rate
351 * @param frameRate the target frame rate in frames per second.
357 int32_t frameRate) {
385 if (frameRate != -1) {
386 CHECK(frameRate > 0 && frameRate <
183 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
201 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
354 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
482 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument
524 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
619 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.cpp3975 float iFramesInterval /* seconds */, int32_t frameRate, uint32_t BFramesSpacing = 0) {
3996 uint32_t keyFrameInterval = uint32_t(frameRate * iFramesInterval);
4020 float frameRate; local
4021 if (!msg->findFloat("frame-rate", &frameRate)) {
4026 frameRate = (float)tmp;
4048 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, mpeg4type.nBFrames);
4102 float frameRate; local
4103 if (!msg->findFloat("frame-rate", &frameRate)) {
4108 frameRate = (float)tmp;
4126 h263type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, h263typ
3974 setPFramesSpacing( float iFramesInterval , int32_t frameRate, uint32_t BFramesSpacing = 0) argument
4231 float frameRate; local
4393 float frameRate; local
4460 float frameRate; local
4637 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate) 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/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
/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.h209 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
214 mFrameRate(frameRate) {}
/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h209 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
214 mFrameRate(frameRate) {}
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp946 ALOGV("Recording frameRate: %d captureFps: %f",
1601 int32_t frameRate = 0; local
1603 kKeyFrameRate, &frameRate));
1605 "rate (%d fps)", frameRate);
1606 mFrameRate = frameRate;

Completed in 7634 milliseconds

12