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

/frameworks/base/include/media/stagefright/
H A DCameraSource.h57 * @param frameRate the target frames per second
75 int32_t frameRate,
161 Size videoSize, int32_t frameRate,
201 int32_t cameraId, Size videoSize, int32_t frameRate,
206 int32_t cameraId, Size videoSize, int32_t frameRate,
215 int32_t frameRate);
221 int32_t frameRate);
/frameworks/base/media/libstagefright/
H A DCameraSource.cpp135 int32_t frameRate,
140 videoSize, frameRate, surface,
150 int32_t frameRate,
171 videoSize, frameRate,
282 * if frameRate is -1, configuration on the frame rate
290 * @param frameRate the target frame rate in frames per second.
296 int32_t frameRate) {
324 if (frameRate != -1) {
325 CHECK(frameRate > 0 && frameRate <
130 CreateFromCamera( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, const sp<Surface>& surface, bool storeMetaDataInVideoBuffers) argument
145 CameraSource( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, const sp<Surface>& surface, bool storeMetaDataInVideoBuffers) argument
293 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument
421 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument
463 init( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
481 initWithCameraAccess( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
[all...]
H A DOMXCodec.cpp966 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local
969 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1016 video_def->xFramerate = (frameRate << 16); // Q16 format
1076 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument
1082 OMX_U32 ret = frameRate * iFramesInterval;
1187 int32_t iFramesInterval, frameRate, bitRate; local
1189 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1203 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate);
1234 int32_t iFramesInterval, frameRate, bitRate; local
1236 success = success && meta->findInt32(kKeyFrameRate, &frameRate);
1286 int32_t iFramesInterval, frameRate, bitRate; local
[all...]
H A DMPEG4Extractor.cpp1088 int32_t frameRate = (nSamples * 1000000LL + local
1090 mLastTrack->meta->setInt32(kKeyFrameRate, frameRate);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java205 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, argument
220 mRecorder.setVideoFrameRate(frameRate);
402 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.H263);
403 assertTrue("H263 video recording frame rate", frameRate != -1);
405 assertTrue(stressVideoRecord(frameRate, 352, 288, MediaRecorder.VideoEncoder.H263,
422 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.MPEG_4_SP);
423 assertTrue("MPEG4 video recording frame rate", frameRate != -1);
425 assertTrue(stressVideoRecord(frameRate, 352, 288, MediaRecorder.VideoEncoder.MPEG_4_SP,
442 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.H263);
443 assertTrue("H263 video recording frame rate", frameRate !
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java71 private void recordVideo(int frameRate, int width, int height, argument
83 mRecorder.setVideoFrameRate(frameRate);
172 private boolean invalidRecordSetting(int frameRate, int width, int height, argument
183 mRecorder.setVideoFrameRate(frameRate);
259 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec);
260 recordVideo(frameRate, 352, 288, codec,
/frameworks/base/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/base/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/base/include/media/
H A DMediaProfiles.h217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument
222 mFrameRate(frameRate) {}
/frameworks/base/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1268 int32_t frameRate = 0; local
1270 kKeyFrameRate, &frameRate));
1272 "rate (%d fps)", frameRate);
1273 mFrameRate = frameRate;
1319 int32_t frameRate = 0; local
1321 kKeyFrameRate, &frameRate));
1323 "rate (%d fps)", frameRate);
1324 mFrameRate = frameRate;
/frameworks/base/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];

Completed in 1155 milliseconds