preview_stream_ops 结构参考

preview_stream_ops 结构参考

#include < camera.h >

数据字段

整数(* dequeue_buffer )(struct preview_stream_ops *w, buffer_handle_t **buffer, int *stride)
整数(* enqueue_buffer )(struct preview_stream_ops *w, buffer_handle_t *buffer)
整数(* cancel_buffer )(struct preview_stream_ops *w, buffer_handle_t *buffer)
整数(* set_buffer_count )(struct preview_stream_ops *w, int count)
整数(* set_buffers_geometry )(struct 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 usage)
整数(* set_swap_interval )(struct preview_stream_ops *w, int interval)
整数(* get_min_undqueued_buffer_count )(const struct preview_stream_ops *w, int *count)
整数(* lock_buffer )(struct preview_stream_ops *w, buffer_handle_t *buffer)
整数(* set_timestamp )(struct preview_stream_ops *w, int64_t 时间戳)

详细说明

在文件camera.h的第73行定义。

现场文件

int(* cancel_buffer)(struct preview_stream_ops *w, buffer_handle_t *buffer)

在文件camera.h的第78行定义。

int(* dequeue_buffer)(struct preview_stream_ops *w, buffer_handle_t **buffer, int *stride)

在文件camera.h的第74行定义。

int(* enqueue_buffer)(struct preview_stream_ops *w, buffer_handle_t *buffer)

在文件camera.h的第76行定义。

int(* get_min_undqueeued_buffer_count)(const struct preview_stream_ops *w, int *count)

在文件camera.h的第87行定义。

int(* lock_buffer)(struct preview_stream_ops *w, buffer_handle_t *buffer)

在文件camera.h的第89行定义。

int(* set_buffer_count)(struct preview_stream_ops *w, int count)

在文件camera.h的第80行定义。

int(* set_buffers_geometry)(struct preview_stream_ops *pw, int w, int h, int format)

在文件camera.h的第81行定义。

int(* set_crop)(struct preview_stream_ops *w, int left, int top, int right, int bottom)

在文件camera.h的第83行定义。

int(* set_swap_interval)(struct preview_stream_ops *w, int interval)

在文件camera.h的第86行定义。

int(* set_timestamp)(struct preview_stream_ops *w, int64_t timestamp)

在文件camera.h的第95行定义。

int(* set_usage)(struct preview_stream_ops *w, int usage)

在文件camera.h的第85行定义。


此结构的文档是从以下文件生成的:
,

preview_stream_ops 结构参考

preview_stream_ops 结构参考

#include < camera.h >

数据字段

整数(* dequeue_buffer )(struct preview_stream_ops *w, buffer_handle_t **buffer, int *stride)
整数(* enqueue_buffer )(struct preview_stream_ops *w, buffer_handle_t *buffer)
整数(* cancel_buffer )(struct preview_stream_ops *w, buffer_handle_t *buffer)
整数(* set_buffer_count )(struct preview_stream_ops *w, int count)
整数(* set_buffers_geometry )(struct 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 usage)
整数(* set_swap_interval )(struct preview_stream_ops *w, int interval)
整数(* get_min_undqueued_buffer_count )(const struct preview_stream_ops *w, int *count)
整数(* lock_buffer )(struct preview_stream_ops *w, buffer_handle_t *buffer)
整数(* set_timestamp )(struct preview_stream_ops *w, int64_t 时间戳)

详细说明

在文件camera.h的第73行定义。

现场文件

int(* cancel_buffer)(struct preview_stream_ops *w, buffer_handle_t *buffer)

在文件camera.h的第78行定义。

int(* dequeue_buffer)(struct preview_stream_ops *w, buffer_handle_t **buffer, int *stride)

在文件camera.h的第74行定义。

int(* enqueue_buffer)(struct preview_stream_ops *w, buffer_handle_t *buffer)

在文件camera.h的第76行定义。

int(* get_min_undqueeued_buffer_count)(const struct preview_stream_ops *w, int *count)

在文件camera.h的第87行定义。

int(* lock_buffer)(struct preview_stream_ops *w, buffer_handle_t *buffer)

在文件camera.h的第89行定义。

int(* set_buffer_count)(struct preview_stream_ops *w, int count)

在文件camera.h的第80行定义。

int(* set_buffers_geometry)(struct preview_stream_ops *pw, int w, int h, int format)

在文件camera.h的第81行定义。

int(* set_crop)(struct preview_stream_ops *w, int left, int top, int right, int bottom)

在文件camera.h的第83行定义。

int(* set_swap_interval)(struct preview_stream_ops *w, int interval)

在文件camera.h的第86行定义。

int(* set_timestamp)(struct preview_stream_ops *w, int64_t timestamp)

在文件camera.h的第95行定义。

int(* set_usage)(struct preview_stream_ops *w, int usage)

在文件camera.h的第85行定义。


此结构的文档是从以下文件生成的: