/frameworks/av/media/libaaudio/examples/utils/ |
H A D | SineGenerator.h | 28 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 D | m4v_h263_enc_test.cpp | 87 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 D | SyncParams.java | 55 * <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 D | TtmlRenderer.java | 120 * @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 D | MediaRecorderStressTestRunner.java | 67 String frameRate = (String) icicle.get("frame_rate"); 83 if (frameRate != null) { 84 mFrameRate = Integer.parseInt(frameRate);
|
/frameworks/base/media/jni/ |
H A D | android_media_SyncParams.h | 28 float frameRate; member in struct:android::SyncParams
|
H A D | android_media_SyncParams.cpp | 63 frameRate = env->GetFloatField(params, fields.frame_rate); 80 env->SetFloatField(params, fields.frame_rate, (jfloat)frameRate);
|
H A D | android_media_MediaSync.cpp | 402 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 D | android_media_MediaPlayer.cpp | 601 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 D | MediaRecorderTest.java | 81 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 D | CameraSettings.java | 207 * @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 D | CameraSource.h | 70 * @param frameRate the target frames per second 91 int32_t frameRate, 214 Size videoSize, int32_t frameRate, 299 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 304 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 320 int32_t frameRate); 326 int32_t frameRate);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | CameraSource.h | 70 * @param frameRate the target frames per second 91 int32_t frameRate, 214 Size videoSize, int32_t frameRate, 299 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 304 Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers); 320 int32_t frameRate); 326 int32_t frameRate);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 222 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 D | FifoBuffer.h | 88 int64_t getNextReadTime(int32_t frameRate);
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 191 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 D | ACodec.cpp | 3976 float iFramesInterval /* seconds */, int32_t frameRate, uint32_t BFramesSpacing = 0) { 3997 uint32_t keyFrameInterval = uint32_t(frameRate * iFramesInterval); 4021 float frameRate; local 4022 if (!msg->findFloat("frame-rate", &frameRate)) { 4027 frameRate = (float)tmp; 4049 mpeg4type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, mpeg4type.nBFrames); 4103 float frameRate; local 4104 if (!msg->findFloat("frame-rate", &frameRate)) { 4109 frameRate = (float)tmp; 4127 h263type.nPFrames = setPFramesSpacing(iFrameInterval, frameRate, h263typ 3975 setPFramesSpacing( float iFramesInterval , int32_t frameRate, uint32_t BFramesSpacing = 0) argument 4233 float frameRate; local 4400 float frameRate; local 4467 float frameRate; local 4644 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 D | MediaRecorderStressTest.java | 176 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 D | mp4lib_int.h | 250 int frameRate; /* Output frame Rate (over 10 seconds) */ member in struct:tagVideoDecData
|
H A D | post_filter.cpp | 62 if (PVGetDecBitrate(video->videoDecControls) > (100*video->frameRate*(size >> 12))) // MC_sofDeblock
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
H A D | mp4enc_api.h | 163 /** @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 D | MediaProfiles.h | 209 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument 214 mFrameRate(frameRate) {}
|
/frameworks/av/media/libmedia/include/media/ |
H A D | MediaProfiles.h | 209 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument 214 mFrameRate(frameRate) {}
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 946 ALOGV("Recording frameRate: %d captureFps: %f", 1601 int32_t frameRate = 0; local 1603 kKeyFrameRate, &frameRate)); 1605 "rate (%d fps)", frameRate); 1606 mFrameRate = frameRate;
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 251 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,
|