Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp74 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
76 .withFields({C2F(mChannelCount, value).inRange(1, kMaxNumChannelsSupported)}) in IntfImpl()
77 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl()
101 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount()
107 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftOpusEnc::IntfImpl
136 mChannelCount = mIntf->getChannelCount(); in configureEncoder()
141 mChannelCount * mNumSamplesPerFrame * sizeof(int16_t); in configureEncoder()
145 if (mChannelCount == 1) { in configureEncoder()
147 } else if (mChannelCount == 2) { in configureEncoder()
150 ALOGE("Number of channels (%d) is not supported", mChannelCount); in configureEncoder()
[all …]
DC2SoftOpusDec.cpp70 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
72 .withFields({C2F(mChannelCount, value).inRange(1, 8)}) in IntfImpl()
73 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
91 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftOpusDec::IntfImpl
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java125 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/
DNBAIO.cpp45 return format.mChannelCount; in Format_channelCount()
56 ret.mChannelCount = channelCount; in Format_from_SR_C()
160 return format.mSampleRate != 0 && format.mChannelCount != 0 && in Format_isValid()
167 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat && in Format_isEqual()
/frameworks/av/media/libstagefright/
DAACWriter.cpp48 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/codec2/components/raw/
DC2SoftRawDec.cpp66 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
68 .withFields({C2F(mChannelCount, value).inRange(1, 8)}) in IntfImpl()
69 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
99 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftRawDec::IntfImpl
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java51 private final int mChannelCount; field in BlockingAudioTrack
83 mChannelCount = channelCount; in BlockingAudioTrack()
85 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack()
211 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack()
DFileSynthesisCallback.java45 private int mChannelCount; field in FileSynthesisCallback
133 mChannelCount = channelCount; in start()
229 channelCount = mChannelCount; in done()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPBase.cpp233 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/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp60 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
DC2SoftAmrWbEnc.cpp61 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
DC2SoftAmrDec.cpp86 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
88 .withFields({C2F(mChannelCount, value).equalTo(1)}) in IntfImpl()
89 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl()
112 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftAmrDec::IntfImpl
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp75 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/libaudioprocessing/
DAudioResamplerDyn.cpp525 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate()
549 LOG_ALWAYS_FATAL_IF(mChannelCount < 1 || mChannelCount > 8, in setSampleRate()
550 "Resampler channels(%d) must be between 1 to 8", mChannelCount); in setSampleRate()
553 switch (mChannelCount) { in setSampleRate()
580 switch (mChannelCount) { in setSampleRate()
609 mChannelCount, locked ? "locked" : "interpolated", in setSampleRate()
DBufferProviders.cpp374 mChannelCount(channelCount), in ReformatBufferProvider()
384 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); in copyFrames()
392 mChannelCount(channelCount) in ClampFloatBufferProvider()
400 frames * mChannelCount, in copyFrames()
406 mChannelCount(channelCount), in TimestretchBufferProvider()
413 mSonicStream(sonicCreateStream(sampleRate, mChannelCount)), in TimestretchBufferProvider()
DAudioResamplerCubic.cpp42 switch (mChannelCount) { in resample()
48 LOG_ALWAYS_FATAL("invalid channel count: %d", mChannelCount); in resample()
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h160 const uint32_t mChannelCount;
173 const uint32_t mChannelCount;
203 const uint32_t mChannelCount;
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp66 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
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h108 return mChannelCount; in getChannelCount()
116 mChannelCount = channelCount; in setChannelCount()
220 AAudioStreamBuilder_setChannelCount(builder, mChannelCount); in applyParameters()
257 int32_t mChannelCount = AAUDIO_UNSPECIFIED;
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp44 mChannelCount(2), in SoftRaw()
146 pcmParams->nChannels = mChannelCount; in internalGetParameter()
211 mChannelCount = pcmParams->nChannels; in internalSetParameter()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp65 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
67 .withFields({C2F(mChannelCount, value).inRange(1, 2)}) in IntfImpl()
68 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
102 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount()
109 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftFlacEnc::IntfImpl
DC2SoftFlacDec.cpp66 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
68 .withFields({C2F(mChannelCount, value).inRange(1, 8)}) in IntfImpl()
69 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
100 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftFlacDec::IntfImpl
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp70 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
72 .withFields({C2F(mChannelCount, value).inRange(1, 6)}) in IntfImpl()
73 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
86 .calculatedAs(MaxBufSizeCalculator, mChannelCount) in IntfImpl()
120 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount()
141 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftAacEnc::IntfImpl
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp100 uint8_t mChannelCount; // to avoid recomputing it every time a buffer is processed member
232 pContext->mChannelCount = in Visualizer_init()
337 const size_t sampleLen = inBuffer->frameCount * pContext->mChannelCount; in Visualizer_process()
385 for (int i = 0; i < pContext->mChannelCount; ++i) { in Visualizer_process()
424 fscale = 1.f / pContext->mChannelCount; // account for summing all the channels together. in Visualizer_process()
440 for (uint32_t i = 0; i < pContext->mChannelCount; ++i) { in Visualizer_process()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp74 DefineParam(mChannelCount, C2_PARAMKEY_CHANNEL_COUNT) in IntfImpl()
76 .withFields({C2F(mChannelCount, value).inRange(1, 8)}) in IntfImpl()
77 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
95 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; member in android::C2SoftVorbisDec::IntfImpl

123