Preview_stream_ops 结构参考
Preview_stream_ops 结构参考
#include < camera.h >
数据字段 | |
整数(* | dequeue_buffer )(结构preview_stream_ops *w, buffer_handle_t **buffer, int *stride) |
整数(* | enqueue_buffer )(结构preview_stream_ops *w,buffer_handle_t *buffer) |
整数(* | cancel_buffer )(结构preview_stream_ops *w,buffer_handle_t *buffer) |
整数(* | set_buffer_count )(struct Preview_stream_ops *w, int count) |
整数(* | set_buffers_geometry )(结构preview_stream_ops * pw,int w,int h,int格式) |
整数(* | set_crop )(struct Preview_stream_ops *w, int left, int top, int right, int Bottom) |
整数(* | set_usage )(struct Preview_stream_ops *w, int 用法) |
整数(* | set_swap_interval )(struct Preview_stream_ops *w, int 间隔) |
整数(* | get_min_undequeued_buffer_count )(const struct Preview_stream_ops *w, int *count) |
整数(* | lock_buffer )(结构preview_stream_ops *w,buffer_handle_t *buffer) |
整数(* | set_timestamp )(结构preview_stream_ops *w,int64_t时间戳) |
详细说明
现场文档
int(* cancel_buffer)(结构preview_stream_ops *w, buffer_handle_t *buffer) |
int(* dequeue_buffer)(结构preview_stream_ops *w, buffer_handle_t **buffer, int *stride) |
int(* enqueue_buffer)(结构preview_stream_ops *w, buffer_handle_t *buffer) |
int(* get_min_undequeued_buffer_count)(const struct Preview_stream_ops *w, int *count) |
int(* lock_buffer)(结构preview_stream_ops *w, buffer_handle_t *buffer) |
int(* set_buffer_count)(struct Preview_stream_ops *w, int count) |
int(* set_buffers_geometry)(结构preview_stream_ops *pw, int w, int h, int format) |
int(* set_crop)(struct Preview_stream_ops *w, int left, int top, int right, int Bottom) |
int(* set_swap_interval)(struct Preview_stream_ops *w, int 间隔) |
int(* set_timestamp)(struct Preview_stream_ops *w, int64_t 时间戳) |
int(* set_usage)(结构preview_stream_ops *w, int 用法) |
该结构的文档是从以下文件生成的:
- 硬件/libhardware/include/hardware/camera.h