Home
last modified time | relevance | path

Searched refs:inBuffer (Results 1 – 25 of 46) 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/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/google/av/media/codecs/xaac/
DC2SoftXaacDec.h115 IA_ERRORCODE configXAACDecoder(uint8_t* inBuffer, uint32_t inBufferLength);
117 IA_ERRORCODE decodeXAACStream(uint8_t* inBuffer,
DC2SoftXaacDec.cpp407 uint8_t* inBuffer = nullptr; in process() local
433 inBuffer = const_cast<uint8_t*>(view.data() + offset); in process()
437 IA_ERRORCODE err_code = configXAACDecoder(inBuffer, inBufferLength); in process()
494 inBuffer = in process()
512 inBuffer = const_cast<uint8_t*>(view.data() + offset); in process()
523 IA_ERRORCODE err_code = configXAACDecoder(inBuffer, inBufferLength); in process()
561 errorCode = decodeXAACStream(inBuffer, inBufferLength, in process()
942 IA_ERRORCODE C2SoftXaacDec::configXAACDecoder(uint8_t* inBuffer, uint32_t inBufferLength) { in configXAACDecoder() argument
948 memcpy(mInputBuffer, inBuffer, inBufferLength); in configXAACDecoder()
1267 IA_ERRORCODE C2SoftXaacDec::decodeXAACStream(uint8_t* inBuffer, in decodeXAACStream() argument
[all …]
/hardware/interfaces/audio/effect/all-versions/default/
DEffect.cpp51 std::atomic<audio_buffer_t*>* inBuffer, std::atomic<audio_buffer_t*>* outBuffer, in ProcessThread() argument
57 mInBuffer(inBuffer), in ProcessThread()
95 audio_buffer_t* inBuffer = in threadLoop() local
99 if (inBuffer != nullptr && outBuffer != nullptr) { in threadLoop()
101 processResult = (*mEffect)->process(mEffect, inBuffer, outBuffer); in threadLoop()
103 processResult = (*mEffect)->process_reverse(mEffect, inBuffer, outBuffer); in threadLoop()
390 Return<Result> Effect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
394 if (!manager.wrap(inBuffer, &tempInBuffer)) { in setProcessBuffers()
DAcousticEchoCancelerEffect.cpp127 Return<Result> AcousticEchoCancelerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
129 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DBassBoostEffect.cpp124 Return<Result> BassBoostEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
126 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DPresetReverbEffect.cpp124 Return<Result> PresetReverbEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
126 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DDownmixEffect.cpp124 Return<Result> DownmixEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
126 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DLoudnessEnhancerEffect.cpp127 Return<Result> LoudnessEnhancerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
129 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DVirtualizerEffect.cpp136 Return<Result> VirtualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
138 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DAutomaticGainControlEffect.cpp140 Return<Result> AutomaticGainControlEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
142 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DNoiseSuppressionEffect.cpp136 Return<Result> NoiseSuppressionEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
138 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DVisualizerEffect.cpp125 Return<Result> VisualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
127 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DEnvironmentalReverbEffect.cpp155 Return<Result> EnvironmentalReverbEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
157 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DEqualizerEffect.cpp147 Return<Result> EqualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument
149 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
DAcousticEchoCancelerEffect.h75 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
DBassBoostEffect.h77 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp373 void* inBuffer[] = { (unsigned char *)data }; in process() local
379 inBufDesc.numBufs = sizeof(inBuffer) / sizeof(void*); in process()
380 inBufDesc.bufs = (void**)&inBuffer; in process()
487 inBuffer[0] = (int16_t *)inBuffer[0] + outargs.numInSamples; in process()
DC2SoftAacDec.cpp536 UCHAR* inBuffer[FILEREAD_MAX_LAYERS]; in process() local
561 inBuffer[0] = const_cast<UCHAR *>(view.data() + offset); in process()
566 inBuffer, in process()
622 inBuffer[0] = const_cast<UCHAR *>(adtsHeader + adtsHeaderSize); in process()
638 inBuffer[0] = const_cast<UCHAR *>(view.data() + offset); in process()
649 inBuffer, in process()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.cpp456 const C2ConstGraphicBlock inBuffer = in process() local
458 if (inBuffer.width() != mSize->width || in process()
459 inBuffer.height() != mSize->height) { in process()
461 inBuffer.width(), mSize->width, inBuffer.height(), in process()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Enc.cpp483 const C2ConstGraphicBlock inBuffer = inputBuffer->data().graphicBlocks().front(); in process() local
484 if (inBuffer.width() < mSize->width || in process()
485 inBuffer.height() < mSize->height) { in process()
487 ALOGW("unexpected Capacity Aspect %d(%d) x %d(%d)", inBuffer.width(), in process()
488 mSize->width, inBuffer.height(), mSize->height); in process()
/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()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.h77 C2ReadView *inBuffer,

12