1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples-lowlevel/api-tests
Andy Green 48907fca0a upng: rewrite for stateful stream decode
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.
2022-03-16 12:59:48 +00:00
..
api-test-async-dns cmake: bring tls include requirement out as PUBLIC 2021-10-28 08:12:48 +01:00
api-test-backtrace alloc: compressed backtrace instrumentation support 2022-03-15 10:28:09 +00:00
api-test-cose examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-dhcpc coverity fixes 2022-01-16 10:48:11 +00:00
api-test-fts examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-gencrypto examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-jose examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-jrpc jrpc: add support 2021-10-11 09:10:15 +01:00
api-test-lecp examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lejp examples: lgtm fixes now on by default 2021-11-29 15:18:15 +00:00
api-test-lws_cache cmake: Enable WITH_MINIMAL_EXAMPLES by default 2021-11-11 11:52:46 +00:00
api-test-lws_dsh examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lws_map gcc4: conceal typedef in public header 2022-03-15 10:28:09 +00:00
api-test-lws_smd examples: lgtm fixes now on by default 2021-11-29 15:18:15 +00:00
api-test-lws_struct-json examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lws_struct_sqlite examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-lws_tokenize lws_fx: fixed point 3232 arithmetic 2022-03-15 10:28:09 +00:00
api-test-lwsac examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-secure-streams examples: lgtm fixes now on by default 2021-11-29 15:18:15 +00:00
api-test-smtp_client examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00
api-test-upng upng: rewrite for stateful stream decode 2022-03-16 12:59:48 +00:00
README.md examples: move existing to m-e-lowlevel and start repoulating m-e with SS 2021-10-08 09:49:05 +01:00

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