Home
last modified time | relevance | path

Searched refs:outBuffer (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/cmds/stagefright/
Dsf2.cpp427 sp<ABuffer> outBuffer; in onFillThisBuffer() local
428 CHECK(msg->findBuffer("buffer", &outBuffer)); in onFillThisBuffer()
431 outBuffer = mCSD.editItemAt(mCSDIndex++); in onFillThisBuffer()
432 outBuffer->meta()->setInt64("timeUs", 0); in onFillThisBuffer()
434 size_t sizeLeft = outBuffer->capacity(); in onFillThisBuffer()
435 outBuffer->setRange(0, 0); in onFillThisBuffer()
469 if (outBuffer->size() == 0) { in onFillThisBuffer()
473 CHECK_GT(outBuffer->size(), 0u); in onFillThisBuffer()
481 if (outBuffer->size() == 0) { in onFillThisBuffer()
485 outBuffer->meta()->setInt64("timeUs", timeUs); in onFillThisBuffer()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp127 sp<ABuffer> outBuffer; in onFillThisBuffer()
128 CHECK(msg->findBuffer("buffer", &outBuffer)); in onFillThisBuffer()
130 sp<ABuffer> outBuffer; in onFillThisBuffer() local
134 outBuffer = mCSD.editItemAt(mCSDIndex++); in onFillThisBuffer()
135 outBuffer->meta()->setInt64("timeUs", 0); in onFillThisBuffer()
137 reply->setBuffer("buffer", outBuffer); in onFillThisBuffer()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp275 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Visualizer_process() argument
284 outBuffer == NULL || outBuffer->raw == NULL || in Visualizer_process()
285 inBuffer->frameCount != outBuffer->frameCount || in Visualizer_process()
341 if (inBuffer->raw != outBuffer->raw) { in Visualizer_process()
343 for (size_t i = 0; i < outBuffer->frameCount*2; i++) { in Visualizer_process()
344 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in Visualizer_process()
347 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t)); in Visualizer_process()
/frameworks/native/libs/gui/
DSurface.cpp362 ANativeWindow_Buffer outBuffer; in lock() local
371 status_t err = SurfaceTextureClient::lock(&outBuffer, inOutDirtyBounds); in lock()
374 other->w = uint32_t(outBuffer.width); in lock()
375 other->h = uint32_t(outBuffer.height); in lock()
376 other->s = uint32_t(outBuffer.stride); in lock()
378 other->format = uint32_t(outBuffer.format); in lock()
379 other->bits = outBuffer.bits; in lock()
DSurfaceTextureClient.cpp439 ANativeWindow_Buffer* outBuffer = va_arg(args, ANativeWindow_Buffer*); in dispatchLock() local
441 return lock(outBuffer, inOutDirtyBounds); in dispatchLock()
678 ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds) in lock() argument
761 outBuffer->width = backBuffer->width; in lock()
762 outBuffer->height = backBuffer->height; in lock()
763 outBuffer->stride = backBuffer->stride; in lock()
764 outBuffer->format = backBuffer->format; in lock()
765 outBuffer->bits = vaddr; in lock()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorSRC.cpp159 MediaBuffer* outBuffer = new MediaBuffer(outBufferSize); in read() local
163 (int32_t *)((uint8_t*)outBuffer->data() + outBuffer->range_offset()), in read()
168 sp<MetaData> to = outBuffer->meta_data(); in read()
175 *buffer_out = outBuffer; in read()
DVideoEditorBGAudioProcessing.cpp51 void *outBuffer) { in mixAndDuck() argument
55 primaryTrackBuffer, backgroundTrackBuffer, outBuffer); in mixAndDuck()
59 M4AM_Buffer16* pMixedOutBuffer = (M4AM_Buffer16*)outBuffer; in mixAndDuck()
DVideoEditorPreviewController.cpp767 uint8_t* outBuffer; in clearSurface() local
771 mTarget->getBufferYV12(&outBuffer, &outBufferStride); in clearSurface()
779 (M4OSA_UInt32)outBufferStride, (M4VIFI_UInt8 *)outBuffer); in clearSurface()
1446 uint8_t* outBuffer; in doImageRenderingMode() local
1450 mTarget->getBufferYV12(&outBuffer, &outBufferStride); in doImageRenderingMode()
1458 (M4OSA_UInt32)outBufferStride, (M4VIFI_UInt8 *)outBuffer); in doImageRenderingMode()
/frameworks/base/native/android/
Dnative_window.cpp77 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock() argument
79 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in ANativeWindow_lock()
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp619 …C" int Equalizer_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Equalizer_process() argument
627 outBuffer == NULL || outBuffer->raw == NULL || in Equalizer_process()
628 inBuffer->frameCount != outBuffer->frameCount) { in Equalizer_process()
639 pContext->adapter.process(inBuffer->raw, outBuffer->raw, outBuffer->frameCount); in Equalizer_process()
DEffectReverb.c209 static int Reverb_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer in Reverb_Process() argument
219 outBuffer == NULL || outBuffer->raw == NULL || in Reverb_Process()
220 inBuffer->frameCount != outBuffer->frameCount) { in Reverb_Process()
235 if (inBuffer->raw != outBuffer->raw) { in Reverb_Process()
238 pDst = outBuffer->s16; in Reverb_Process()
261 pDst = outBuffer->s16; in Reverb_Process()
262 size_t numSamples = outBuffer->frameCount; in Reverb_Process()
DEffectReverb.h316 audio_buffer_t *outBuffer);
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp325 INT_PCM *outBuffer = in onQueueFilled() local
328 outBuffer, in onQueueFilled()
407 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>(outHeader->pBuffer + outHeader->nOffset); in onQueueFilled() local
421 outBuffer, in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp494 void* outBuffer[] = { outPtr }; in onQueueFilled() local
500 outBufDesc.numBufs = sizeof(outBuffer) / sizeof(void*); in onQueueFilled()
501 outBufDesc.bufs = (void**)&outBuffer; in onQueueFilled()
513 outBuffer[0] = outPtr; in onQueueFilled()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.c289 audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) { in Downmix_Process() argument
300 outBuffer == NULL || outBuffer->raw == NULL || in Downmix_Process()
301 inBuffer->frameCount != outBuffer->frameCount) { in Downmix_Process()
316 pDst = outBuffer->s16; in Downmix_Process()
317 size_t numFrames = outBuffer->frameCount; in Downmix_Process()
DEffectDownmix.h81 audio_buffer_t *outBuffer);
/frameworks/native/include/android/
Dnative_window.h113 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.cpp2610 audio_buffer_t *outBuffer){ in Effect_process() argument
2616 LVM_INT16 *out = (LVM_INT16 *)outBuffer->raw; in Effect_process()
2638 outBuffer == NULL || outBuffer->raw == NULL || in Effect_process()
2639 inBuffer->frameCount != outBuffer->frameCount){ in Effect_process()
2647 pContext->pBundledContext->SamplesToExitCountBb -= outBuffer->frameCount * 2; // STEREO in Effect_process()
2667 pContext->pBundledContext->SamplesToExitCountEq -= outBuffer->frameCount * 2; // STEREO in Effect_process()
2681 pContext->pBundledContext->SamplesToExitCountVirt -= outBuffer->frameCount * 2;// STEREO in Effect_process()
2709 (LVM_INT16 *)outBuffer->raw, in Effect_process()
2710 outBuffer->frameCount, in Effect_process()
2722 for (size_t i=0; i < outBuffer->frameCount*2; i++){ in Effect_process()
[all …]
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp1159 audio_buffer_t *outBuffer) in PreProcessingFx_Process() argument
1171 outBuffer == NULL || outBuffer->raw == NULL){ in PreProcessingFx_Process()
1183 size_t framesRq = outBuffer->frameCount; in PreProcessingFx_Process()
1187 if (outBuffer->frameCount < fr) { in PreProcessingFx_Process()
1188 fr = outBuffer->frameCount; in PreProcessingFx_Process()
1190 memcpy(outBuffer->s16, in PreProcessingFx_Process()
1199 outBuffer->frameCount = framesWr; in PreProcessingFx_Process()
1316 memcpy(outBuffer->s16 + framesWr * session->outChannelCount, in PreProcessingFx_Process()
1323 outBuffer->frameCount += fr; in PreProcessingFx_Process()
1710 audio_buffer_t *outBuffer) in PreProcessingFx_ProcessReverse() argument
/frameworks/base/core/jni/
Dandroid_view_TextureView.cpp92 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock() argument
94 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in native_window_lock()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c68 int Effect_Process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Effect_Process() argument
83 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); in Effect_Process()
134 int Effect_ProcessReverse(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Effect_ProcessReverse() argument
150 ret = (*fx->subItfe)->process_reverse(fx->subItfe, inBuffer, outBuffer); in Effect_ProcessReverse()
/frameworks/av/libvideoeditor/vss/common/inc/
DM4ENCODER_AudioCommon.h229 M4ENCODER_AudioBuffer *outBuffer);
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp1882 audio_buffer_t *outBuffer){ in Reverb_process() argument
1891 outBuffer == NULL || outBuffer->raw == NULL || in Reverb_process()
1892 inBuffer->frameCount != outBuffer->frameCount){ in Reverb_process()
1899 (LVM_INT16 *)outBuffer->raw, in Reverb_process()
1900 outBuffer->frameCount, in Reverb_process()
1905 pContext->SamplesToExitCount -= outBuffer->frameCount; in Reverb_process()
/frameworks/native/include/gui/
DSurfaceTextureClient.h108 virtual int lock(ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds);
/frameworks/av/include/media/
DToneGenerator.h295 void getSamples(short *outBuffer, unsigned int count,

12