/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 73 private void recordVideo(int frameRate, int width, int height, argument 85 mRecorder.setVideoFrameRate(frameRate); 174 private boolean invalidRecordSetting(int frameRate, int width, int height, argument 185 mRecorder.setVideoFrameRate(frameRate); 261 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(codec); 262 recordVideo(frameRate, 352, 288, codec,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 218 private boolean stressVideoRecord(int frameRate, int width, int height, int videoFormat, argument 233 mRecorder.setVideoFrameRate(frameRate); 412 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.H263); 413 assertTrue("H263 video recording frame rate", frameRate != -1); 415 assertTrue(stressVideoRecord(frameRate, 352, 288, MediaRecorder.VideoEncoder.H263, 430 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.MPEG_4_SP); 431 assertTrue("MPEG4 video recording frame rate", frameRate != -1); 433 assertTrue(stressVideoRecord(frameRate, 352, 288, MediaRecorder.VideoEncoder.MPEG_4_SP, 449 int frameRate = MediaProfileReader.getMaxFrameRateForCodec(MediaRecorder.VideoEncoder.H263); 450 assertTrue("H263 video recording frame rate", frameRate ! [all...] |
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 139 int32_t frameRate, 144 videoSize, frameRate, surface, 154 int32_t frameRate, 176 videoSize, frameRate, 287 * if frameRate is -1, configuration on the frame rate 295 * @param frameRate the target frame rate in frames per second. 301 int32_t frameRate) { 329 if (frameRate != -1) { 330 CHECK(frameRate > 0 && frameRate < 134 CreateFromCamera( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, const sp<Surface>& surface, bool storeMetaDataInVideoBuffers) argument 149 CameraSource( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, const sp<Surface>& surface, bool storeMetaDataInVideoBuffers) argument 298 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument 426 checkFrameRate( const CameraParameters& params, int32_t frameRate) argument 468 init( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument 486 initWithCameraAccess( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument [all...] |
H A D | ACodec.cpp | 1538 float frameRate; local 1539 if (!msg->findFloat("frame-rate", &frameRate)) { 1544 frameRate = (float)tmp; 1547 video_def->xFramerate = (OMX_U32)(frameRate * 65536.0f); 1628 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument 1634 OMX_U32 ret = frameRate * iFramesInterval; 1657 float frameRate; local 1658 if (!msg->findFloat("frame-rate", &frameRate)) { 1663 frameRate = (float)tmp; 1684 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate); 1738 float frameRate; local 1814 float frameRate; local [all...] |
H A D | MPEG4Extractor.cpp | 1092 int32_t frameRate = (nSamples * 1000000LL + local 1094 mLastTrack->meta->setInt32(kKeyFrameRate, frameRate);
|
H A D | OMXCodec.cpp | 777 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local 780 success = success && meta->findInt32(kKeyFrameRate, &frameRate); 827 video_def->xFramerate = (frameRate << 16); // Q16 format 887 static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { argument 893 OMX_U32 ret = frameRate * iFramesInterval - 1; 998 int32_t iFramesInterval, frameRate, bitRate; local 1000 success = success && meta->findInt32(kKeyFrameRate, &frameRate); 1014 h263type.nPFrames = setPFramesSpacing(iFramesInterval, frameRate); 1045 int32_t iFramesInterval, frameRate, bitRate; local 1047 success = success && meta->findInt32(kKeyFrameRate, &frameRate); 1097 int32_t iFramesInterval, frameRate, bitRate; local [all...] |
/frameworks/av/include/media/ |
H A D | MediaProfiles.h | 217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument 222 mFrameRate(frameRate) {}
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 644 //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/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1282 int32_t frameRate = 0; local 1284 kKeyFrameRate, &frameRate)); 1286 "rate (%d fps)", frameRate); 1287 mFrameRate = frameRate; 1339 int32_t frameRate = 0; local 1341 kKeyFrameRate, &frameRate)); 1343 "rate (%d fps)", frameRate); 1344 mFrameRate = frameRate;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4lib_int.h | 250 int frameRate; /* Output frame Rate (over 10 seconds) */ member in struct:tagVideoDecData
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 3004 XAuint32 frameRate; member in struct:XAVideoSettings_ 3095 XAuint32 frameRate; member in struct:XAVideoStreamInformation_
|