/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() 127 double mFrameRate = 48000; variable
|
/frameworks/av/media/module/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/av/media/module/codecs/m4v_h263/fuzzer/ |
D | mpeg4_h263_enc_fuzzer.cpp | 73 float mFrameRate = 25.0f; member in Codec 98 mFrameRate = data[IDX_FRAME_RATE]; in initEncoder() 116 mEncodeHandle->encFrameRate[0] = mFrameRate; in initEncoder() 117 mEncodeHandle->tickPerSrc = mEncodeHandle->timeIncRes / mFrameRate; in initEncoder() 118 mEncodeHandle->intraPeriod = (kIDRFrameRefreshIntervalInSec * mFrameRate); in initEncoder() 157 videoIn.timestamp = (numFrame * 1000) / mFrameRate; in encodeFrames()
|
/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/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.cpp | 100 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 103 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 105 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 136 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 153 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 286 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l() 292 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod() 299 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftMpeg4Enc::IntfImpl 401 if (mFrameRate->value == 0) { in initEncParams() 409 mEncParams->encFrameRate[0] = mFrameRate->value + 0.5; in initEncParams() [all …]
|
D | C2SoftMpeg4Enc.h | 66 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 180 mMetricsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics() 380 mFrameRate = frames_per_second; in setVideoFrameRate() 1218 mFrameRate, mCaptureFps); in prepareInternal() 1331 if (mCaptureFpsEnable && mCaptureFps >= mFrameRate) { in createAudioSource() 1339 (mSampleRate * mCaptureFps + mFrameRate / 2) / mFrameRate; in createAudioSource() 1343 mSampleRate, mCaptureFps, mFrameRate); in createAudioSource() 1654 if (mFrameRate == -1) { in clipVideoFrameRate() 1655 mFrameRate = mEncoderProfiles->getCamcorderProfileParamByName( in clipVideoFrameRate() 1657 ALOGW("Using default video fps %d", mFrameRate); in clipVideoFrameRate() 1664 if (mFrameRate < minFrameRate && minFrameRate != -1) { in clipVideoFrameRate() [all …]
|
/frameworks/av/media/libstagefright/tests/HEVC/ |
D | HEVCUtilsUnitTest.cpp | 65 mFrameRate = get<5>(params); in SetUp() 72 int16_t mFrameRate; member in HEVCUtilsUnitTest 178 if (frameRate != mFrameRate) in TEST_P() 179 cout << "[ WARN ] Expected frame rate: " << mFrameRate << " Found: " << frameRate in TEST_P()
|
/frameworks/av/media/module/codecserviceregistrant/fuzzer/ |
D | codecServiceRegistrant_fuzzer.cpp | 52 C2StreamFrameRateInfo::output mFrameRate; member in CodecServiceRegistrantFuzzer 125 mFrameRate.setStream(stream); in invokeQuerySM() 126 stackParams.push_back(&mFrameRate); in invokeQuerySM()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomEnc.h | 105 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member 138 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l() 168 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; variable
|
D | C2SoftAomEnc.cpp | 80 addParameter(DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 83 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 84 .withSetter(Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 127 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 297 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod() 621 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 1065 float frame_rate = mFrameRate->value; in process()
|
/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/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 66 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_FRAME_RATE, &mFrameRate) || in createCodec2Component() 67 (mFrameRate <= 0)) { in createCodec2Component() 68 mFrameRate = KDefaultFrameRate; in createCodec2Component() 161 presentationTimeUs = mNumInputFrame * (1000000 / mFrameRate); in encodeFrames()
|
D | C2Encoder.h | 57 int32_t mFrameRate; variable
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 250 this.mFrameRate = frameRate; in SetFrameRateArgs() 254 final float mFrameRate; field in SurfaceTexture.SetFrameRateArgs 276 args.mFrameRate, args.mCompatibility, in setOnSetFrameRateListener()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.h | 220 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member 265 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l() 290 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; variable
|
D | C2SoftVpxEnc.cpp | 92 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 95 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 97 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 150 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 164 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 353 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod() 525 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 710 (uint32_t)(mCodecConfiguration->rc_buf_optimal_sz * mFrameRate->value / 20 + 0.5); in initEncoder() 1033 float frameRate = mFrameRate->value; in process()
|
/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/libmedia/include/media/ |
D | MediaProfiles.h | 141 mFrameRate(frameRate), in mCodec() 174 return mFrameRate; in getFrameRate() 202 int mFrameRate; member
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Encoder.java | 48 private int mFrameRate; field in Encoder 206 mFrameRate = frameRate; in encode() 414 presentationTimeUs = mNumInputFrame * (1000000 / mFrameRate); in onInputAvailable()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 135 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 137 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 139 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 194 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 430 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod_l() 438 return mFrameRate; in getFrameRate_l() 550 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftHevcEnc::IntfImpl 710 mFrameRate->value * mEncParams.s_src_prms.i4_frm_rate_denom; in initEncParams() 821 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
|
D | C2SoftHevcEnc.h | 83 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 166 private float mFrameRate; field in BrightnessTracker 426 float numMillis = (sample.getNumFrames() / mFrameRate) * 1000.0f; in handleBrightnessChanged() 826 pw.println(" mFrameRate=" + mFrameRate); in dumpLocal() 837 mFrameRate = mInjector.getFrameRate(mContext); in enableColorSampling() 838 if (mFrameRate <= 0) { in enableColorSampling() 842 mNoFramesToSample = (int) (mFrameRate * COLOR_SAMPLE_DURATION); in enableColorSampling() 888 if (frameRate != mFrameRate) { in updateColorSampling()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 147 DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in IntfImpl() 150 .withFields({C2F(mFrameRate, value).greaterThan(0.)}) in IntfImpl() 151 .withSetter(Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl() 212 .withSetter(ProfileLevelSetter, mSize, mFrameRate, mBitrate) in IntfImpl() 542 double period = mSyncFramePeriod->value / 1e6 * mFrameRate->value; in getSyncFramePeriod_l() 549 std::shared_ptr<C2StreamFrameRateInfo::output> getFrameRate_l() const { return mFrameRate; } in getFrameRate_l() 565 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; member in android::C2SoftAvcEnc::IntfImpl 737 s_frame_rate_ip.u4_src_frame_rate = mFrameRate->value + 0.5; in setFrameRate() 738 s_frame_rate_ip.u4_tgt_frame_rate = mFrameRate->value + 0.5; in setFrameRate() 1174 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
|