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

/frameworks/base/cmds/stagefright/
H A Dsf2.cpp415 sp<ABuffer> outBuffer = static_cast<ABuffer *>(obj.get()); local
418 outBuffer = mCSD.editItemAt(mCSDIndex++);
419 outBuffer->meta()->setInt64("timeUs", 0);
421 size_t sizeLeft = outBuffer->capacity();
422 outBuffer->setRange(0, 0);
456 if (outBuffer->size() == 0) {
460 CHECK_GT(outBuffer->size(), 0u);
468 if (outBuffer->size() == 0) {
472 outBuffer->meta()->setInt64("timeUs", timeUs);
475 memcpy(outBuffer
[all...]
/frameworks/base/native/include/android/
H A Dnative_window.h113 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
/frameworks/base/native/android/
H A Dnative_window.cpp82 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, argument
84 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds);
/frameworks/base/media/libeffects/visualizer/
H A DEffectVisualizer.cpp251 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer)
260 outBuffer == NULL || outBuffer->raw == NULL ||
261 inBuffer->frameCount != outBuffer->frameCount ||
306 if (inBuffer->raw != outBuffer->raw) {
308 for (size_t i = 0; i < outBuffer->frameCount*2; i++) {
309 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]);
312 memcpy(outBuffer->raw, inBuffer->raw, outBuffer
250 Visualizer_process( effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
[all...]
/frameworks/base/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp247 sp<ABuffer> outBuffer = static_cast<ABuffer *>(obj.get());
249 sp<ABuffer> outBuffer; local
253 outBuffer = mCSD.editItemAt(mCSDIndex++);
254 outBuffer->meta()->setInt64("timeUs", 0);
256 reply->setObject("buffer", outBuffer);
/frameworks/media/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp146 MediaBuffer* outBuffer = new MediaBuffer(outBufferSize); local
150 (int32_t *)((uint8_t*)outBuffer->data() + outBuffer->range_offset()),
155 sp<MetaData> to = outBuffer->meta_data();
162 *buffer_out = outBuffer;
H A DVideoEditorPreviewController.cpp760 uint8_t* outBuffer; local
764 mTarget->getBufferYV12(&outBuffer, &outBufferStride);
772 (M4OSA_UInt32)outBufferStride, (M4VIFI_UInt8 *)outBuffer);
1438 uint8_t* outBuffer; local
1442 mTarget->getBufferYV12(&outBuffer, &outBufferStride);
1450 (M4OSA_UInt32)outBufferStride, (M4VIFI_UInt8 *)outBuffer);
/frameworks/base/libs/gui/
H A DSurface.cpp355 ANativeWindow_Buffer outBuffer; local
364 status_t err = SurfaceTextureClient::lock(&outBuffer, inOutDirtyBounds);
367 other->w = uint32_t(outBuffer.width);
368 other->h = uint32_t(outBuffer.height);
369 other->s = uint32_t(outBuffer.stride);
371 other->format = uint32_t(outBuffer.format);
372 other->bits = outBuffer.bits;
H A DSurfaceTextureClient.cpp394 ANativeWindow_Buffer* outBuffer = va_arg(args, ANativeWindow_Buffer*); local
396 return lock(outBuffer, inOutDirtyBounds);
598 ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds)
668 outBuffer->width = backBuffer->width;
669 outBuffer->height = backBuffer->height;
670 outBuffer->stride = backBuffer->stride;
671 outBuffer->format = backBuffer->format;
672 outBuffer->bits = vaddr;
597 lock( ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds) argument
/frameworks/media/libvideoeditor/vss/common/inc/
H A DM4ENCODER_AudioCommon.h229 M4ENCODER_AudioBuffer *outBuffer);
/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
608 outBuffer == NULL || outBuffer->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
219 outBuffer == NULL || outBuffer->raw == NULL ||
220 inBuffer->frameCount != outBuffer->frameCount) {
235 if (inBuffer->raw != outBuffer->raw) {
238 pDst = outBuffer->s16;
261 pDst = outBuffer->s16;
262 size_t numSamples = outBuffer->frameCount;
H A DEffectReverb.h316 audio_buffer_t *outBuffer);
/frameworks/base/core/jni/android/graphics/
H A DTextLayout.h91 const jchar** outText, int32_t* outBytes, jchar** outBuffer);
H A DTextLayout.cpp155 const jchar** outText, int32_t* outBytes, jchar** outBuffer) {
199 *outBuffer = buffer;
154 prepareText(SkPaint* paint, const jchar* text, jsize len, jint bidiFlags, const jchar** outText, int32_t* outBytes, jchar** outBuffer) argument
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp92 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, argument
94 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds);
/frameworks/base/include/gui/
H A DSurfaceTextureClient.h94 virtual int lock(ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds);
/frameworks/base/include/media/
H A DToneGenerator.h292 void getSamples(short *outBuffer, unsigned int count,
/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/libeffects/preprocessing/
H A DPreProcessing.cpp1071 audio_buffer_t *outBuffer)
1083 outBuffer == NULL || outBuffer->raw == NULL){
1095 size_t framesRq = outBuffer->frameCount;
1099 if (outBuffer->frameCount < fr) {
1100 fr = outBuffer->frameCount;
1102 memcpy(outBuffer->s16,
1111 outBuffer->frameCount = framesWr;
1210 memcpy(outBuffer->s16 + framesWr * session->outChannelCount,
1217 outBuffer
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/base/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp2590 audio_buffer_t *outBuffer){
2596 LVM_INT16 *out = (LVM_INT16 *)outBuffer->raw;
2618 outBuffer == NULL || outBuffer->raw == NULL ||
2619 inBuffer->frameCount != outBuffer->frameCount){
2627 pContext->pBundledContext->SamplesToExitCountBb -= outBuffer->frameCount * 2; // STEREO
2647 pContext->pBundledContext->SamplesToExitCountEq -= outBuffer->frameCount * 2; // STEREO
2661 pContext->pBundledContext->SamplesToExitCountVirt -= outBuffer->frameCount * 2;// STEREO
2689 (LVM_INT16 *)outBuffer->raw,
2690 outBuffer
2588 Effect_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
[all...]
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp1862 audio_buffer_t *outBuffer){
1871 outBuffer == NULL || outBuffer->raw == NULL ||
1872 inBuffer->frameCount != outBuffer->frameCount){
1876 //LOGV("\tReverb_process() Calling process with %d frames", outBuffer->frameCount);
1879 (LVM_INT16 *)outBuffer->raw,
1880 outBuffer->frameCount,
1885 pContext->SamplesToExitCount -= outBuffer->frameCount;
1860 Reverb_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) argument
/frameworks/base/media/libstagefright/
H A DFLACExtractor.cpp704 MediaBuffer **outBuffer, const ReadOptions *options)
726 *outBuffer = buffer;
703 read( MediaBuffer **outBuffer, const ReadOptions *options) argument
/frameworks/base/media/libmedia/
H A DToneGenerator.cpp1532 // result in outBuffer.
1535 // outBuffer: Output buffer where to accumulate samples.
1543 void ToneGenerator::WaveGenerator::getSamples(short *outBuffer, argument
1573 *(outBuffer++) += (short)Sample; // put result in buffer
1584 *(outBuffer++) += (short)Sample; // put result in buffer
/frameworks/base/services/audioflinger/
H A DAudioFlinger.h1106 int16_t *outBuffer() { return mConfig.outputCfg.buffer.s16; } function in class:android::AudioFlinger::EffectModule
1285 int16_t *outBuffer() { function in class:android::AudioFlinger::EffectChain

Completed in 265 milliseconds