Andri Yngvason
dedac2f82f
Implement colour map
...
Instead of dropping the connection, we now implement a simple static
colour map that emulates RGB332.
The quality isn't great, but it's better than dropping the connection
without any explanation.
2024-02-20 21:59:51 +00:00
Andri Yngvason
a02f578f9e
Add base64 encoder & decoder
...
I prefer to have these independent of the crypto suite that's being used.
2023-09-29 21:53:20 +00:00
MazTheMan
fd1e18b475
Implement 24 bit pixel formats for raw and tight
2023-09-29 21:46:05 +00:00
Andri Yngvason
2cefc7febb
test: pixels: Revert accidental change
2023-03-23 10:18:28 +00:00
Andri Yngvason
1081ff35cd
test: pixels: Use unsigned numeric literals
...
This fixes type promotion issues with the swap32 macro.
2023-03-22 09:28:06 +00:00
Andri Yngvason
86dd97ed0a
test: meson: Add missing libdrm_inc dependency
2022-07-09 21:10:42 +00:00
Andri Yngvason
c876b91541
pixels: Add function to get rfb pixel format name
2022-02-12 13:15:30 +00:00
Andri Yngvason
0e0fe5b73a
pixels: Add function to convert drm format to string
2022-02-12 12:30:12 +00:00
Andri Yngvason
4dcf8ec25b
test: pixels: Add a unit test for pixel32_to_cpixel
2022-02-12 12:13:42 +00:00
Andri Yngvason
1f043d6992
Add some unit tests for pixel conversions
2022-02-10 21:53:33 +00:00