|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Image frame packet structure (Packet Type 3) More...
#include <lib/network/packet.h>
Data Fields | |
| uint32_t | width |
| Image width in pixels. | |
| uint32_t | height |
| Image height in pixels. | |
| uint32_t | pixel_format |
| Pixel format enum (0=RGB24, 1=RGBA32, 2=BGR24, etc.) | |
| uint32_t | compressed_size |
| Compressed data size (0 = not compressed, >0 = compressed) | |
| uint32_t | checksum |
| CRC32 checksum of pixel data. | |
| uint32_t | timestamp |
| Timestamp when frame was captured (milliseconds since epoch) | |
Image frame packet structure (Packet Type 3)
Contains raw RGB image with dimensions from camera/webcam. Used when client sends camera frames to server for ASCII conversion.