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

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp61 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 DCamera3OutputStream.cpp92 ANativeWindowBuffer* anb; local
109 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd);
121 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
H A DCamera3ZslStream.cpp145 ANativeWindowBuffer* anb; local
166 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer();
167 assert(anb != NULL);
174 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
210 ANativeWindowBuffer *anb = local
212 if (anb != NULL && &(anb->handle) == buffer.buffer) {
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp401 ANativeWindowBuffer* anb; local
402 CHECK(NO_ERROR == native_window_dequeue_buffer_and_wait(anw, &anb));
403 CHECK(anb != NULL);
407 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp513 ANativeWindowBuffer* anb; local
514 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
515 ASSERT_TRUE(anb != NULL);
520 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
531 ANativeWindowBuffer* anb; local
532 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
533 ASSERT_TRUE(anb != NULL);
536 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
654 ANativeWindowBuffer* anb;
657 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp488 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));
H A DSurfaceTexture_test.cpp773 android_native_buffer_t* anb;
775 &anb));
776 ASSERT_TRUE(anb != NULL);
778 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
798 ANativeWindowBuffer* anb;
800 &anb));
801 ASSERT_TRUE(anb != NULL);
803 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
844 ANativeWindowBuffer* anb;
846 &anb));
905 ANativeWindowBuffer* anb; local
979 ANativeWindowBuffer* anb; local
1187 ANativeWindowBuffer* anb; local
1242 ANativeWindowBuffer *anb; local
1282 ANativeWindowBuffer *anb; local
1313 ANativeWindowBuffer *anb; local
1366 ANativeWindowBuffer* anb; local
1432 ANativeWindowBuffer* anb; local
2346 android_native_buffer_t* anb; local
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h566 ANativeWindowBuffer* anb; local
567 rc = native_window_dequeue_buffer_and_wait(a, &anb);
569 *buffer = &anb->handle;
570 *stride = anb->stride;
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp1248 ANativeWindowBuffer* anb; local
1249 res = native_window_dequeue_buffer_and_wait(a, &anb);
1256 *buffer = &(anb->handle);
/frameworks/av/media/libstagefright/
H A DACodec.cpp2701 ANativeWindowBuffer* anb = NULL; local
2770 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb);
2777 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
2805 anb = NULL;
2812 if (anb != NULL) {
2813 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
H A DOMXCodec.cpp1917 ANativeWindowBuffer* anb = NULL; local
1986 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb);
1993 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
2021 anb = NULL;
2028 if (anb != NULL) {
2029 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);

Completed in 271 milliseconds