/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 74 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 …]
|
D | C2SoftOpusDec.cpp | 70 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/ |
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() 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/ |
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/codec2/components/raw/ |
D | C2SoftRawDec.cpp | 66 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/ |
D | BlockingAudioTrack.java | 51 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()
|
D | FileSynthesisCallback.java | 45 private int mChannelCount; field in FileSynthesisCallback 133 mChannelCount = channelCount; in start() 229 channelCount = mChannelCount; in done()
|
/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/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
|
D | C2SoftAmrDec.cpp | 86 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/ |
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/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 525 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()
|
D | BufferProviders.cpp | 374 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()
|
D | AudioResamplerCubic.cpp | 42 switch (mChannelCount) { in resample() 48 LOG_ALWAYS_FATAL("invalid channel count: %d", mChannelCount); in resample()
|
/frameworks/av/media/libmedia/include/media/ |
D | BufferProviders.h | 160 const uint32_t mChannelCount; 173 const uint32_t mChannelCount; 203 const uint32_t mChannelCount;
|
/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
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 108 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/ |
D | SoftRaw.cpp | 44 mChannelCount(2), in SoftRaw() 146 pcmParams->nChannels = mChannelCount; in internalGetParameter() 211 mChannelCount = pcmParams->nChannels; in internalSetParameter()
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 65 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
|
D | C2SoftFlacDec.cpp | 66 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/ |
D | C2SoftAacEnc.cpp | 70 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/ |
D | EffectVisualizer.cpp | 100 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/ |
D | C2SoftVorbisDec.cpp | 74 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
|