Searched refs:inBuffer (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/media/libeffects/visualizer/
H A DEffectVisualizer.cpp251 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer)
259 if (inBuffer == NULL || inBuffer->raw == NULL ||
261 inBuffer->frameCount != outBuffer->frameCount ||
262 inBuffer->frameCount == 0) {
271 int len = inBuffer->frameCount * 2;
273 int32_t smp = inBuffer->s16[i];
292 inIdx < inBuffer->frameCount && captIdx < pContext->mCaptureSize;
294 int32_t smp = inBuffer->s16[2 * inIdx] + inBuffer
250 Visualizer_process( effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
[all...]
/frameworks/base/cmds/stagefright/
H A Dsf2.cpp427 MediaBuffer *inBuffer; local
430 inBuffer = mLeftOverBuffer;
440 status_t err = mSource->read(&inBuffer, &options);
448 size_t sizeNeeded = inBuffer->range_length();
462 mLeftOverBuffer = inBuffer;
470 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
476 (const uint8_t *)inBuffer->data()
477 + inBuffer->range_offset(),
478 inBuffer->range_length());
482 if (!inBuffer
[all...]
/frameworks/base/media/libeffects/preprocessing/
H A DPreProcessing.cpp1070 audio_buffer_t *inBuffer,
1082 if (inBuffer == NULL || inBuffer->raw == NULL ||
1091 // inBuffer->frameCount, session->enabledMsk, session->processedMsk);
1113 inBuffer->frameCount = 0;
1119 if (inBuffer->frameCount < fr) {
1120 fr = inBuffer->frameCount;
1128 inBuffer->s16,
1132 inBuffer->frameCount = fr;
1158 if (inBuffer
1069 PreProcessingFx_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
1393 PreProcessingFx_ProcessReverse(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
[all...]
/frameworks/media/libvideoeditor/vss/common/inc/
H A DM4ENCODER_AudioCommon.h228 typedef M4OSA_ERR (M4AE_step) (M4OSA_Context pContext, M4ENCODER_AudioBuffer *inBuffer,
/frameworks/base/media/libeffects/testlibs/
H A DEffectEqualizer.cpp600 extern "C" int Equalizer_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
607 if (inBuffer == NULL || inBuffer->raw == NULL ||
609 inBuffer->frameCount != outBuffer->frameCount) {
620 pContext->adapter.process(inBuffer->raw, outBuffer->raw, outBuffer->frameCount);
H A DEffectReverb.c209 static int Reverb_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) { argument
218 if (inBuffer == NULL || inBuffer->raw == NULL ||
220 inBuffer->frameCount != outBuffer->frameCount) {
235 if (inBuffer->raw != outBuffer->raw) {
237 pSrc = inBuffer->s16;
239 size_t count = inBuffer->frameCount;
260 pSrc = inBuffer->s16;
H A DEffectReverb.h315 audio_buffer_t *inBuffer,
/frameworks/base/media/libeffects/factory/
H A DEffectsFactory.c68 int Effect_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
83 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer);
134 int Effect_ProcessReverse(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
150 ret = (*fx->subItfe)->process_reverse(fx->subItfe, inBuffer, outBuffer);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java290 BufferedReader inBuffer = new BufferedReader(inReader);
292 while ((s = inBuffer.readLine()) != null) {
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp1861 audio_buffer_t *inBuffer,
1870 if (inBuffer == NULL || inBuffer->raw == NULL ||
1872 inBuffer->frameCount != outBuffer->frameCount){
1878 status = process( (LVM_INT16 *)inBuffer->raw,
1860 Reverb_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp2589 audio_buffer_t *inBuffer,
2595 LVM_INT16 *in = (LVM_INT16 *)inBuffer->raw;
2617 if (inBuffer == NULL || inBuffer->raw == NULL ||
2619 inBuffer->frameCount != outBuffer->frameCount){
2688 lvmStatus = android::LvmBundle_process( (LVM_INT16 *)inBuffer->raw,
2704 clamp16((LVM_INT32)outBuffer->s16[i] + (LVM_INT32)inBuffer->s16[i]);
2707 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount*sizeof(LVM_INT16)*2);
2588 Effect_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
/frameworks/media/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.cpp1424 M4VIFI_UInt8 *inBuffer = M4OSA_NULL; local
1428 inBuffer = (M4OSA_UInt8 *)dataPtr;
1432 videoHeight, (M4VIFI_UInt8 *)inBuffer, videoWidth, videoHeight);
/frameworks/base/services/audioflinger/
H A DAudioFlinger.cpp1547 LOGV("createTrack_l() setting main buffer %p", chain->inBuffer());
1548 track->setMainBuffer(chain->inBuffer());
3816 Buffer inBuffer; local
3819 inBuffer.frameCount = frames;
3820 inBuffer.i16 = data;
3850 pInBuffer = &inBuffer;
3894 if (inBuffer.frameCount) {
3899 pInBuffer->mBuffer = new int16_t[inBuffer.frameCount * channelCount];
3900 pInBuffer->frameCount = inBuffer.frameCount;
3902 memcpy(pInBuffer->raw, inBuffer
[all...]
H A DAudioFlinger.h1104 int16_t *inBuffer() { return mConfig.inputCfg.buffer.s16; } function in class:android::AudioFlinger::EffectModule
1279 int16_t *inBuffer() { function in class:android::AudioFlinger::EffectChain

Completed in 372 milliseconds