Home
last modified time | relevance | path

Searched refs:mFrameRate (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libaaudio/examples/utils/
DSineGenerator.h29 mFrameRate = frameRate; in setup()
36 mPhaseIncrementLow = frequencyLow * M_PI * 2 / mFrameRate; in setSweep()
37 mPhaseIncrementHigh = frequencyHigh * M_PI * 2 / mFrameRate; in setSweep()
38 double numFrames = seconds * mFrameRate; in setSweep()
93 double mFrameRate = 48000; variable
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java81 private int mFrameRate = 0; field in RgbPlayerActivity.RgbView
124 mFrameRate = Integer.parseInt(prop.getProperty("frameRate")); in RgbView()
164 mTimer.scheduleAtFixedRate(mImageTask, 0, 1000 / mFrameRate); in attachMediaController()
225 return mImageIndex * 1000 / mFrameRate; in getCurrentPosition()
229 return mImageList.size() * 1000 / mFrameRate; in getDuration()
241 mImageIndex = pos * mFrameRate / 1000; in seekTo()
/frameworks/base/media/java/android/media/
DSyncParams.java163 private float mFrameRate = 0.f; field in SyncParams
262 mFrameRate = frameRate; in setFrameRate()
279 return mFrameRate; in getFrameRate()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp158 mAnalyticsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics()
337 mFrameRate = frames_per_second; in setVideoFrameRate()
970 mFrameRate, mCaptureFps); in prepareInternal()
1073 if (mCaptureFpsEnable && mCaptureFps >= mFrameRate) { in createAudioSource()
1081 (mSampleRate * mCaptureFps + mFrameRate / 2) / mFrameRate; in createAudioSource()
1085 mSampleRate, mCaptureFps, mFrameRate); in createAudioSource()
1351 if (mFrameRate == -1) { in clipVideoFrameRate()
1352 mFrameRate = mEncoderProfiles->getCamcorderProfileParamByName( in clipVideoFrameRate()
1354 ALOGW("Using default video fps %d", mFrameRate); in clipVideoFrameRate()
1361 if (mFrameRate < minFrameRate && minFrameRate != -1) { in clipVideoFrameRate()
[all …]
DStagefrightRecorder.h110 int32_t mFrameRate; member
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h217 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
288 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl()
291 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl()
293 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl()
405 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l()
414 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod()
421 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; variable
DC2SoftVpxEnc.cpp123 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
290 (uint32_t)(mCodecConfiguration->rc_buf_optimal_sz * mFrameRate->value / 20 + 0.5); in initEncoder()
583 float frameRate = mFrameRate->value; in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp98 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl()
101 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl()
103 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl()
203 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l()
209 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod()
216 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftMpeg4Enc::IntfImpl
318 if (mFrameRate->value == 0) { in initEncParams()
326 mEncParams->encFrameRate[0] = mFrameRate->value + 0.5; in initEncParams()
334 mEncParams->tickPerSrc = mEncParams->timeIncRes / (mFrameRate->value + 0.5); in initEncParams()
369 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
DC2SoftMpeg4Enc.h66 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h226 mFrameRate(frameRate) {} in VideoCodec()
233 mFrameRate = copy.mFrameRate; in VideoCodec()
242 int mFrameRate; member
/frameworks/av/include/media/
DMediaProfiles.h226 mFrameRate(frameRate) {} in VideoCodec()
233 mFrameRate = copy.mFrameRate; in VideoCodec()
242 int mFrameRate; member
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java40 public static int mFrameRate = profile.videoFrameRate; field in MediaRecorderStressTestRunner
84 mFrameRate = Integer.parseInt(frameRate); in onCreate()
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp66 mFrameRate(fps), in DummySource()
119 kKeyTime, (mNumFramesOutput * 1000000) / mFrameRate); in read()
132 int mFrameRate; member in DummySource
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp96 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl()
98 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl()
100 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl()
155 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl()
316 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod_l()
324 return mFrameRate; in getFrameRate_l()
345 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftHevcEnc::IntfImpl
458 mFrameRate->value * mEncParams.s_src_prms.i4_frm_rate_denom; in initEncParams()
531 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
DC2SoftHevcEnc.h83 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java160 private float mFrameRate; field in BrightnessTracker
392 float numMillis = (sample.getNumFrames() / mFrameRate) * 1000.0f; in handleBrightnessChanged()
756 pw.println(" mFrameRate=" + mFrameRate); in dumpLocal()
766 mFrameRate = mInjector.getFrameRate(mContext); in enableColorSampling()
767 if (mFrameRate <= 0) { in enableColorSampling()
771 mNoFramesToSample = (int) (mFrameRate * COLOR_SAMPLE_DURATION); in enableColorSampling()
817 if (frameRate != mFrameRate) { in updateColorSampling()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp131 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl()
134 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl()
135 .withSetter(Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl()
185 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl()
385 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod_l()
392 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l()
400 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftAvcEnc::IntfImpl
570 s_frame_rate_ip.u4_src_frame_rate = mFrameRate->value + 0.5; in setFrameRate()
571 s_frame_rate_ip.u4_tgt_frame_rate = mFrameRate->value + 0.5; in setFrameRate()
924 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
DC2SoftAvcEnc.h192 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java191 mInjector.mFrameRate = 120.0f; in testColorSampling_FrameRateChange()
813 float mFrameRate = 60.0f; field in BrightnessTrackerTest.TestInjector
987 return mFrameRate; in getFrameRate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java194 frameRate = MediaRecorderStressTestRunner.mFrameRate; in recordVideoAndPlayback()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp124 ALOGV("frame rate: %d", codec.mFrameRate); in logVideoCodec()
1049 if (!strcmp("vid.fps", name)) return mCamcorderProfiles[index]->mVideoCodec->mFrameRate; in getCamcorderProfileParamByName()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt43745 Landroid/media/SyncParams;->mFrameRate:F