/frameworks/av/media/codec2/sfplugin/ |
D | FrameReassembler.cpp | 33 mChannelCount(0u), 49 mChannelCount = channelCount; in init() 65 mChannelCount = channelCount; in updateChannelCount() 79 mChannelCount = 0u; in reset() 117 / mChannelCount / bytesPerSample(); in process() 119 size_t gapBytes = gapSamples * mChannelCount * bytesPerSample(); in process() 148 size_t frameSizeBytes = mFrameSize.value() * mChannelCount * bytesPerSample(); in process() 189 return numBytes / mChannelCount / bytesPerSample(); in bytesToSamples() 193 return (us * mChannelCount * mSampleRate / 1000000); in usToSamples()
|
/frameworks/av/media/libaaudio/src/flowgraph/resampler/ |
D | MultiChannelResampler.h | 82 mChannelCount = channelCount; in setChannelCount() 130 return mChannelCount; in getChannelCount() 146 int32_t mChannelCount = 1; 198 return mChannelCount; in getChannelCount() 276 const int mChannelCount; variable
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 72 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl() 74 .withFields({C2F(mChannelCount, value).inRange(1, kMaxNumChannelsSupported)}) in IntfImpl() 75 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl() 112 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() 119 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftOpusEnc::IntfImpl 149 mChannelCount = mIntf->getChannelCount(); in configureEncoder() 155 mChannelCount * mNumSamplesPerFrame * sizeof(int16_t); in configureEncoder() 159 if (mChannelCount == 1) { in configureEncoder() 161 } else if (mChannelCount == 2) { in configureEncoder() 164 ALOGE("Number of channels (%d) is not supported", mChannelCount); in configureEncoder() [all …]
|
/frameworks/base/media/java/android/media/metrics/ |
D | TrackChangeEvent.java | 69 private final int mChannelCount; field in TrackChangeEvent 132 this.mChannelCount = channelCount; in TrackChangeEvent() 232 return mChannelCount; in getChannelCount() 300 dest.writeInt(mChannelCount); in writeToParcel() 342 this.mChannelCount = channelCount; in TrackChangeEvent() 376 + "channelCount = " + mChannelCount + ", " in toString() 399 && mChannelCount == that.mChannelCount in equals() 410 mChannelCount, mAudioSampleRate, mWidth, mHeight, mVideoFrameRate); in hashCode() 428 private int mChannelCount = -1; field in TrackChangeEvent.Builder 555 mChannelCount = value; in setChannelCount() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | DynamicsProcessing.java | 125 private int mChannelCount = 0; field in DynamicsProcessing 189 mChannelCount = getChannelCount(); in DynamicsProcessing() 195 mChannelCount, in DynamicsProcessing() 206 config = new DynamicsProcessing.Config(mChannelCount, cfg); in DynamicsProcessing() 220 for (int ch = 0; ch < mChannelCount; ch++) { in DynamicsProcessing() 248 mChannelCount, in getConfig() 258 for (int ch = 0; ch < mChannelCount; ch++) { in getConfig() 1238 private final int mChannelCount; field in DynamicsProcessing.Config 1273 mChannelCount = channelCount; in Config() 1282 mChannel = new Channel[mChannelCount]; in Config() [all …]
|
/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 45 return format.mChannelCount; in Format_channelCount() 56 ret.mChannelCount = channelCount; in Format_from_SR_C() 159 return format.mSampleRate != 0 && format.mChannelCount != 0 && in Format_isValid() 166 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat && in Format_isEqual()
|
/frameworks/av/media/libeffects/dynamicsproc/aidl/ |
D | DynamicsProcessingContext.cpp | 85 mDpFreq->init(mChannelCount, engine.preEqStage.inUse, engine.preEqStage.bandCount, in dpSetFreqDomainVariant_l() 137 !validateBandConfig(bands, mChannelCount, mEngineArchitecture.preEqStage.bandCount), in setPreEqBand() 145 !validateBandConfig(bands, mChannelCount, mEngineArchitecture.postEqStage.bandCount), in setPostEqBand() 153 !validateBandConfig(bands, mChannelCount, mEngineArchitecture.mbcStage.bandCount), in setMbcBand() 160 RETURN_VALUE_IF(!validateLimiterConfig(limiters, mChannelCount), in setLimiter() 167 RETURN_VALUE_IF(!validateInputGainConfig(inputGains, mChannelCount), in setInputGain() 199 for (int32_t ch = 0; ch < mChannelCount; ch++) { in getMbcBand() 229 for (int32_t ch = 0; ch < mChannelCount; ch++) { in getLimiter() 248 for (int32_t ch = 0; ch < mChannelCount; ch++) { in getInputGain() 276 mChannelCount = static_cast<int>(::aidl::android::hardware::audio::common::getChannelCount( in init() [all …]
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | Processors.cpp | 59 Ramp::Ramp(size_t channelCount) : mChannelCount(channelCount) {} in Ramp() 64 size_t sampleCount = frameCount * mChannelCount; in process() 73 for (; i < frameCount * mChannelCount; ++i) { in process() 91 mChannelCount(channelCount) {} in SlowEnvelope() 94 size_t sampleCount = frameCount * mChannelCount; in process() 131 mChannelCount(channelCount) {} in Distortion() 134 size_t sampleCount = frameCount * mChannelCount; in process()
|
D | Processors.h | 40 const size_t mChannelCount; 62 const float mChannelCount; variable 90 const size_t mChannelCount; variable
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | EffectTestHelper.cpp | 84 inBuffer.s16 += mFrameCount * mChannelCount; in process() 85 outBuffer.s16 += mFrameCount * mChannelCount; in process() 96 farInBuffer.s16 += mFrameCount * mChannelCount; in process_reverse() 97 outBuffer.s16 += mFrameCount * mChannelCount; in process_reverse()
|
D | EffectTestHelper.h | 58 mChannelCount(audio_channel_count_from_in_mask(mChMask)), in EffectTestHelper() 105 const size_t mChannelCount; variable
|
D | EffectPreprocessingTest.cpp | 164 mChannelCount(audio_channel_count_from_in_mask(mChMask)), in SingleEffectTest() 173 const size_t mChannelCount; member in SingleEffectTest 190 std::vector<int16_t> input(mTotalFrameCount * mChannelCount); in TEST_P() 191 std::vector<int16_t> output(mTotalFrameCount * mChannelCount); in TEST_P() 192 std::vector<int16_t> farInput(mTotalFrameCount * mChannelCount); in TEST_P()
|
/frameworks/av/media/libstagefright/ |
D | AACWriter.cpp | 48 mChannelCount(-1), in AACWriter() 86 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource() 88 CHECK(mChannelCount >= 1 && mChannelCount <= 7); in addSource() 255 const uint8_t kChannelConfigCode = mChannelCount; in writeAdtsHeader()
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | EffectBundleTest.cpp | 54 mChannelCount(audio_channel_count_from_out_mask(mChMask)), in SingleEffectTest() 63 const size_t mChannelCount; member in SingleEffectTest 84 std::vector<float> input(mTotalFrameCount * mChannelCount); in TEST_P() 85 std::vector<float> output(mTotalFrameCount * mChannelCount); in TEST_P() 214 mChannelCount(audio_channel_count_from_out_mask(mChMask)), in SingleEffectDefaultSetParamTest() 223 const size_t mChannelCount; member in SingleEffectDefaultSetParamTest 240 size_t totalNumSamples = 2 * mTotalFrameCount * mChannelCount; in TEST_P()
|
/frameworks/av/media/codec2/components/raw/ |
D | C2SoftRawDec.cpp | 66 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl() 68 .withFields({C2F(mChannelCount, value).inRange(1, 12)}) in IntfImpl() 69 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl() 101 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftRawDec::IntfImpl
|
/frameworks/base/media/jni/soundpool/ |
D | Sound.h | 67 int32_t getChannelCount() const { return mChannelCount; } in getChannelCount() 83 int32_t mChannelCount = 0; variable
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPBase.cpp | 233 DPBase::DPBase() : mInitialized(false), mChannelCount(0), mPreEqInUse(false), mPreEqBandCount(0), in DPBase() 242 mChannelCount = channelCount; in init() 250 mChannel.resize(mChannelCount); in init() 251 for (size_t ch = 0; ch < mChannelCount; ch++) { in init()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 51 private final int mChannelCount; field in BlockingAudioTrack 83 mChannelCount = channelCount; in BlockingAudioTrack() 85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack() 216 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack()
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.cpp | 75 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl() 77 .withFields({C2F(mChannelCount, value).inRange(1, 6)}) in IntfImpl() 78 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl() 96 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftG711Dec::IntfImpl
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 60 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl() 62 .withFields({C2F(mChannelCount, value).equalTo(1)}) in IntfImpl() 63 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl() 88 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() 93 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftAmrNbEnc::IntfImpl
|
D | C2SoftAmrWbEnc.cpp | 61 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl() 63 .withFields({C2F(mChannelCount, value).equalTo(1)}) in IntfImpl() 64 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl() 89 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() 94 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftAmrWbEnc::IntfImpl
|
/frameworks/av/media/libaudioclient/tests/ |
D | trackplayerbase_tests.cpp | 43 mChannelCount(std::get<2>(GetParam())), in TrackPlayerBaseTest() 48 audio_channel_mask_t channelMask = audio_channel_out_mask_from_count(mChannelCount); in SetUp() 86 const uint32_t mChannelCount; member in TrackPlayerBaseTest
|
/frameworks/av/media/libeffects/visualizer/aidl/ |
D | VisualizerContext.cpp | 58 mChannelCount = channelCount; in initParams() 262 for (int i = 0; i < mChannelCount; ++i) { in process() 281 fscale = 1.f / mChannelCount; // account for summing all the channels together. in process() 293 for (uint32_t i = 0; i < mChannelCount; ++i) { in process()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 524 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate() 548 LOG_ALWAYS_FATAL_IF(mChannelCount < 1 || mChannelCount > FCC_LIMIT, in setSampleRate() 549 "Resampler channels(%d) must be between 1 to %d", mChannelCount, FCC_LIMIT); in setSampleRate() 562 switch (mChannelCount) { in setSampleRate() 589 switch (mChannelCount) { in setSampleRate() 620 mChannelCount, locked ? "locked" : "interpolated", in setSampleRate()
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 66 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl() 68 .withFields({C2F(mChannelCount, value).equalTo(1)}) in IntfImpl() 69 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl() 87 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftGsmDec::IntfImpl
|