mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() Add a rewritten version of upng that decodes statefully line by line, and so does not require a bitmap buffer for the output. This compares to original upng approach that needs heap allocations for the input, the whole output and intermediate allocations. Instead of buffers for input, decompression and output, it only allocates 2 x lines of RGBA pixels (ie, a few KB), and 32KB of decompressed data for backward references in the decoder, and decodes as needed into the 2-line buffer to produce line rasterized results. For a 600px width PNG, this is just 40KB heap for the duration. |
||
---|---|---|
.. | ||
api-test-async-dns | ||
api-test-backtrace | ||
api-test-cose | ||
api-test-dhcpc | ||
api-test-fts | ||
api-test-gencrypto | ||
api-test-jose | ||
api-test-jrpc | ||
api-test-lecp | ||
api-test-lejp | ||
api-test-lws_cache | ||
api-test-lws_dsh | ||
api-test-lws_map | ||
api-test-lws_smd | ||
api-test-lws_struct-json | ||
api-test-lws_struct_sqlite | ||
api-test-lws_tokenize | ||
api-test-lwsac | ||
api-test-secure-streams | ||
api-test-smtp_client | ||
api-test-upng | ||
README.md |
These are buildable test apps that run in CI to confirm correct api operation.
name | tests |
---|---|
api-test-lwsac | LWS Allocated Chunks api |
api-test-lws_struct-json | Selftests for lws_struct JSON serialization and deserialization |
api-test-lws_tokenize | Generic secure string tokenizer api |
api-test-fts | LWS Full-text Search api |
api-test-gencrypto | LWS Generic Crypto apis |
api-test-jose | LWS JOSE apis |
api-test-smtp_client | SMTP client for sending emails |