preview_stream_ops Struct Reference
#include <
camera.h
>
|
int(*
|
dequeue_buffer
)(struct
preview_stream_ops
*w, buffer_handle_t **buffer, int *stride)
|
|
int(*
|
enqueue_buffer
)(struct
preview_stream_ops
*w, buffer_handle_t *buffer)
|
|
int(*
|
cancel_buffer
)(struct
preview_stream_ops
*w, buffer_handle_t *buffer)
|
|
int(*
|
set_buffer_count
)(struct
preview_stream_ops
*w, int count)
|
|
int(*
|
set_buffers_geometry
)(struct
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_usage
)(struct
preview_stream_ops
*w, int usage)
|
|
int(*
|
set_swap_interval
)(struct
preview_stream_ops
*w, int interval)
|
|
int(*
|
get_min_undequeued_buffer_count
)(const struct
preview_stream_ops
*w, int *count)
|
|
int(*
|
lock_buffer
)(struct
preview_stream_ops
*w, buffer_handle_t *buffer)
|
|
int(*
|
set_timestamp
)(struct
preview_stream_ops
*w, int64_t timestamp)
|
|
Definition at line
73
of file
camera.h
.
int(* dequeue_buffer)(struct
preview_stream_ops
*w, buffer_handle_t **buffer, int *stride)
|
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
camera.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]