|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
🎬 Video frame buffer management for client-specific ASCII rendering More...
Go to the source code of this file.
Functions | |
| video_frame_buffer_t * | video_frame_buffer_create (uint32_t client_id) |
| void | video_frame_buffer_destroy (video_frame_buffer_t *vfb) |
| video_frame_t * | video_frame_begin_write (video_frame_buffer_t *vfb) |
| void | video_frame_commit (video_frame_buffer_t *vfb) |
| const video_frame_t * | video_frame_get_latest (video_frame_buffer_t *vfb) |
| void | video_frame_get_stats (video_frame_buffer_t *vfb, video_frame_stats_t *stats) |
| simple_frame_swap_t * | simple_frame_swap_create (void) |
| void | simple_frame_swap_destroy (simple_frame_swap_t *sfs) |
| void | simple_frame_swap_update (simple_frame_swap_t *sfs, const void *data, size_t size) |
| const video_frame_t * | simple_frame_swap_get (simple_frame_swap_t *sfs) |
🎬 Video frame buffer management for client-specific ASCII rendering
Definition in file video_frame.c.
| simple_frame_swap_t * simple_frame_swap_create | ( | void | ) |
Definition at line 204 of file video_frame.c.
| void simple_frame_swap_destroy | ( | simple_frame_swap_t * | sfs | ) |
Definition at line 218 of file video_frame.c.
| const video_frame_t * simple_frame_swap_get | ( | simple_frame_swap_t * | sfs | ) |
Definition at line 252 of file video_frame.c.
| void simple_frame_swap_update | ( | simple_frame_swap_t * | sfs, |
| const void * | data, | ||
| size_t | size | ||
| ) |
Definition at line 228 of file video_frame.c.
References time_get_ns().
| video_frame_t * video_frame_begin_write | ( | video_frame_buffer_t * | vfb | ) |
Definition at line 113 of file video_frame.c.
Referenced by client_video_render_thread(), and handle_image_frame_packet().
| video_frame_buffer_t * video_frame_buffer_create | ( | uint32_t | client_id | ) |
Definition at line 16 of file video_frame.c.
References buffer_pool_alloc(), buffer_pool_get_global(), mutex_init(), and video_frame_buffer_destroy().
Referenced by add_client(), and add_webrtc_client().
| void video_frame_buffer_destroy | ( | video_frame_buffer_t * | vfb | ) |
Definition at line 84 of file video_frame.c.
References buffer_pool_free(), buffer_pool_get_global(), and mutex_destroy().
Referenced by add_client(), add_webrtc_client(), cleanup_client_media_buffers(), and video_frame_buffer_create().
| void video_frame_commit | ( | video_frame_buffer_t * | vfb | ) |
Definition at line 127 of file video_frame.c.
Referenced by client_video_render_thread(), and handle_image_frame_packet().
| const video_frame_t * video_frame_get_latest | ( | video_frame_buffer_t * | vfb | ) |
Definition at line 163 of file video_frame.c.
Referenced by client_send_thread_func().
| void video_frame_get_stats | ( | video_frame_buffer_t * | vfb, |
| video_frame_stats_t * | stats | ||
| ) |
Definition at line 186 of file video_frame.c.
Referenced by stats_logger_thread(), and update_server_stats().