camera2_stream_in_ops Struct Reference
#include <
camera2.h
>
Data Fields |
|
int(* | acquire_buffer )(const struct camera2_stream_in_ops *w, buffer_handle_t **buffer) |
int(* | release_buffer )(const struct camera2_stream_in_ops *w, buffer_handle_t *buffer) |
Detailed Description
Input reprocess stream queue management. A set of these methods is provided to the HAL device in allocate_reprocess_stream(); they are used to interact with the reprocess stream's input gralloc buffer queue.
Field Documentation
int(* acquire_buffer)(const struct camera2_stream_in_ops *w, buffer_handle_t **buffer) |
Get the next buffer of image data to reprocess. The width, height, and format of the buffer is fixed in allocate_reprocess_stream(), and the stride and other details should be queried from the platform gralloc module as needed. The buffer will already be locked for use.
int(* release_buffer)(const struct camera2_stream_in_ops *w, buffer_handle_t *buffer) |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ camera2.h