FFmpeg/ffbuild
softworkz 517a805565 fftools/resources: Add resource manager files with build-time compression
Compression requires zlib to be available, otherwise resources will
be included uncompressed - in either case via BIN2C.

It can also be disabled via

./configure --disable-resource-compression

Size figures:

graph.css         7752
graph.css.min     6655 (css is always minified)
graph.html        2153

No Compression

graph.css.c      40026
graph.css.o       9344 (6688)
graph.html.c     13016
graph.html.o      4848 (2186)

With Compression

graph.css.c      10206
graph.css.o       4368 (1718)
graph.html.c      5725
graph.html.o      3632 (971)

Numbers in brackets: .rodata size from 'size -Ax -d *.o'

Signed-off-by: softworkz <softworkz@hotmail.com>
2025-05-15 23:08:05 +02:00
..
.gitignore avfilter: compress CUDA PTX code if possible 2021-06-22 14:05:44 +02:00
arch.mak configure: Add wasm as a fake arch 2024-12-04 16:43:06 +08:00
bin2c.c ffbuild/bin2c: misc fix 2025-01-13 23:58:36 +08:00
common.mak fftools/resources: Add resource manager files with build-time compression 2025-05-15 23:08:05 +02:00
library.mak configure: add option to select use of response files 2025-03-30 17:22:10 +05:30
libversion.sh ffbuild/libversion.sh: add shebang 2024-04-09 15:34:53 +02:00
pkgconfig_generate.sh ffbuild: fix include path for uninstalled .pc files 2025-04-22 21:04:36 +02:00
version.sh