Searched defs:frameRate (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/media/jni/
H A Dandroid_media_SyncParams.h28 float frameRate; member in struct:android::SyncParams
/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;
H A DMediaCodecInfo.java1518 * {@code height}) and {@code frameRate} combination is supported.
1521 int width, int height, double frameRate) {
1522 return supports(width, height, frameRate);
1520 areSizeAndRateSupported( int width, int height, double frameRate) argument
/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/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/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/
H A DMediaProfiles.h210 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
215 mFrameRate(frameRate) {}
/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h210 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
215 mFrameRate(frameRate) {}
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp191 int32_t frameRate,
196 clientName, clientUid, clientPid, videoSize, frameRate, surface,
209 int32_t frameRate,
233 videoSize, frameRate,
344 * if frameRate is -1, configuration on the frame rate
352 * @param frameRate the target frame rate in frames per second.
358 int32_t frameRate) {
386 if (frameRate != -1) {
387 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
355 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
483 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument
525 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
620 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.cpp4020 float iFramesInterval /* seconds */, int32_t frameRate, uint32_t BFramesSpacing = 0) {
4041 uint32_t keyFrameInterval = uint32_t(frameRate * iFramesInterval);
4056 float frameRate; local
4057 if (!msg->findFloat("frame-rate", &frameRate)) {
4062 frameRate = (float)tmp;
4084 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, mpeg4type.nBFrames);
4138 float frameRate; local
4139 if (!msg->findFloat("frame-rate", &frameRate)) {
4144 frameRate = (float)tmp;
4162 h263type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, h263typ
4019 setPFramesSpacing( float iFramesInterval , int32_t frameRate, uint32_t BFramesSpacing = 0) argument
4268 float frameRate; local
4517 float frameRate; local
4566 float frameRate; local
4749 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp655 //video->frameRate = video->encParams->LayerFrameRate[0]; /* Set current layer frame rate */
2120 OSCL_EXPORT_REF Bool PVUpdateEncFrameRate(VideoEncControls *encCtrl, float *frameRate) argument
2138 //mbPerSec = (Int)(nTotalMB * frameRate[i]);
2140 if (frameRate[i] > encData->encParams->LayerMaxFrameRate[i]) return PV_FALSE; /* set by users or profile */
2142 encData->encParams->LayerFrameRate[i] = frameRate[i];
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp957 ALOGV("Recording frameRate: %d captureFps: %f",
1627 int32_t frameRate = 0; local
1629 kKeyFrameRate, &frameRate));
1631 "rate (%d fps)", frameRate);
1632 mFrameRate = 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
/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp1748 int32_t frameRate = local
1750 mLastTrack->meta.setInt32(kKeyFrameRate, frameRate);
1760 int32_t frameRate = (nSamples * 1000000LL + local
1762 mLastTrack->meta.setInt32(kKeyFrameRate, frameRate);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h3004 XAuint32 frameRate; member in struct:XAVideoSettings_
3095 XAuint32 frameRate; member in struct:XAVideoStreamInformation_

Completed in 765 milliseconds