Searched defs:anb (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO_test.cpp37 android_native_buffer_t* anb; local
39 &anb));
40 ASSERT_TRUE(anb != NULL);
42 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
63 &anb));
64 ASSERT_TRUE(anb != NULL);
66 buf = new GraphicBuffer(anb, false);
H A DSurfaceTextureGL_test.cpp38 ANativeWindowBuffer* anb; local
40 &anb));
41 ASSERT_TRUE(anb != NULL);
43 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
86 ANativeWindowBuffer* anb; local
88 &anb));
89 ASSERT_TRUE(anb != NULL);
91 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
149 ANativeWindowBuffer* anb; local
151 &anb));
225 ANativeWindowBuffer* anb; local
437 ANativeWindowBuffer* anb; local
492 ANativeWindowBuffer *anb; local
532 ANativeWindowBuffer *anb; local
563 ANativeWindowBuffer *anb; local
616 ANativeWindowBuffer* anb; local
682 ANativeWindowBuffer* anb; local
[all...]
H A DCpuConsumer_test.cpp491 ANativeWindowBuffer* anb; local
493 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
496 ASSERT_TRUE(anb != NULL);
498 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp105 ANativeWindowBuffer* anb = NULL; local
153 err = native_window_dequeue_buffer_and_wait(nativeWindow, &anb);
160 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
184 anb = NULL;
189 if (anb != NULL) {
190 nativeWindow->cancelBuffer(nativeWindow, anb, -1);
191 anb = NULL;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp62 ANativeWindowBuffer* anb; local
76 anb = bufferItem.mGraphicBuffer->getNativeBuffer();
77 assert(anb != NULL);
84 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
114 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); local
115 if (anb != NULL && &(anb->handle) == buffer.buffer) {
H A DCamera3OutputStream.cpp98 ANativeWindowBuffer* anb; local
115 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd);
127 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
H A DCamera3ZslStream.cpp151 ANativeWindowBuffer* anb; local
172 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer();
173 assert(anb != NULL);
180 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
216 ANativeWindowBuffer *anb = local
218 if (anb != NULL && &(anb->handle) == buffer.buffer) {
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp511 ANativeWindowBuffer* anb; local
512 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
513 ASSERT_TRUE(anb != NULL);
518 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
530 ANativeWindowBuffer* anb; local
531 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
532 ASSERT_TRUE(anb != NULL);
535 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
653 ANativeWindowBuffer* anb;
656 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp167 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/device1/
H A DCameraHardwareInterface.h578 ANativeWindowBuffer* anb; local
579 rc = native_window_dequeue_buffer_and_wait(a, &anb);
581 *buffer = &anb->handle;
582 *stride = anb->stride;
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp337 android_native_buffer_t *anb = NULL; local
339 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd);
355 sp<GraphicBuffer> buffer(new GraphicBuffer(anb, /*keepOwnership*/false));
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp1307 ANativeWindowBuffer* anb; local
1308 res = native_window_dequeue_buffer_and_wait(a, &anb);
1315 *buffer = &(anb->handle);

Completed in 162 milliseconds