|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Protocol version, features, compression, and frame flag constants. More...
Go to the source code of this file.
Macros | |
| #define | PROTOCOL_VERSION_MAJOR 1 |
| Major protocol version number. | |
| #define | PROTOCOL_VERSION_MINOR 0 |
| Minor protocol version number. | |
| #define | FEATURE_RLE_ENCODING 0x01 |
| Run-length encoding support flag. | |
| #define | FEATURE_DELTA_FRAMES 0x02 |
| Delta frame encoding support flag. | |
| #define | COMPRESS_ALGO_NONE 0x00 |
| No compression algorithm. | |
| #define | COMPRESS_ALGO_ZLIB 0x01 |
| zlib deflate compression algorithm | |
| #define | COMPRESS_ALGO_LZ4 0x02 |
| LZ4 fast compression algorithm. | |
| #define | COMPRESS_ALGO_ZSTD 0x03 |
| zstd algorithm | |
| #define | FRAME_FLAG_HAS_COLOR 0x01 |
| Frame includes ANSI color codes. | |
| #define | FRAME_FLAG_IS_COMPRESSED 0x02 |
| Frame data is compressed. | |
| #define | FRAME_FLAG_RLE_COMPRESSED 0x04 |
| Frame data is RLE compressed. | |
| #define | FRAME_FLAG_IS_STRETCHED 0x08 |
| Frame was stretched (aspect adjusted) | |
| #define | PIXEL_FORMAT_RGB 0 |
| RGB pixel format. | |
| #define | PIXEL_FORMAT_RGBA 1 |
| RGBA pixel format. | |
| #define | PIXEL_FORMAT_BGR 2 |
| BGR pixel format. | |
| #define | PIXEL_FORMAT_BGRA 3 |
| BGRA pixel format. | |
Protocol version, features, compression, and frame flag constants.
Definition in file protocol_constants.h.