Fabian Giesen
518306517c
stb_image: JPEG dequant in decode_block not IDCT.
...
Inside decode_block, we're still sparse, and we can use that
sparsity pattern without doing extra work to discover it.
2014-12-18 06:31:53 -08:00
Fabian Giesen
1d5652044d
stb_image: JPEG fast_ac table - decode entire AC at once.
2014-12-18 06:30:42 -08:00
Fabian Giesen
a1bd1f7f1f
stb_image: Faster stbi__extend_receive.
2014-12-18 06:25:42 -08:00
Sean Barrett
f547761c15
Fix assert() that should be STBI_ASSERT()
2014-12-14 18:14:14 -08:00
Sean Barrett
91255cb1cd
update stb_image version & changelog
2014-12-14 02:06:33 -08:00
Sean Barrett
f9e593c25c
Merge branch 'optimize' of https://github.com/rygorous/stb into working
...
Conflicts:
stb_image.h
Also disable VC6 automatic precompiled headers which were enabled in some projects.
2014-12-14 01:57:22 -08:00
Sean Barrett
8ac015c03f
fix 1/2/4-bit png to filter bytes before decoding to pixels;
...
rename pngsuite/part1 to pngsuite/primary;
check in pngsuite
2014-12-14 01:43:23 -08:00
Sean Barrett
01d2c9d957
test program now verifies pngsuite tests against refererence versions
2014-12-14 00:01:50 -08:00
Sean Barrett
8679ce08b7
fix incorrect img_n variable for interlaced files, caused files to be totally incorrect if forcing channel count
2014-12-13 23:35:55 -08:00
Sean Barrett
ff2d5473c5
Merge branch 'master' of https://github.com/ocornut/stb into working
2014-12-13 23:05:49 -08:00
Fabian Giesen
1996a019ac
stb_image: Guess decoded image size before zlib decode to avoid unnecessary reallocs.
2014-12-13 19:15:38 -08:00
Fabian Giesen
3d6dccf0c4
stb_image: Make 'fast' table contain code size and value directly.
2014-12-13 18:48:37 -08:00
Fabian Giesen
007de5eb6e
stb_image: Extract zhuffman_decode slow path into own function.
2014-12-13 18:18:36 -08:00
Fabian Giesen
cdc230598e
stb_image: Fast path for matches with dist=1 (runs) in stbi__parse_huffman_block.
2014-12-13 18:07:00 -08:00
Fabian Giesen
92b9e262b7
stb_image: Keep zout in a local var during stbi__parse_huffman_block.
2014-12-13 17:58:36 -08:00
Fabian Giesen
8188e842e2
stb_image: Add 'static' for some internal funcs, STBIDEF for external ones.
2014-12-13 17:31:51 -08:00
Fabian Giesen
61428d4526
stb_image: Trivial optimizations for filter path when img_n==out_n.
2014-12-13 17:22:57 -08:00
Sean Barrett
00965512d7
update version number
2014-12-10 00:29:25 -08:00
Sean Barrett
26439254e8
fix use of stbrp_coord if no stb_rect_pack;
...
fix a few assert()s that weren't STBTT_asserts();
fix missing cast for C++
fix typo in C++ test compilation that prevented it from trying to compile stb_truetype
2014-12-10 00:27:11 -08:00
Sean Barrett
34eec7cc5d
Merge branch 'oversample_shift' of https://github.com/rygorous/stb
2014-12-08 20:00:18 -08:00
Sean Barrett
d1c85eac78
update version numbers
2014-12-08 19:58:51 -08:00
Sean Barrett
97037461d9
stb_truetype:
...
STBTT_POINT_SIZE
documentation for above
stb_rect_pack:
STBRP_ASSERT
2014-12-08 19:56:39 -08:00
Fabian Giesen
d9e121f4c7
stb_rect_pack: Fix implicit conversion warnings.
2014-12-08 19:53:12 -08:00
Fabian Giesen
82677e5518
stb_truetype: Fix implicit conversion warnings.
2014-12-08 19:51:39 -08:00
Fabian Giesen
27974c42f9
stb_truetype: Negative size = pixels for EM square.
2014-12-08 19:43:27 -08:00
Fabian Giesen
ffbea74703
stb_rect_pack.h: Impl must include assert.h
2014-12-08 19:39:49 -08:00
Fabian Giesen
5f674fc7e5
stb_truetype: Cancel out phase offset from box filter correctly.
2014-12-08 19:20:41 -08:00
nothings
8ac41a413d
fix typo
2014-12-08 11:42:47 -08:00
nothings
3a5caacaae
Update README.md
2014-12-06 23:50:34 -08:00
nothings
49d5456de9
Update README.md
2014-12-06 23:49:29 -08:00
nothings
916800aae5
Update README.md
2014-12-06 23:48:10 -08:00
nothings
cd5b5a5684
Update README.md
2014-12-06 23:46:40 -08:00
nothings
b62bc08c34
Update README.md
2014-12-06 23:31:12 -08:00
nothings
ae5bc8dfe9
Update README.md
2014-12-06 23:30:46 -08:00
nothings
9b1e1c50c0
Update README.md
2014-12-06 23:28:28 -08:00
nothings
7d0cec62c8
Update README.md
2014-12-06 23:28:04 -08:00
nothings
4b87ba76fe
Update README.md
2014-12-06 23:22:14 -08:00
nothings
539dc3996b
Update README.md
2014-12-06 23:21:11 -08:00
nothings
19b24bba1a
Update README.md
2014-12-06 23:19:25 -08:00
nothings
c6e1ec0cec
Create README.md
2014-12-06 23:17:44 -08:00
Sean Barrett
0a1d82f9e3
readme
2014-12-06 23:02:10 -08:00
Sean Barrett
22dbcffef7
stbtt_Pack* documentation
...
oversample test tweaks
2014-12-06 23:00:59 -08:00
Sean Barrett
f03e352093
stb_rect_pack: fix LARGE_RECT bug
...
stb_truetype: oversampling, including oversampling demo app
2014-12-06 12:28:46 -08:00
Sean Barrett
b6f8358f47
various fixes for compilation test
2014-12-02 03:00:08 -08:00
Sean Barrett
0a3dd5aff3
new font bitmap baking API
2014-12-02 02:59:44 -08:00
Sean Barrett
37c95d8d55
add internal version number for use by stb_truetype
2014-12-02 02:59:05 -08:00
Sean Barrett
5f81a92cdd
use explicit float constants to avoid warnings in some compilers
2014-12-02 02:58:08 -08:00
Sean Barrett
99198d044f
Merge branch 'working'
2014-11-25 15:32:43 -08:00
Sean Barrett
e9151589ca
duh, best-fit should tiebreak using waste, not prioritize waste (which makes bizarre towers)
2014-11-25 15:32:08 -08:00
nothings
36ef8be0be
fix typo
2014-11-24 18:56:56 -08:00