Home
last modified time | relevance | path

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

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