Sean Barrett
6e9f34d542
Merge branch 'master' into working
2024-07-15 08:28:08 -07:00
Sean Barrett
449758bd74
update stb_image_resize2.h
2024-05-25 10:56:08 -07:00
Fabian Giesen
07268cbf36
stb_image: New Paeth filter
...
This formulation is equivalent to the original (reference)
implementation but runs _significantly_ faster - this speeds up
the filtering portion of a Paeth-heavy 8192x8192 16-bit/channel
image by a factor of more than 2 on a Zen2 CPU.
I'm investigating doing a more thorough restructuring of this pass,
but this seems like a good first step.
2023-12-14 03:13:59 -08:00
Fabian Giesen
ed64333410
tests: test_png_regress
...
I want to make some changes to the PNG loader, this is to get some
test coverage at least to make it easier not to break anything.
The two ref_results files that are "corrupt" files that stb_image
nevertheless loads without error are checksum failures; this is
by design, since stb_image does not verify checksums.
2023-12-14 03:13:59 -08:00
Sean Barrett
c4bbb6e75f
stb_image_resize2.h 2.00
2023-10-09 17:23:04 -07:00
Sean Barrett
6199bf7713
update stb_image to 2.28
2023-01-29 06:24:13 -08:00
Sean Barrett
7de8f7999b
Merge branch 'master' into dev
2021-07-12 23:47:13 -07:00
Sean Barrett
3a1174060a
opengl stb_truetype demo app
2021-07-12 21:27:12 -07:00
Sean Barrett
4adb57af42
clean up project file
2021-07-12 15:58:08 -07:00
Sean Barrett
1ee679ca2e
update version numbers
2021-07-11 17:07:54 -07:00
Sean Barrett
fd7807e92d
stb_c_lexer: allow including stb_c_lexer.h without defining overrides (all tokens are always defined; token values have changed)
2021-07-11 16:37:34 -07:00
Sean Barrett
0be82e4814
stb_truetype: fix incorrect antialiasing computation in v2 rasterizer, and handle certain cases where math blew up
2021-07-11 16:26:02 -07:00
Sean Barrett
e05ecc05ee
Fix compiling-as-C-pre-C99 issues
2021-07-11 15:26:16 -07:00
Randy
af4c673174
change directory for seed corpus downloads
2021-07-10 15:51:11 +02:00
Randy
a0a8653a7d
attempt to fix issue with CIFuzz
2021-07-10 15:29:39 +02:00
Sean Barrett
4bb337ddf0
test including stb_c_lexer header independnet of implementation
2021-07-09 05:36:53 -07:00
Sean Barrett
fc5b791228
stb_truetype: fix SDF handling of multiple move_to commands in a row
2021-07-07 01:21:37 -07:00
Sean Barrett
84e7a4ae24
stb_c_lexer: fix NUL eof test so it compiles
2021-07-07 00:43:40 -07:00
Randy
dcb1116f13
ossfuzz: improve code coverage
...
fix .gif pattern matching
add netpbm test images derived from the public domain pngsuite
added more image types (downloaded in Dockerfile)
2021-07-06 21:50:18 -07:00
Sean Barrett
c497f72786
Merge branch 'dev' into working
2021-07-03 10:34:04 -07:00
Sean Barrett
781609b7e9
stb_ds: fix arrisn, shgetp_null
2021-06-04 11:02:23 -07:00
Sean Barrett
559d759c2c
stb_hexwave added, stretchy_buffer.h deprecated
2021-04-01 01:53:09 -07:00
Sean Barrett
3152efaa97
Merge branch 'fuzzer_updates' of https://github.com/randy408/stb into working
2020-07-13 04:08:36 -07:00
Randy
3b14b5afa6
Update Makefile
2020-06-01 06:22:44 +02:00
Randy
c8303509fa
make fuzz target compilable as c++ code
2020-06-01 06:18:13 +02:00
Randy
9cd6cdc0e5
add ossfuzz build script
2020-06-01 06:09:16 +02:00
Randy
a6b384358f
Merge branch 'fuzzer_updates' of https://github.com/randy408/stb into fuzzer_updates
2020-06-01 06:03:50 +02:00
Randy
a7fed59fe4
add fuzz target to Makefile
2020-06-01 06:01:40 +02:00
Randy
d1d0e9fdb0
add fuzz target to Makefile
2020-05-11 08:59:07 +02:00
Randy
5a7af50fa5
remove stb_png_read_fuzzer.options
2020-05-11 08:47:45 +02:00
Randy
88062723ff
rename fuzz target
2020-05-11 08:18:56 +02:00
Randy
b75413f8a4
do not define STBI_ONLY_PNG in fuzz target
2020-05-11 08:18:15 +02:00
Randy
4bafa56899
rename fuzz target, add entry point
2020-05-11 05:48:25 +02:00
Adam Korczynski
fdec118312
Added fuzzer for stb_c_lexer
2020-04-09 16:21:56 +01:00
Sean Barrett
828e6cfdf7
update test
2020-02-05 04:31:55 -08:00
Sean Barrett
2805fe39ab
Merge branch 'fix_ub_shift' of https://github.com/wojdyr/stb into working
2020-02-05 03:15:56 -08:00
Sean Barrett
f06f586d18
sprintf warnings
2020-02-05 03:10:07 -08:00
Marcin Wojdyr
3366d1e797
stb_sprintf: avoid left shift of negative value
...
fix undefined behaviour reported by UBSan:
runtime error: left shift of negative value -9223372036854775808
and add a test case.
fixes #800
2020-02-03 20:17:03 +01:00
Sean Barrett
50dc48013b
test stb_include.h
2020-02-02 11:12:27 -08:00
Sean Barrett
c046a25fd7
Merge branch 'fuzz' of https://github.com/randy408/stb into work2
2020-02-02 08:00:39 -08:00
Sean Barrett
81b4fd7342
test_sprintf: clean up for MSVC6 & integration to codebase
2020-02-02 07:37:20 -08:00
Sean Barrett
3223673e86
Merge branch 'test_sprintf' of https://github.com/wojdyr/stb into work2
2020-02-02 07:21:45 -08:00
Sean Barrett
57de42c23f
disable broken tilemap editor build
2020-02-02 07:06:27 -08:00
Sean Barrett
4a7a434c2d
various tests and infrastructure fixes
2020-02-01 04:21:41 -08:00
Sean Barrett
c7343d4263
more Travis fixing
2019-08-11 16:45:14 -07:00
Sean Barrett
897c33133f
more travis testing
2019-08-11 16:42:27 -07:00
Sean Barrett
5037e236ed
try to work around Travis old GCC errors
2019-08-11 15:55:39 -07:00
Sean Barrett
787f1d646a
Update version numbers
2019-08-11 05:38:37 -07:00
Sean Barrett
b26a31072d
test.sbm: tweak tests so all pass
2019-08-11 05:17:42 -07:00
Sean Barrett
846d15c102
image_test: tweak testing to open image in more modes
2019-08-11 04:58:48 -07:00