/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 45 return format.mChannelCount; in Format_channelCount() 56 ret.mChannelCount = channelCount; in Format_from_SR_C() 161 return format.mSampleRate != 0 && format.mChannelCount != 0 && in Format_isValid() 168 format1.mChannelCount == format2.mChannelCount && format1.mFormat == format2.mFormat && in Format_isEqual()
|
/frameworks/av/media/libstagefright/ |
D | AACWriter.cpp | 45 mChannelCount(-1), in AACWriter() 63 mChannelCount(-1), in AACWriter() 104 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource() 106 CHECK(mChannelCount >= 1 && mChannelCount <= 2); in addSource() 273 const uint8_t kChannelConfigCode = mChannelCount; in writeAdtsHeader()
|
/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 52 private final int mChannelCount; field in BlockingAudioTrack 84 mChannelCount = channelCount; in BlockingAudioTrack() 86 mBytesPerFrame = AudioFormat.getBytesPerSample(mAudioFormat) * mChannelCount; in BlockingAudioTrack() 212 final int channelConfig = getChannelConfig(mChannelCount); in createStreamingAudioTrack()
|
D | FileSynthesisCallback.java | 44 private int mChannelCount; field in FileSynthesisCallback 127 mChannelCount = channelCount; in start() 222 channelCount = mChannelCount; in done()
|
/frameworks/av/media/libstagefright/codecs/raw/ |
D | SoftRaw.cpp | 44 mChannelCount(2), in SoftRaw() 118 pcmParams->nChannels = mChannelCount; in internalGetParameter() 155 mChannelCount = pcmParams->nChannels; in internalSetParameter()
|
D | SoftRaw.h | 51 int32_t mChannelCount; member
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerDyn.cpp | 390 mInBuffer.resize(mChannelCount, c.mHalfNumCoefs); in setSampleRate() 414 LOG_ALWAYS_FATAL_IF(mChannelCount < 1 || mChannelCount > 8, in setSampleRate() 415 "Resampler channels(%d) must be between 1 to 8", mChannelCount); in setSampleRate() 418 switch (mChannelCount) { in setSampleRate() 445 switch (mChannelCount) { in setSampleRate() 474 mChannelCount, locked ? "locked" : "interpolated", in setSampleRate()
|
D | TrackBase.h | 105 uint32_t channelCount() const { return mChannelCount; } in channelCount() 151 const uint32_t mChannelCount; variable
|
D | AudioResamplerSinc.cpp | 497 const size_t stateSize = numCoefs * mChannelCount * 2; in init() 500 mImpulse = mState + (c.halfNumCoefs-1)*mChannelCount; in init() 501 mRingFull = mImpulse + (numCoefs+1)*mChannelCount; in init() 525 switch (mChannelCount) { in resample()
|
D | AudioResampler.h | 100 const int32_t mChannelCount; variable
|
D | Threads.cpp | 589 dprintf(fd, " Channel Count: %u\n", mChannelCount); in dumpBase() 922 if ((mType == MIXER || mType == DUPLICATING) && mChannelCount != FCC_2) { in createEffect_l() 924 desc->name, mChannelCount, mType == MIXER ? "MIXER" : "DUPLICATING"); in createEffect_l() 1823 mChannelCount = audio_channel_count_from_out_mask(mChannelMask); in readOutputParameters_l() 1923 mMixerBufferSize = mNormalFrameCount * mChannelCount in readOutputParameters_l() 1931 mEffectBufferSize = mNormalFrameCount * mChannelCount in readOutputParameters_l() 2259 size_t numSamples = mNormalFrameCount * mChannelCount; in addEffectChain_l() 2571 mNormalFrameCount * mChannelCount); in threadLoop() 2606 mNormalFrameCount * mChannelCount); in threadLoop() 2799 mSampleRate, mChannelMask, mChannelCount, mFormat, mFrameSize, mFrameCount, in MixerThread() [all …]
|
D | AudioResamplerCubic.cpp | 42 switch (mChannelCount) { in resample()
|
D | AudioResampler.cpp | 265 mChannelCount(inChannelCount), in AudioResampler() 342 switch (mChannelCount) { in resample()
|
D | Tracks.cpp | 87 mChannelCount(isOut ? in TrackBase() 91 mChannelCount * audio_bytes_per_sample(format) : sizeof(int8_t)), in TrackBase() 186 NBAIO_Format pipeFormat = Format_from_SR_C(mSampleRate, mChannelCount, mFormat); in TrackBase() 1716 uint32_t channelCount = mChannelCount; in write() 2011 if (thread->mSampleRate != sampleRate && thread->mChannelCount <= FCC_2 && in RecordTrack() 2015 thread->mChannelCount, sampleRate); in RecordTrack()
|
D | Threads.h | 240 uint32_t channelCount() const { return mChannelCount; } in channelCount() 409 uint32_t mChannelCount; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 227 private int mChannelCount = 1; field in AudioTrack 501 mChannelCount = 1; in audioParamCheck() 506 mChannelCount = 2; in audioParamCheck() 515 mChannelCount = Integer.bitCount(channelConfig); in audioParamCheck() 594 frameSizeInBytes = mChannelCount in audioBuffSizeCheck() 699 return mChannelCount; in getChannelCount()
|
D | AudioRecord.java | 136 private int mChannelCount; field in AudioRecord 315 mChannelCount = AudioFormat.channelCountFromInChannelMask(format.getChannelMask()); in AudioRecord() 419 int frameSizeInBytes = mChannelCount in audioBuffSizeCheck() 492 return mChannelCount; in getChannelCount()
|
/frameworks/av/include/media/stagefright/ |
D | AACWriter.h | 60 int32_t mChannelCount; member
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 222 uint32_t channelCount() const { return mChannelCount; } in channelCount() 493 uint32_t mChannelCount; variable
|
D | AudioTrack.h | 289 uint32_t channelCount() const { return mChannelCount; } in channelCount() 693 uint32_t mChannelCount; variable
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 83 uint8_t mChannelCount; // to avoid recomputing it every time a buffer is processed member 210 pContext->mChannelCount = in Visualizer_init() 329 for (inIdx = 0 ; inIdx < inBuffer->frameCount * pContext->mChannelCount ; inIdx++) { in Visualizer_process() 340 rmsSqAcc / (inBuffer->frameCount * pContext->mChannelCount); in Visualizer_process()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.h | 193 … virtual bool ready() const { return (mChannelCount > 0) && (mHeap->getHeapID() > 0); } in ready() 197 virtual ssize_t channelCount() const { return (ssize_t)mChannelCount; } in channelCount() 244 uint16_t mChannelCount; variable
|
D | MediaPlayerService.cpp | 401 mMsecsPerFrame, mChannelCount, mFormat, mFrameCount); in dump() 1959 mHeap(heap), mChannelCount(0), mFrameCount(1024), mSampleRate(0), mSize(0), in AudioCache() 2076 mChannelCount = (uint16_t)channelCount; in open() 2080 ? mChannelCount * audio_bytes_per_sample(mFormat) : 1; in open()
|
/frameworks/av/include/media/nbaio/ |
D | NBAIO.h | 60 unsigned mChannelCount; member
|
/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 318 mChannelCount = channelCount; in set() 1030 if (mChannelCount > 1) { in createTrack_l() 1036 mSharedBuffer->pointer(), mChannelCount); in createTrack_l() 2076 mChannelCount, mFrameCount); in dump()
|