Home
last modified time | relevance | path

Searched refs:inBuffer (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/audio/visualizer/
Doffload_visualizer.c719 audio_buffer_t *inBuffer, in visualizer_process() argument
727 if (inBuffer == NULL || inBuffer->raw == NULL || in visualizer_process()
729 inBuffer->frameCount != outBuffer->frameCount || in visualizer_process()
730 inBuffer->frameCount == 0) { in visualizer_process()
740 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
741 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
742 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
743 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
744 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
746 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()
[all …]
/hardware/libhardware/include_all/hardware/
Daudio_effect.h109 audio_buffer_t *inBuffer,
198 audio_buffer_t *inBuffer,
/hardware/libhardware/include/hardware/
Daudio_effect.h109 audio_buffer_t *inBuffer,
198 audio_buffer_t *inBuffer,
/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp158 std::unique_ptr<char[]> outBuffer(new char[outBufferSize]), inBuffer(new char[inBufferSize]); in VerifyOutputInput() local
162 memset(inBuffer.get(), 0, inBufferSize); in VerifyOutputInput()
163 ReadFromStream(streamIn, inBuffer.get(), inBufferSize); in VerifyOutputInput()
165 ASSERT_EQ(0, memcmp(outBuffer.get(), inBuffer.get(), inBufferSize)); in VerifyOutputInput()
167 VerifyBufferNotZeroes(inBuffer.get(), inBufferSize); in VerifyOutputInput()
/hardware/interfaces/audio/effect/all-versions/default/
DAcousticEchoCancelerEffect.cpp139 Return<Result> AcousticEchoCancelerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
141 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DDownmixEffect.cpp137 Return<Result> DownmixEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
139 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DLoudnessEnhancerEffect.cpp139 Return<Result> LoudnessEnhancerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
141 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DBassBoostEffect.cpp137 Return<Result> BassBoostEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
139 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DPresetReverbEffect.cpp137 Return<Result> PresetReverbEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
139 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DEffect.cpp216 std::atomic<audio_buffer_t*>* inBuffer, std::atomic<audio_buffer_t*>* outBuffer, in ProcessThread() argument
222 mInBuffer(inBuffer), in ProcessThread()
262 audio_buffer_t* inBuffer = in threadLoop() local
266 if (inBuffer != nullptr && outBuffer != nullptr) { in threadLoop()
271 processResult = (*mEffect)->process(mEffect, inBuffer, outBuffer); in threadLoop()
273 processResult = (*mEffect)->process_reverse(mEffect, inBuffer, outBuffer); in threadLoop()
590 Return<Result> Effect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
595 if (!manager.wrap(inBuffer, &tempInBuffer)) { in setProcessBuffers()
DNoiseSuppressionEffect.cpp148 Return<Result> NoiseSuppressionEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
150 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DAutomaticGainControlEffect.cpp152 Return<Result> AutomaticGainControlEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
154 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DVisualizerEffect.cpp139 Return<Result> VisualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
141 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DVirtualizerEffect.cpp143 Return<Result> VirtualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
145 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DEqualizerEffect.cpp160 Return<Result> EqualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
162 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DEnvironmentalReverbEffect.cpp167 Return<Result> EnvironmentalReverbEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
169 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DBassBoostEffect.h83 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
DLoudnessEnhancerEffect.h81 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
DDownmixEffect.h81 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
DAcousticEchoCancelerEffect.h81 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
/hardware/interfaces/audio/common/7.0/example/
DEffect.cpp163 Return<Result> Effect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
165 (void)inBuffer; in setProcessBuffers()
DLoudnessEnhancerEffect.h101 ::android::hardware::Return<Result> setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
103 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DEqualizerEffect.h101 ::android::hardware::Return<Result> setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
103 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.h79 Error importBuffer(const native_handle_t *inBuffer, buffer_handle_t *outBuffer);
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c492 audio_buffer_t *inBuffer, in fx_process() argument
503 if (inBuffer == NULL || inBuffer->raw == NULL || in fx_process()

12