Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DMultiChannelResampler.cpp32 , mX(static_cast<size_t>(builder.getChannelCount()) in MultiChannelResampler()
34 , mSingleFrame(builder.getChannelCount()) in MultiChannelResampler()
35 , mChannelCount(builder.getChannelCount()) in MultiChannelResampler()
91 if (getChannelCount() == 1) { in build()
93 } else if (getChannelCount() == 2) { in build()
101 if (getChannelCount() == 2) { in build()
114 float *dest = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in writeFrame()
115 int offset = getNumTaps() * getChannelCount(); in writeFrame()
116 for (int channel = 0; channel < getChannelCount(); channel++) { in writeFrame()
DLinearResampler.cpp23 mPreviousFrame = std::make_unique<float[]>(getChannelCount()); in LinearResampler()
24 mCurrentFrame = std::make_unique<float[]>(getChannelCount()); in LinearResampler()
28 memcpy(mPreviousFrame.get(), mCurrentFrame.get(), sizeof(float) * getChannelCount()); in writeFrame()
29 memcpy(mCurrentFrame.get(), frame, sizeof(float) * getChannelCount()); in writeFrame()
37 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DSincResampler.cpp25 , mSingleFrame2(builder.getChannelCount()) { in SincResampler()
53 float *xFrame = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in readFrame()
57 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
66 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DSincResamplerStereo.cpp28 assert(builder.getChannelCount() == STEREO); in SincResamplerStereo()
62 float *xFrame = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in readFrame()
66 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
75 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DPolyphaseResampler.cpp45 float *xFrame = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in readFrame()
48 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
57 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DMultiChannelResampler.h129 int32_t getChannelCount() const { in getChannelCount() function
197 int getChannelCount() const { in getChannelCount() function
DPolyphaseResamplerMono.cpp26 assert(builder.getChannelCount() == MONO); in PolyphaseResamplerMono()
DPolyphaseResamplerStereo.cpp26 assert(builder.getChannelCount() == STEREO); in PolyphaseResamplerStereo()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb10ACInputTerminal.java40 public byte getChannelCount() { in getChannelCount() method in Usb10ACInputTerminal
75 canvas.writeListItem("" + getChannelCount() + " Chans. Config: " in report()
DUsb20ACInputTerminal.java51 public byte getChannelCount() { in getChannelCount() method in Usb20ACInputTerminal
89 canvas.writeListItem("" + getChannelCount() + " Channels. Config: " in report()
DUsb20ASGeneral.java65 public byte getChannelCount() { in getChannelCount() method in Usb20ASGeneral
102 canvas.writeListItem("Channel Count: " + getChannelCount()); in report()
DUsbAudioChannelCluster.java29 byte getChannelCount(); in getChannelCount() method
DUsb20ACMixerUnit.java41 public byte getChannelCount() { in getChannelCount() method in Usb20ACMixerUnit
DUsb10ACMixerUnit.java38 public byte getChannelCount() { in getChannelCount() method in Usb10ACMixerUnit
/frameworks/base/tools/powerstats/
DPowerStatsServiceProtoParser.java30 for (int i = 0; i < proto.getChannelCount(); i++) { in printEnergyMeterInfo()
39 int energyMeterInfoCount = proto.getChannelCount(); in printEnergyMeasurements()
/frameworks/base/media/jni/soundpool/
DSound.h67 int32_t getChannelCount() const { return mChannelCount; } in getChannelCount() function
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h76 int32_t getChannelCount() { in getChannelCount() function
87 return getChannelCount(); in getSamplesPerFrame()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp119 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftFlacEnc::IntfImpl
259 const uint32_t channelCount = mIntf->getChannelCount(); in process()
430 …ALOGV("%s numChannel=%d, sampleRate=%d", __func__, mIntf->getChannelCount(), mIntf->getSampleRate(… in configureEncoder()
440 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mIntf->getChannelCount()); in configureEncoder()
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.cpp29 using aidl::android::hardware::audio::common::getChannelCount;
196 mParams.mAudioChannelCount = ::aidl::android::hardware::audio::common::getChannelCount( in init_params()
199 mParams.mHapticChannelCount = ::aidl::android::hardware::audio::common::getChannelCount( in init_params()
/frameworks/av/media/libeffects/visualizer/aidl/
DVisualizerContext.cpp32 using aidl::android::hardware::audio::common::getChannelCount;
52 auto channelCount = getChannelCount(common.input.base.channelMask); in initParams()
/frameworks/av/media/libeffects/preprocessing/aidl/
DPreProcessingContext.cpp150 mInputConfig.set_num_channels(::aidl::android::hardware::audio::common::getChannelCount( in updateConfigs()
153 mOutputConfig.set_num_channels(::aidl::android::hardware::audio::common::getChannelCount( in updateConfigs()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbContext.cpp286 params.SourceFormat = (::aidl::android::hardware::audio::common::getChannelCount( in initControlParameter()
345 int channels = ::aidl::android::hardware::audio::common::getChannelCount( in process()
347 int outChannels = ::aidl::android::hardware::audio::common::getChannelCount( in process()
/frameworks/av/media/libeffects/loudness/aidl/
DLoudnessEnhancerContext.cpp109 int channelCount = ::aidl::android::hardware::audio::common::getChannelCount( in init_params()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java604 int bytesRequired = format.getSampleRate() * format.getChannelCount() * in run()
616 if (format.getChannelCount() == 2) { in run()
618 } else if (format.getChannelCount() >= 3) { in run()
642 + "_capture_" + format.getChannelCount() + "ch_" in run()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp120 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftAacEnc::IntfImpl
255 mIntf->getSampleRate(), mIntf->getChannelCount(), mIntf->getBitrate(), in setAudioParams()
273 getChannelMode(mIntf->getChannelCount()))) { in setAudioParams()
342 uint32_t channelCount = mIntf->getChannelCount(); in process()

123