1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00
libwebsockets/cmake
Andy Green 1d3ec6a3a1 lws-jpeg
Introduce a rewritten picojpeg that is able to operate statefully and
rasterize into an internal line ringbuffer, emitting a line of pixels
at a time to the caller.  This is the JPEG equivalent of the lws
PNG decoder.

JPEG is based around 8- or 16- line height MCU blocks, depending on
the chroma coding, mandating a corresponding internal line buffer
requirement.

Example total heap requirement for various kinds of 600px width jpeg
decoding:

  Grayscale:    6.5KB
  RGB 4:4:4:   16.4KB
  RGB 4:2:2v:  16.4KB
  RGB 4:4:2h:  31KB
  RGB 4:4:0:   31KB

No other allocations occur during decode.

Stateful stream parsing means decode can be paused for lack of input
at any time and resumed seamlessly when more input becomes available.
2022-03-25 08:13:48 +00:00
..
FindGit.cmake add FindGit.cmake 2013-02-18 18:34:10 +08:00
FindMiniz.cmake cmake: miniz: add as option 2019-07-03 19:46:23 +01:00
FindOpenSSLbins.cmake cmake: windows: update FindOpenSSLbins.cmake 2020-11-26 09:23:24 +00:00
libwebsockets-config-version.cmake.in cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
libwebsockets-config.cmake.in cmake: remove duplicate LwsCheckRequirements 2022-03-15 10:28:09 +00:00
lws_config.h.in lws-jpeg 2022-03-25 08:13:48 +00:00
lws_config_private.h.in plat: baremetal and rpi pico support 2021-10-08 09:48:41 +01:00
LwsCheckRequirements.cmake qnx: toolchain file and adaptations 2021-12-15 13:28:23 +00:00
pico_sdk_import.cmake plat: baremetal and rpi pico support 2021-10-08 09:48:41 +01:00
UseRPMTools.cmake rpm: do parallel compilation during rpm builds 2018-05-26 09:20:20 +08:00