Lines Matching refs:mChannelCount
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()
114 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount()
121 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount; member in android::C2SoftOpusEnc::IntfImpl
151 mChannelCount = mIntf->getChannelCount(); in configureEncoder()
157 mChannelCount * mNumSamplesPerFrame * sizeof(int16_t); in configureEncoder()
161 if (mChannelCount == 1) { in configureEncoder()
163 } else if (mChannelCount == 2) { in configureEncoder()
166 ALOGE("Number of channels (%d) is not supported", mChannelCount); in configureEncoder()
174 mEncoder = opus_multistream_encoder_create(mSampleRate, mChannelCount, in configureEncoder()
175 1, mChannelCount - 1, mapping, OPUS_APPLICATION_AUDIO, &err); in configureEncoder()
442 opusHeader.channels = mChannelCount; in process()
443 opusHeader.num_streams = mChannelCount; in process()
445 opusHeader.channel_mapping = ((mChannelCount > 8) ? 255 : (mChannelCount > 2)); in process()
525 mProcessedSamples * 1000000ll / mChannelCount / mSampleRate; in process()
588 mProcessedSamples * 1000000ll / mChannelCount / mSampleRate; in drainInternal()