1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
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
..
core lws_fx: fixed point 3232 arithmetic 2022-03-15 10:28:09 +00:00
core-net route: extend lws_route_uidx_t from 1 byte to 2 bytes 2022-03-15 10:28:09 +00:00
cose coverity: 2021-12-1 uplevel fixes 2022-03-15 10:28:09 +00:00
drivers esp32: update against Dec 21 idf 2021-12-23 06:20:27 +00:00
event-libs sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc upng: rewrite for stateful stream decode 2022-03-16 12:59:48 +00:00
plat coverity: 2021-12-1 uplevel fixes 2022-03-15 10:28:09 +00:00
roles alloc: compressed backtrace instrumentation support 2022-03-15 10:28:09 +00:00
secure-streams ss: support VFS via file:// 2022-03-15 10:28:09 +00:00
system adns: bump DNS_MAX to 128 2022-03-15 10:28:09 +00:00
tls mbedtls: v3.1 reverts privacy of mbedtls_net_context fd 2022-03-15 10:28:09 +00:00
CMakeLists.txt pkgconfig: use appropriate static lib name 2022-03-15 10:28:09 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries