/frameworks/av/media/libaaudio/examples/utils/ |
D | SineGenerator.h | 29 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/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
D | Mpeg4H263EncoderTest.cpp | 73 mFrameRate = get<4>(params); in SetUp() 82 ASSERT_LE(mFrameRate, 30) << "Frame rate less than or equal to 30"; in SetUp() 101 float mFrameRate; member in Mpeg4H263EncoderTest 138 mEncodeHandle->encFrameRate[0] = mFrameRate; in initEncoderParams() 140 mEncodeHandle->tickPerSrc = mEncodeHandle->timeIncRes / mFrameRate; in initEncoderParams() 145 mEncodeHandle->intraPeriod = (kIDRFrameRefreshIntervalInSec * mFrameRate); in initEncoderParams() 173 videoIn.timestamp = (numEncodedFrames * 1000) / mFrameRate; // in ms. in processEncoder()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | RgbPlayerActivity.java | 81 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/ |
D | SyncParams.java | 163 private float mFrameRate = 0.f; field in SyncParams 262 mFrameRate = frameRate; in setFrameRate() 279 return mFrameRate; in getFrameRate()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 159 mMetricsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics() 357 mFrameRate = frames_per_second; in setVideoFrameRate() 990 mFrameRate, mCaptureFps); in prepareInternal() 1093 if (mCaptureFpsEnable && mCaptureFps >= mFrameRate) { in createAudioSource() 1101 (mSampleRate * mCaptureFps + mFrameRate / 2) / mFrameRate; in createAudioSource() 1105 mSampleRate, mCaptureFps, mFrameRate); in createAudioSource() 1397 if (mFrameRate == -1) { in clipVideoFrameRate() 1398 mFrameRate = mEncoderProfiles->getCamcorderProfileParamByName( in clipVideoFrameRate() 1400 ALOGW("Using default video fps %d", mFrameRate); in clipVideoFrameRate() 1407 if (mFrameRate < minFrameRate && minFrameRate != -1) { in clipVideoFrameRate() [all …]
|
D | StagefrightRecorder.h | 120 int32_t mFrameRate; member
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.h | 217 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member 289 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 292 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 294 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 406 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l() 415 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod() 422 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; variable
|
D | C2SoftVpxEnc.cpp | 124 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 295 (uint32_t)(mCodecConfiguration->rc_buf_optimal_sz * mFrameRate->value / 20 + 0.5); in initEncoder() 588 float frameRate = mFrameRate->value; in process()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 98 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()
|
D | C2SoftMpeg4Enc.h | 66 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 64 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_FRAME_RATE, &mFrameRate) || in createCodec2Component() 65 (mFrameRate <= 0)) { in createCodec2Component() 66 mFrameRate = KDefaultFrameRate; in createCodec2Component() 159 presentationTimeUs = mNumInputFrame * (1000000 / mFrameRate); in encodeFrames()
|
D | C2Encoder.h | 56 int32_t mFrameRate; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 209 mFrameRate(frameRate) {} in VideoCodec() 216 mFrameRate = copy.mFrameRate; in VideoCodec() 225 int mFrameRate; member
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaRecorderStressTestRunner.java | 40 public static int mFrameRate = profile.videoFrameRate; field in MediaRecorderStressTestRunner 84 mFrameRate = Integer.parseInt(frameRate); in onCreate()
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 64 mFrameRate(fps), in DummySource() 117 kKeyTime, (mNumFramesOutput * 1000000) / mFrameRate); in read() 130 int mFrameRate; member in DummySource
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Encoder.java | 48 private int mFrameRate; field in Encoder 121 mFrameRate = frameRate; in encode() 313 presentationTimeUs = mNumInputFrame * (1000000 / mFrameRate); in onInputAvailable()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 134 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 136 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 138 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 193 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 377 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod_l() 385 return mFrameRate; in getFrameRate_l() 409 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftHevcEnc::IntfImpl 541 mFrameRate->value * mEncParams.s_src_prms.i4_frm_rate_denom; in initEncParams() 623 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
|
D | C2SoftHevcEnc.h | 85 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 162 private float mFrameRate; field in BrightnessTracker 403 float numMillis = (sample.getNumFrames() / mFrameRate) * 1000.0f; in handleBrightnessChanged() 767 pw.println(" mFrameRate=" + mFrameRate); in dumpLocal() 779 mFrameRate = mInjector.getFrameRate(mContext); in enableColorSampling() 780 if (mFrameRate <= 0) { in enableColorSampling() 784 mNoFramesToSample = (int) (mFrameRate * COLOR_SAMPLE_DURATION); in enableColorSampling() 830 if (frameRate != mFrameRate) { in updateColorSampling()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 131 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 569 s_frame_rate_ip.u4_src_frame_rate = mFrameRate->value + 0.5; in setFrameRate() 570 s_frame_rate_ip.u4_tgt_frame_rate = mFrameRate->value + 0.5; in setFrameRate() 923 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
|
D | C2SoftAvcEnc.h | 192 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 227 mInjector.mFrameRate = 120.0f; in testColorSampling_FrameRateChange() 859 float mFrameRate = 60.0f; field in BrightnessTrackerTest.TestInjector 1033 return mFrameRate; in getFrameRate()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 194 frameRate = MediaRecorderStressTestRunner.mFrameRate; in recordVideoAndPlayback()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 170 ALOGV("frame rate: %d", codec.mFrameRate); in logVideoCodec() 1095 if (!strcmp("vid.fps", name)) return mCamcorderProfiles[index]->mVideoCodec->mFrameRate; in getCamcorderProfileParamByName()
|