|
libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
| struct | lws_v4l2_info |
| struct | lws_v4l2_control |
Typedefs | |
| typedef int(* | lws_v4l2_control_cb) (void *user, const struct lws_v4l2_control *c) |
Functions | |
| LWS_VISIBLE LWS_EXTERN struct lws_v4l2_ctx * | lws_v4l2_create (const struct lws_v4l2_info *info) |
| LWS_VISIBLE LWS_EXTERN void | lws_v4l2_destroy (struct lws_v4l2_ctx **ctx) |
| LWS_VISIBLE LWS_EXTERN int | lws_v4l2_get_buffer (struct lws_v4l2_ctx *ctx, int index, void **start, size_t *len) |
| LWS_VISIBLE LWS_EXTERN int | lws_v4l2_get_fd (struct lws_v4l2_ctx *ctx) |
| LWS_VISIBLE LWS_EXTERN int | lws_v4l2_get_info (struct lws_v4l2_ctx *ctx, struct lws_v4l2_info *info) |
| LWS_VISIBLE LWS_EXTERN int | lws_v4l2_enum_controls (struct lws_v4l2_ctx *ctx, lws_v4l2_control_cb cb, void *user) |
| LWS_VISIBLE LWS_EXTERN int | lws_v4l2_set_control (struct lws_v4l2_ctx *ctx, uint32_t id, int32_t val) |
| struct lws_v4l2_info |
Definition at line 30 of file lws-v4l2.h.
Collaboration diagram for lws_v4l2_info:| Data Fields | ||
|---|---|---|
| const char * | device_path | |
| uint32_t | width | |
| uint32_t | height | |
| uint32_t | pixelformat | |
| struct lws_v4l2_control |
Definition at line 37 of file lws-v4l2.h.
Collaboration diagram for lws_v4l2_control:| Data Fields | ||
|---|---|---|
| uint32_t | id | |
| uint32_t | type | |
| char | name[32] | |
| int32_t | min | |
| int32_t | max | |
| int32_t | step | |
| int32_t | def | |
| int32_t | val | |
| typedef int(* lws_v4l2_control_cb) (void *user, const struct lws_v4l2_control *c) |
Definition at line 48 of file lws-v4l2.h.
| LWS_VISIBLE LWS_EXTERN struct lws_v4l2_ctx * lws_v4l2_create | ( | const struct lws_v4l2_info * | info | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN void lws_v4l2_destroy | ( | struct lws_v4l2_ctx ** | ctx | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_v4l2_get_buffer | ( | struct lws_v4l2_ctx * | ctx, |
| int | index, | ||
| void ** | start, | ||
| size_t * | len ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_v4l2_get_fd | ( | struct lws_v4l2_ctx * | ctx | ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_v4l2_get_info | ( | struct lws_v4l2_ctx * | ctx, |
| struct lws_v4l2_info * | info ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_v4l2_enum_controls | ( | struct lws_v4l2_ctx * | ctx, |
| lws_v4l2_control_cb | cb, | ||
| void * | user ) |
References LWS_EXTERN, and LWS_VISIBLE.
| LWS_VISIBLE LWS_EXTERN int lws_v4l2_set_control | ( | struct lws_v4l2_ctx * | ctx, |
| uint32_t | id, | ||
| int32_t | val ) |