/frameworks/native/services/surfaceflinger/tests/resize/ |
D | resize.cpp | 50 ANativeWindow_Buffer outBuffer; in main() local 51 surface->lock(&outBuffer, NULL); in main() 52 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in main() 53 android_memset16((uint16_t*)outBuffer.bits, 0xF800, bpr*outBuffer.height); in main() 56 surface->lock(&outBuffer); in main() 57 android_memset16((uint16_t*)outBuffer.bits, 0x07E0, bpr*outBuffer.height); in main()
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 427 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/base/core/jni/ |
D | android_view_Surface.cpp | 222 ANativeWindow_Buffer outBuffer; in nativeLockCanvas() local 223 status_t err = surface->lock(&outBuffer, dirtyRectPtr); in nativeLockCanvas() 233 env->SetIntField(canvasObj, gCanvasClassInfo.mSurfaceFormat, outBuffer.format); in nativeLockCanvas() 236 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in nativeLockCanvas() 237 bitmap.setConfig(convertPixelFormat(outBuffer.format), outBuffer.width, outBuffer.height, bpr); in nativeLockCanvas() 238 if (outBuffer.format == PIXEL_FORMAT_RGBX_8888) { in nativeLockCanvas() 241 if (outBuffer.width > 0 && outBuffer.height > 0) { in nativeLockCanvas() 242 bitmap.setPixels(outBuffer.bits); in nativeLockCanvas()
|
D | android_view_TextureView.cpp | 91 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock() argument 93 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds); in native_window_lock()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 113 sp<ABuffer> outBuffer; in onFillThisBuffer() 114 CHECK(msg->findBuffer("buffer", &outBuffer)); in onFillThisBuffer() 116 sp<ABuffer> outBuffer; in onFillThisBuffer() local 120 outBuffer = mCSD.editItemAt(mCSDIndex++); in onFillThisBuffer() 121 outBuffer->meta()->setInt64("timeUs", 0); in onFillThisBuffer() 123 reply->setBuffer("buffer", outBuffer); in onFillThisBuffer()
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 267 effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in LE_process() argument 276 outBuffer == NULL || outBuffer->raw == NULL || in LE_process() 277 inBuffer->frameCount != outBuffer->frameCount || in LE_process() 295 if (inBuffer->raw != outBuffer->raw) { in LE_process() 297 for (size_t i = 0; i < outBuffer->frameCount*2; i++) { in LE_process() 298 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in LE_process() 301 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t)); in LE_process()
|
/frameworks/base/services/input/ |
D | SpriteController.cpp | 202 ANativeWindow_Buffer outBuffer; in doUpdateSprites() local 203 status_t status = surface->lock(&outBuffer, NULL); in doUpdateSprites() 208 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); in doUpdateSprites() 210 outBuffer.width, outBuffer.height, bpr); in doUpdateSprites() 211 surfaceBitmap.setPixels(outBuffer.bits); in doUpdateSprites() 219 if (outBuffer.width > uint32_t(update.state.icon.bitmap.width())) { in doUpdateSprites() 222 outBuffer.width, update.state.icon.bitmap.height(), paint); in doUpdateSprites() 224 if (outBuffer.height > uint32_t(update.state.icon.bitmap.height())) { in doUpdateSprites() 227 outBuffer.width, outBuffer.height, paint); in doUpdateSprites()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 34 ANativeWindow_Buffer outBuffer; in fillSurfaceRGBA8() local 37 ASSERT_EQ(NO_ERROR, s->lock(&outBuffer, NULL)); in fillSurfaceRGBA8() 38 uint8_t* img = reinterpret_cast<uint8_t*>(outBuffer.bits); in fillSurfaceRGBA8() 39 for (uint32_t y = 0; y < outBuffer.height; y++) { in fillSurfaceRGBA8() 40 for (uint32_t x = 0; x < outBuffer.width; x++) { in fillSurfaceRGBA8() 41 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x)); in fillSurfaceRGBA8()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | VideoEditorSRC.cpp | 159 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()
|
D | VideoEditorBGAudioProcessing.cpp | 51 void *outBuffer) { in mixAndDuck() argument 55 primaryTrackBuffer, backgroundTrackBuffer, outBuffer); in mixAndDuck() 59 M4AM_Buffer16* pMixedOutBuffer = (M4AM_Buffer16*)outBuffer; in mixAndDuck()
|
/frameworks/av/media/libeffects/visualizer/ |
D | EffectVisualizer.cpp | 306 effect_handle_t self,audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Visualizer_process() argument 315 outBuffer == NULL || outBuffer->raw == NULL || in Visualizer_process() 316 inBuffer->frameCount != outBuffer->frameCount || in Visualizer_process() 396 if (inBuffer->raw != outBuffer->raw) { in Visualizer_process() 398 for (size_t i = 0; i < outBuffer->frameCount*2; i++) { in Visualizer_process() 399 outBuffer->s16[i] = clamp16(outBuffer->s16[i] + inBuffer->s16[i]); in Visualizer_process() 402 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t)); in Visualizer_process()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 86 status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence) { in nextBuffer() argument 92 outBuffer = mCurrentBuffer; in nextBuffer() 120 outBuffer = mCurrentBuffer; in nextBuffer()
|
D | FramebufferSurface.h | 63 status_t nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence);
|
/frameworks/base/native/android/ |
D | native_window.cpp | 77 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/native/libs/gui/ |
D | Surface.cpp | 480 ANativeWindow_Buffer* outBuffer = va_arg(args, ANativeWindow_Buffer*); in dispatchLock() local 482 return lock(outBuffer, inOutDirtyBounds); in dispatchLock() 721 ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds) in lock() argument 813 outBuffer->width = backBuffer->width; in lock() 814 outBuffer->height = backBuffer->height; in lock() 815 outBuffer->stride = backBuffer->stride; in lock() 816 outBuffer->format = backBuffer->format; in lock() 817 outBuffer->bits = vaddr; in lock()
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectEqualizer.cpp | 601 …C" int Equalizer_process(effect_handle_t self, audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) in Equalizer_process() argument 609 outBuffer == NULL || outBuffer->raw == NULL || in Equalizer_process() 610 inBuffer->frameCount != outBuffer->frameCount) { in Equalizer_process() 621 pContext->adapter.process(inBuffer->raw, outBuffer->raw, outBuffer->frameCount); in Equalizer_process()
|
/frameworks/native/include/android/ |
D | native_window.h | 113 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder2.cpp | 498 void* outBuffer[] = { outPtr }; in onQueueFilled() local 504 outBufDesc.numBufs = sizeof(outBuffer) / sizeof(void*); in onQueueFilled() 505 outBufDesc.bufs = (void**)&outBuffer; in onQueueFilled() 517 outBuffer[0] = outPtr; in onQueueFilled()
|
/frameworks/av/media/libeffects/proxy/ |
D | EffectProxy.h | 43 audio_buffer_t *outBuffer);
|
/frameworks/av/media/libeffects/downmix/ |
D | EffectDownmix.c | 270 audio_buffer_t *inBuffer, audio_buffer_t *outBuffer) { in Downmix_Process() argument 281 outBuffer == NULL || outBuffer->raw == NULL || in Downmix_Process() 282 inBuffer->frameCount != outBuffer->frameCount) { in Downmix_Process() 297 pDst = outBuffer->s16; in Downmix_Process() 298 size_t numFrames = outBuffer->frameCount; in Downmix_Process()
|
D | EffectDownmix.h | 78 audio_buffer_t *outBuffer);
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 2589 audio_buffer_t *outBuffer){ in Effect_process() argument 2595 LVM_INT16 *out = (LVM_INT16 *)outBuffer->raw; in Effect_process() 2617 outBuffer == NULL || outBuffer->raw == NULL || in Effect_process() 2618 inBuffer->frameCount != outBuffer->frameCount){ in Effect_process() 2626 pContext->pBundledContext->SamplesToExitCountBb -= outBuffer->frameCount * 2; // STEREO in Effect_process() 2646 pContext->pBundledContext->SamplesToExitCountEq -= outBuffer->frameCount * 2; // STEREO in Effect_process() 2660 pContext->pBundledContext->SamplesToExitCountVirt -= outBuffer->frameCount * 2;// STEREO in Effect_process() 2688 (LVM_INT16 *)outBuffer->raw, in Effect_process() 2689 outBuffer->frameCount, in Effect_process() 2701 for (size_t i=0; i < outBuffer->frameCount*2; i++){ in Effect_process() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
D | SoftAAC2.cpp | 368 INT_PCM *outBuffer = in onQueueFilled() local 374 outBuffer, in onQueueFilled() 465 INT_PCM *outBuffer = reinterpret_cast<INT_PCM *>( in onQueueFilled() local 482 outBuffer, in onQueueFilled()
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 1163 audio_buffer_t *outBuffer) in PreProcessingFx_Process() argument 1175 outBuffer == NULL || outBuffer->raw == NULL){ in PreProcessingFx_Process() 1187 size_t framesRq = outBuffer->frameCount; in PreProcessingFx_Process() 1191 if (outBuffer->frameCount < fr) { in PreProcessingFx_Process() 1192 fr = outBuffer->frameCount; in PreProcessingFx_Process() 1194 memcpy(outBuffer->s16, in PreProcessingFx_Process() 1203 outBuffer->frameCount = framesWr; in PreProcessingFx_Process() 1320 memcpy(outBuffer->s16 + framesWr * session->outChannelCount, in PreProcessingFx_Process() 1327 outBuffer->frameCount += fr; in PreProcessingFx_Process() 1714 audio_buffer_t *outBuffer) in PreProcessingFx_ProcessReverse() argument
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
D | M4ENCODER_AudioCommon.h | 229 M4ENCODER_AudioBuffer *outBuffer);
|