Home | History | Annotate | Download | only in camera

Lines Matching full:handle

425         buffer_handle_t *handle;
429 err = mBufferSource->dequeue_buffer(mBufferSource, &handle, &stride);
440 CAMHAL_LOGDB("got handle %p", handle);
441 mBuffers[i].opaque = (void *)handle;
444 mFramesWithCameraAdapterMap.add(handle, i);
453 buffer_handle_t *handle = (buffer_handle_t *) mBuffers[i].opaque;
454 mBufferSource->lock_buffer(mBufferSource, handle);
455 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
461 buffer_handle_t *handle = (buffer_handle_t *) mBuffers[i].opaque;
465 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
467 mapper.unlock(*handle);
469 err = mBufferSource->cancel_buffer(mBufferSource, handle);
560 handle;
563 err = mBufferSource->dequeue_buffer(mBufferSource, &handle, &stride);
572 newBuffers[index].opaque = (void *)handle;
575 mFramesWithCameraAdapterMap.add(handle, index);
577 mBufferSource->lock_buffer(mBufferSource, handle);
578 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
580 CAMHAL_LOGDB("got handle %p", handle);
630 buffer_handle_t *handle;
641 err = extendedOps()->update_and_get_buffer(mBufferSource, &handle, &mBuffers[0].stride);
651 CAMHAL_LOGD("got handle %p", handle);
652 mBuffers[0].opaque = (void *)handle;
654 mFramesWithCameraAdapterMap.add(handle, 0);
667 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
771 buffer_handle_t *handle = (buffer_handle_t *) mBuffers[value].opaque;
775 CAMHAL_LOGEA("Potential out bounds access to handle...skipping");
780 mapper.unlock(*handle);
782 ret = mBufferSource->cancel_buffer(mBufferSource, handle);
844 buffer_handle_t *handle = NULL;
871 handle = (buffer_handle_t *) mBuffers[i].opaque;
873 // Handle input buffers
877 CAMHAL_LOGD("Unlock %p (buffer #%d)", handle, i);
878 mapper.unlock(*handle);
905 mapper.unlock(*handle);
907 ret = mBufferSource->enqueue_buffer(mBufferSource, handle);
974 CAMHAL_LOGEB("Failed to find handle %p", buf);