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

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp40 ANativeWindowBuffer* anb; local
42 &anb));
43 ASSERT_TRUE(anb != NULL);
45 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
90 ANativeWindowBuffer* anb; local
92 &anb));
93 ASSERT_TRUE(anb != NULL);
95 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
155 ANativeWindowBuffer* anb; local
157 &anb));
232 ANativeWindowBuffer* anb; local
448 ANativeWindowBuffer* anb; local
509 ANativeWindowBuffer *anb; local
549 ANativeWindowBuffer *anb; local
580 ANativeWindowBuffer *anb; local
633 ANativeWindowBuffer* anb; local
702 ANativeWindowBuffer* anb; local
[all...]
H A DSurfaceTextureFBO_test.cpp39 android_native_buffer_t* anb; local
41 &anb));
42 ASSERT_TRUE(anb != NULL);
44 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
65 &anb));
66 ASSERT_TRUE(anb != NULL);
68 buf = new GraphicBuffer(anb, false);
H A DFillBuffer.cpp93 android_native_buffer_t* anb;
95 &anb));
96 ASSERT_TRUE(anb != NULL);
98 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
H A DCpuConsumer_test.cpp486 ANativeWindowBuffer* anb; local
488 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
491 ASSERT_TRUE(anb != NULL);
493 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp123 ANativeWindowBuffer* anb = NULL; local
172 err = native_window_dequeue_buffer_and_wait(nativeWindow, &anb);
179 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
203 anb = NULL;
208 if (anb != NULL) {
209 nativeWindow->cancelBuffer(nativeWindow, anb, -1);
210 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 DCamera3ZslStream.cpp150 ANativeWindowBuffer* anb; local
171 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer();
172 assert(anb != NULL);
179 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
215 ANativeWindowBuffer *anb = local
217 if (anb != NULL && &(anb->handle) == buffer.buffer) {
H A DCamera3OutputStream.cpp121 ANativeWindowBuffer* anb; local
131 anb = gb.get();
132 res = mConsumer->attachBuffer(anb);
166 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd);
186 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp506 ANativeWindowBuffer* anb; local
507 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
508 ASSERT_TRUE(anb != NULL);
513 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
525 ANativeWindowBuffer* anb; local
526 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
527 ASSERT_TRUE(anb != NULL);
530 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
648 ANativeWindowBuffer* anb;
651 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h618 ANativeWindowBuffer* anb; local
619 rc = native_window_dequeue_buffer_and_wait(a, &anb);
621 *buffer = &anb->handle;
622 *stride = anb->stride;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp156 ANativeWindowBuffer* anb; local
182 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
185 sp<GraphicBuffer> buf(new GraphicBuffer(anb, /*keepOwnership*/false));
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp327 android_native_buffer_t *anb = NULL; local
329 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd);
345 sp<GraphicBuffer> buffer(new GraphicBuffer(anb, /*keepOwnership*/false));

Completed in 785 milliseconds