Home
last modified time | relevance | path

Searched refs:FCC_2 (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp264 pContext->bufferSizeOut = LVREV_MAX_FRAME_SIZE * sizeof(process_buffer_t) * FCC_2; in EffectCreate()
347 if (!(channels == 1 || channels == FCC_2) ) { in process()
353 size_t outSize = frameCount * sizeof(process_buffer_t) * FCC_2; in process()
393 frameCount * sizeof(*pContext->OutFrames) * FCC_2); //always stereo here in process()
415 for (int i = 0; i < frameCount * FCC_2; i++) { // always stereo here in process()
431 pContext->OutFrames[FCC_2 * i] *= vl; in process()
432 pContext->OutFrames[FCC_2 * i + 1] *= vr; in process()
443 pContext->OutFrames[FCC_2 * i] *= ((float)pContext->leftVolume / 4096); in process()
444 pContext->OutFrames[FCC_2 * i + 1] *= ((float)pContext->rightVolume / 4096); in process()
457 for (int i = 0; i < frameCount * FCC_2; i++) { // always stereo here in process()
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp40 #ifndef FCC_2
41 #define FCC_2 2 macro
DRecordBufferConverter.cpp194 mBufFrameSize = max(mSrcChannelCount, (uint32_t)FCC_2) in updateParameters()
DAudioMixerBase.cpp32 #ifndef FCC_2
33 #define FCC_2 2 macro
1572 if (!kUseNewMixer && channelCount == FCC_2 && mixerInFormat == AUDIO_FORMAT_PCM_16_BIT) { in getTrackHook()
1653 if (!kUseNewMixer && channelCount == FCC_2 && mixerInFormat == AUDIO_FORMAT_PCM_16_BIT) { in getProcessHook()
/frameworks/av/services/audioflinger/
DAudioFlinger.h402 ? AudioMixer::MAX_NUM_CHANNELS : FCC_2; in isValidPcmSinkChannelMask()
403 if (channelCount < FCC_2 // mono is not supported at this time in isValidPcmSinkChannelMask()
413 if (channelCount >= FCC_2 // mono is not supported at this time in isValidPcmSinkChannelMask()
DFastMixer.cpp61 mSinkChannelCount(FCC_2), in FastMixer()
DEffects.cpp1297 const uint32_t inChannels = std::max((uint32_t)FCC_2, mInChannelCountRequested); in setInBuffer()
1341 const uint32_t outChannels = std::max((uint32_t)FCC_2, mOutChannelCountRequested); in setOutBuffer()
DThreads.cpp1233 if (mChannelCount != FCC_2) { in checkEffectCompatibility_l()
1295 if (mChannelCount != FCC_2) { in checkEffectCompatibility_l()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h50 static constexpr uint32_t MAX_NUM_VOLUMES = FCC_2; // stereo volume only
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp162 if (channelCount != FCC_2) return -EINVAL; in Visualizer_setConfig()
446 inIdx += FCC_2; // integer supports stereo only. in Visualizer_process()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp271 if (supportedChannelCount <= FCC_2) { in checkCompatibleChannelMask()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp226 if (mNumChannels != 1 && mNumChannels != FCC_2) { in init()
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp1406 if (channelCount < 1 || channelCount > FCC_2) { // TODO: update to 8 channels when supported. in Effect_setConfig()
3278 outBuffer->frameCount * sizeof(effect_buffer_t) * FCC_2); in Effect_process()