/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO_test.cpp | 35 android_native_buffer_t* anb; local 37 &anb)); 38 ASSERT_TRUE(anb != NULL); 40 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 61 &anb)); 62 ASSERT_TRUE(anb != NULL); 64 buf = new GraphicBuffer(anb, false);
|
H A D | SurfaceTextureGL_test.cpp | 36 ANativeWindowBuffer* anb; local 38 &anb)); 39 ASSERT_TRUE(anb != NULL); 41 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 82 ANativeWindowBuffer* anb; local 84 &anb)); 85 ASSERT_TRUE(anb != NULL); 87 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 143 ANativeWindowBuffer* anb; local 145 &anb)); 217 ANativeWindowBuffer* anb; local 425 ANativeWindowBuffer* anb; local 480 ANativeWindowBuffer *anb; local 520 ANativeWindowBuffer *anb; local 551 ANativeWindowBuffer *anb; local 604 ANativeWindowBuffer* anb; local 670 ANativeWindowBuffer* anb; local [all...] |
H A D | FillBuffer.cpp | 93 android_native_buffer_t* anb; 95 &anb)); 96 ASSERT_TRUE(anb != NULL); 98 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
|
H A D | CpuConsumer_test.cpp | 488 ANativeWindowBuffer* anb; local 490 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 493 ASSERT_TRUE(anb != NULL); 495 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3InputStream.cpp | 61 ANativeWindowBuffer* anb; local 75 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); 76 assert(anb != NULL); 83 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 113 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); local 114 if (anb != NULL && &(anb->handle) == buffer.buffer) {
|
H A D | Camera3ZslStream.cpp | 149 ANativeWindowBuffer* anb; local 170 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer(); 171 assert(anb != NULL); 178 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 214 ANativeWindowBuffer *anb = local 216 if (anb != NULL && &(anb->handle) == buffer.buffer) {
|
H A D | Camera3OutputStream.cpp | 94 ANativeWindowBuffer* anb; local 111 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); 123 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 510 ANativeWindowBuffer* anb; local 511 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); 512 ASSERT_TRUE(anb != NULL); 517 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 529 ANativeWindowBuffer* anb; local 530 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); 531 ASSERT_TRUE(anb != NULL); 534 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 652 ANativeWindowBuffer* anb; 655 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 580 ANativeWindowBuffer* anb; local 581 rc = native_window_dequeue_buffer_and_wait(a, &anb); 583 *buffer = &anb->handle; 584 *stride = anb->stride;
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 167 ANativeWindowBuffer* anb; local 193 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 196 sp<GraphicBuffer> buf(new GraphicBuffer(anb, /*keepOwnership*/false));
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 1293 ANativeWindowBuffer* anb; local 1294 res = native_window_dequeue_buffer_and_wait(a, &anb); 1301 *buffer = &(anb->handle);
|
/frameworks/av/media/libstagefright/ |
H A D | OMXCodec.cpp | 2046 ANativeWindowBuffer* anb = NULL; local 2115 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb); 2122 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 2150 anb = NULL; 2157 if (anb != NULL) { 2158 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
|
H A D | ACodec.cpp | 3898 ANativeWindowBuffer* anb = NULL; local 3967 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb); 3974 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 4002 anb = NULL; 4009 if (anb != NULL) { 4010 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
|