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

/hardware/ti/omap4-aah/test/CameraHal/
H A Dsurfacetexture_test.cpp118 ANativeWindowBuffer* anb[30] = { 0 }; local
148 anb[i] = NULL;
149 anw->dequeueBuffer(anw.get(), &anb[i]);
150 printf("%d: %p\n", i, anb[i]);
151 if (anb[i] == NULL) {
156 mapper.lock(anb[i]->handle, GRALLOC_USAGE_SW_READ_RARELY,
163 mapper.unlock(anb[i]->handle);
166 if (anb[i]) {
167 anw->cancelBuffer (anw.get(), anb[i]);
H A Dcamera_test_surfacetexture.cpp744 ANativeWindowBuffer* anb; local
787 mWindowTapIn->dequeueBuffer(mWindowTapIn.get(), &anb);
788 mapper.lock(anb->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, dest);
825 mapper.unlock(anb->handle);
828 anb = bufinfo.buf->getNativeBuffer();
831 mWindowTapIn->queueBuffer(mWindowTapIn.get(), anb);
/hardware/libhardware/tests/camera2/
H A Dcamera2_utils.cpp509 ANativeWindowBuffer* anb; local
510 res = native_window_dequeue_buffer_and_wait(a, &anb);
513 *buffer = &(anb->handle);

Completed in 37 milliseconds