Home
last modified time | relevance | path

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

12

/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()
60 float *xFrame = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in readFrame()
64 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
73 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
DSincResamplerStereo.cpp28 assert(builder.getChannelCount() == STEREO); in SincResamplerStereo()
65 float *xFrame = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in readFrame()
69 for (int channel = 0; channel < getChannelCount(); channel++) { in readFrame()
78 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.h126 int32_t getChannelCount() const { in getChannelCount() function
194 int getChannelCount() const { in getChannelCount() function
DPolyphaseResamplerMono.cpp26 assert(builder.getChannelCount() == MONO); in PolyphaseResamplerMono()
DPolyphaseResamplerStereo.cpp26 assert(builder.getChannelCount() == STEREO); in PolyphaseResamplerStereo()
/frameworks/base/tools/powerstats/
DPowerStatsServiceProtoParser.java30 for (int i = 0; i < proto.getChannelCount(); i++) { in printEnergyMeterInfo()
39 int energyMeterInfoCount = proto.getChannelCount(); in printEnergyMeasurements()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp102 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftFlacEnc::IntfImpl
249 const uint32_t channelCount = mIntf->getChannelCount(); in process()
368 …ALOGV("%s numChannel=%d, sampleRate=%d", __func__, mIntf->getChannelCount(), mIntf->getSampleRate(… in configureEncoder()
378 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mIntf->getChannelCount()); in configureEncoder()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h76 int32_t getChannelCount() { in getChannelCount() function
87 return getChannelCount(); in getSamplesPerFrame()
DAAudioArgsParser.h120 int32_t getChannelCount() const { in getChannelCount() function
504 getChannelCount(), AAudioStream_getChannelCount(stream)); in compareWithStream()
/frameworks/base/media/jni/soundpool/
DSound.h67 int32_t getChannelCount() const { return mChannelCount; } in getChannelCount() function
DStream.cpp146 const uint32_t loopEnd = mSound->getSizeInBytes() / mSound->getChannelCount() / in setLoop()
287 const int32_t channelCount = sound->getChannelCount(); in play_l()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java227 int channelCount = format.getChannelCount(); in canBeUsedForPrivilegedMediaCapture()
436 if (mFormat.getChannelCount() == 1 in build()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp120 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftAacEnc::IntfImpl
248 mIntf->getSampleRate(), mIntf->getChannelCount(), mIntf->getBitrate(), in setAudioParams()
266 getChannelMode(mIntf->getChannelCount()))) { in setAudioParams()
335 uint32_t channelCount = mIntf->getChannelCount(); in process()
/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/base/media/java/android/media/
DAudioRecord.java436 mChannelCount = format.getChannelCount(); in AudioRecord()
441 mChannelCount = format.getChannelCount(); in AudioRecord()
969 mBufferSizeInBytes = mFormat.getChannelCount() in build()
1182 public int getChannelCount() { in getChannelCount() method in AudioRecord
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPBase.h319 uint32_t getChannelCount() const { in getChannelCount() function
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp114 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftOpusEnc::IntfImpl
151 mChannelCount = mIntf->getChannelCount(); in configureEncoder()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp611 loopbackData.actualInputChannelCount = recorder.getChannelCount(); in main()
612 loopbackData.actualOutputChannelCount = player.getChannelCount(); in main()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp89 ASSERT_NO_FATAL_FAILURE(getChannelCount(&mNumChannels)); in SetUp()
107 void getChannelCount(int32_t* nChannels);
235 void Codec2AudioEncHidlTestBase::getChannelCount(int32_t* nChannels) { in getChannelCount() function in __anon567c84490111::Codec2AudioEncHidlTestBase
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java303 Log.d(TAG, "channel count " + mAudioRecord.getChannelCount()); in start()
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java189 mChannelCount = getChannelCount(); in DynamicsProcessing()
1887 public int getChannelCount() { in getChannelCount() method in DynamicsProcessing
2233 mChannelCount = getChannelCount(); in updateEffectArchitecture()
2368 settings.channelCount = getChannelCount(); in getProperties()
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp88 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftAmrNbEnc::IntfImpl

12