/hardware/qcom/audio/visualizer/ |
D | offload_visualizer.c | 719 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/ |
D | audio_effect.h | 109 audio_buffer_t *inBuffer, 198 audio_buffer_t *inBuffer,
|
/hardware/libhardware/modules/audio_remote_submix/tests/ |
D | remote_submix_tests.cpp | 158 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/ |
D | C2SoftXaacDec.h | 115 IA_ERRORCODE configXAACDecoder(uint8_t* inBuffer, uint32_t inBufferLength); 117 IA_ERRORCODE decodeXAACStream(uint8_t* inBuffer,
|
D | C2SoftXaacDec.cpp | 407 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/ |
D | Effect.cpp | 51 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()
|
D | AcousticEchoCancelerEffect.cpp | 127 Return<Result> AcousticEchoCancelerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 129 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | BassBoostEffect.cpp | 124 Return<Result> BassBoostEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 126 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | PresetReverbEffect.cpp | 124 Return<Result> PresetReverbEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 126 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | DownmixEffect.cpp | 124 Return<Result> DownmixEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 126 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | LoudnessEnhancerEffect.cpp | 127 Return<Result> LoudnessEnhancerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 129 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | VirtualizerEffect.cpp | 136 Return<Result> VirtualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 138 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | AutomaticGainControlEffect.cpp | 140 Return<Result> AutomaticGainControlEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 142 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | NoiseSuppressionEffect.cpp | 136 Return<Result> NoiseSuppressionEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 138 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | VisualizerEffect.cpp | 125 Return<Result> VisualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 127 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | EnvironmentalReverbEffect.cpp | 155 Return<Result> EnvironmentalReverbEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 157 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | EqualizerEffect.cpp | 147 Return<Result> EqualizerEffect::setProcessBuffers(const AudioBuffer& inBuffer, in setProcessBuffers() argument 149 return mEffect->setProcessBuffers(inBuffer, outBuffer); in setProcessBuffers()
|
D | AcousticEchoCancelerEffect.h | 75 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
|
D | BassBoostEffect.h | 77 Return<Result> setProcessBuffers(const AudioBuffer& inBuffer,
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacEnc.cpp | 373 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()
|
D | C2SoftAacDec.cpp | 536 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/ |
D | C2SoftVpxEnc.cpp | 456 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/ |
D | C2SoftMpeg4Enc.cpp | 483 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/ |
D | voice_processing.c | 492 audio_buffer_t *inBuffer, in fx_process() argument 503 if (inBuffer == NULL || inBuffer->raw == NULL || in fx_process()
|
/hardware/google/av/media/codecs/hevc/ |
D | C2SoftHevcDec.h | 77 C2ReadView *inBuffer,
|