|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Go to the source code of this file.
Data Structures | |
| struct | webcam_device_info_t |
| Webcam device information structure. More... | |
Macros | |
| #define | WEBCAM_DEVICE_NAME_MAX 256 |
| Maximum length of webcam device name. | |
Typedefs | |
| typedef struct webcam_context_t | webcam_context_t |
| Opaque webcam context structure. | |
Functions | |
| asciichat_error_t | webcam_list_devices (webcam_device_info_t **devices, unsigned int *count) |
| Enumerate available webcam devices. | |
| void | webcam_free_device_list (webcam_device_info_t *devices) |
| Free device list returned by webcam_list_devices() | |
| asciichat_error_t | webcam_init (unsigned short int webcam_index) |
| Initialize global webcam interface. | |
| image_t * | webcam_read (void) |
| Capture a frame from global webcam. | |
| void | webcam_cleanup (void) |
| Clean up global webcam interface. | |
| void | webcam_flush (void) |
| Flush/interrupt any pending webcam read operations. | |
| void | webcam_print_init_error_help (asciichat_error_t error_code) |
| Print helpful error diagnostics for webcam initialization failures. | |
| asciichat_error_t | webcam_init_context (webcam_context_t **ctx, unsigned short int device_index) |
| Initialize webcam context for advanced operations. | |
| void | webcam_cleanup_context (webcam_context_t *ctx) |
| Clean up webcam context and release resources. | |
| void | webcam_flush_context (webcam_context_t *ctx) |
| Flush/interrupt pending read operations on webcam context. | |
| image_t * | webcam_read_context (webcam_context_t *ctx) |
| Capture a frame from webcam context. | |
| asciichat_error_t | webcam_get_dimensions (webcam_context_t *ctx, int *width, int *height) |
| Get webcam frame dimensions. | |