|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
Go to the source code of this file.
Functions | |
| asciichat_error_t | webcam_init (unsigned short int webcam_index) |
| image_t * | webcam_read (void) |
| void | webcam_destroy (void) |
| void | webcam_flush (void) |
| void | webcam_print_init_error_help (asciichat_error_t error_code) |
| asciichat_error_t | webcam_init_context (webcam_context_t **ctx, unsigned short int device_index) |
| void | webcam_cleanup_context (webcam_context_t *ctx) |
| void | webcam_flush_context (webcam_context_t *ctx) |
| image_t * | webcam_read_context (webcam_context_t *ctx) |
| asciichat_error_t | webcam_get_dimensions (webcam_context_t *ctx, int *width, int *height) |
| asciichat_error_t | webcam_list_devices (webcam_device_info_t **out_devices, unsigned int *out_count) |
| void | webcam_free_device_list (webcam_device_info_t *devices) |
| void webcam_cleanup_context | ( | webcam_context_t * | ctx | ) |
Definition at line 246 of file video/webcam/webcam.c.
Referenced by media_source_destroy(), and webcam_destroy().
| void webcam_destroy | ( | void | ) |
Definition at line 131 of file video/webcam/webcam.c.
References image_destroy(), and webcam_cleanup_context().
Referenced by ascii_read_destroy(), asciichat_shared_destroy(), and session_client_like_run().
| void webcam_flush | ( | void | ) |
Definition at line 152 of file video/webcam/webcam.c.
References webcam_flush_context().
| void webcam_flush_context | ( | webcam_context_t * | ctx | ) |
Definition at line 251 of file video/webcam/webcam.c.
Referenced by webcam_flush().
| void webcam_free_device_list | ( | webcam_device_info_t * | devices | ) |
Definition at line 277 of file video/webcam/webcam.c.
| asciichat_error_t webcam_get_dimensions | ( | webcam_context_t * | ctx, |
| int * | width, | ||
| int * | height | ||
| ) |
Definition at line 262 of file video/webcam/webcam.c.
Referenced by webcam_init().
| asciichat_error_t webcam_init | ( | unsigned short int | webcam_index | ) |
Definition at line 20 of file video/webcam/webcam.c.
References webcam_get_dimensions(), and webcam_init_context().
Referenced by ascii_read_init().
| asciichat_error_t webcam_init_context | ( | webcam_context_t ** | ctx, |
| unsigned short int | device_index | ||
| ) |
Definition at line 239 of file video/webcam/webcam.c.
Referenced by media_source_create(), and webcam_init().
| asciichat_error_t webcam_list_devices | ( | webcam_device_info_t ** | out_devices, |
| unsigned int * | out_count | ||
| ) |
Definition at line 269 of file video/webcam/webcam.c.
| void webcam_print_init_error_help | ( | asciichat_error_t | error_code | ) |
Definition at line 162 of file video/webcam/webcam.c.
References error_code, and safe_fprintf().
Referenced by client_main().
| image_t * webcam_read | ( | void | ) |
Definition at line 59 of file video/webcam/webcam.c.
References image_new(), and webcam_read_context().
Referenced by media_source_read_video().
| image_t * webcam_read_context | ( | webcam_context_t * | ctx | ) |
Definition at line 256 of file video/webcam/webcam.c.
Referenced by media_source_read_video(), and webcam_read().