Home
last modified time | relevance | path

Searched refs:anb (Results 1 – 5 of 5) 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/intel/img/hwcomposer/merrifield/test/
Dnv12_ved_test.cpp90 ANativeWindowBuffer *anb; in main() local
116 if (native_window_dequeue_buffer_and_wait(anw.get(), &anb)) in main()
118 if (anb == NULL) in main()
120 sp < GraphicBuffer > buf(new GraphicBuffer(anb, false)); in main()
/hardware/libhardware/tests/camera2/
Dcamera2_utils.cpp518 ANativeWindowBuffer* anb; in dequeue_buffer() local
519 res = native_window_dequeue_buffer_and_wait(a, &anb); in dequeue_buffer()
522 *buffer = &(anb->handle); in dequeue_buffer()
/hardware/qcom/camera/QCamera2/HAL/test/
Dqcamera_test.cpp1069 ANativeWindowBuffer* anb = NULL; in dataCallbackTimestamp() local
1127 mInterpr->mViVVid.ANW.get(),&anb); in dataCallbackTimestamp()
1133 mInterpr->mViVVid.graphBuf = new GraphicBuffer(anb, false); in dataCallbackTimestamp()
1177 mInterpr->mViVVid.ANW.get(), anb, -1); in dataCallbackTimestamp()