Commit Graph

232 Commits

Author SHA1 Message Date
Sean Barrett
cf51044bc6 update stb_pg project 2016-10-07 08:23:24 -07:00
Sean Barrett
25b1f563d1 stbcc 0.94 2016-04-17 09:16:26 -07:00
Sean Barrett
51393c0a7a remove dead code after previous optimizations 2016-04-17 08:45:06 -07:00
Sean Barrett
d1eba33305 fix bug w/ large clumps per cluster;
reduce time spent on global union-find by skipping clumps that don't touch edges
2016-04-17 08:12:52 -07:00
Sean Barrett
ad55a9b383 version 0.93
assign surplus adjacency storage only to clumps that touch edge
document timings and memory usage
2016-04-16 14:05:40 -07:00
Sean Barrett
667f79589a forgot to include stb_connected_components test source file 2016-04-16 12:58:37 -07:00
Sean Barrett
e585dad291 change map image formats to workaround stb_image bug 2016-04-16 11:21:59 -07:00
Sean Barrett
0214a3c71f untested simple batching;
document algorithm;
automatically use sqrt(N) instead of 32 as cluster size
2016-04-16 10:04:03 -07:00
Sean Barrett
1392344cdd include stb_connected_components.h in main stb compile tests, add test app 2016-04-16 09:14:39 -07:00
Sean Barrett
cbc1e7c897 Merge branch 'test' into working 2016-04-02 02:13:41 -07:00
Sean Barrett
4ff6723a6d make resample_test work in VC6 2016-04-02 02:13:20 -07:00
Sean Barrett
50479cb07c stb_image: allow jpegs that are rgb not YCrCb 2016-03-26 15:46:59 -07:00
Jorge Rodriguez
ff862a2a46 Merge https://github.com/nothings/stb 2016-02-09 19:37:07 -08:00
Sean Barrett
9c8762a156 update other_libs.md 2016-01-23 08:44:27 -08:00
Sean Barrett
820f63be44 stb_tilemap_editor: fix typo in docuemtnation, update version & credits 2016-01-22 05:17:12 -08:00
Sean Barrett
0860860af6 avoid __forceinline in mingw since their definition for C is broken;
dummy definitions for malloc et al (note you have to modify source to make this work though anyway);
tweak credits change;
2016-01-16 07:19:27 -08:00
Jorge Rodriguez
831b2d2fa6 Fix a merge gone wrong, add some more test cases. 2015-11-10 13:41:53 -08:00
Jorge Rodriguez
a1ef3a1060 Fix the calculation of the input image shift when using subpixel regions 2015-11-10 11:25:59 -08:00
Sean Barrett
2b57ea95da fixed version of removed support for CODEBOOK_SHORTS 2015-11-08 19:16:25 -08:00
Sean Barrett
bc2219e1b3 fix multiple crashes on invalid files 2015-11-08 16:22:07 -08:00
Sean Barrett
ea88e59b5d fix invalid handling of truncated end-of-file indicator 2015-11-08 13:45:33 -08:00
Sean Barrett
69a318bdb3 fix two invalid-file crashes found by fuzz testing 2015-11-08 13:20:55 -08:00
Sean Barrett
2073403a5f fix two setup crashes found by fuzz testing 2015-11-08 13:09:30 -08:00
Sean Barrett
297ff62859 change bmp info to use common header parser 2015-11-08 13:09:16 -08:00
Sean Barrett
876aea3dbe refactor bmp header parser for sharing with stbi_info 2015-11-08 01:22:30 -08:00
Sean Barrett
93b2b82996 get rid of unused return value from write callback 2015-09-14 05:57:42 -07:00
Sean Barrett
b4477803cb fix public function names;
fix internal names to be namspaced properly;
2015-09-14 05:48:24 -07:00
Sean Barrett
ff116a4fe8 allow font ranges with first_char = 0;
fix divide by 0 for exactly-vertical edges;
fix possible divide by 0 for exactly-horizontal edges
add documentation for stbtt_Rasterize;
2015-09-13 11:42:54 -07:00
Sean Barrett
d5b8af12cb fix missing "defined" in #if defined(STBI_NO_foo);
fix incorrect initialization of alpha channel for RGB PSD
2015-09-13 11:08:40 -07:00
Sean Barrett
023ff3ffd2 Merge pull request #140 from ocornut/stb-wingraph-static
stb_wingraph.h: missing lib pragmas for completeness
2015-09-13 07:01:02 -07:00
Sean Barrett
33c9010223 update version & version history 2015-09-13 05:51:16 -07:00
Sean Barrett
90dc93a1cc fix bug where we couldn't rewind a file that reached EOF, which can happen with < 92-byte PIC,PNM,HDR,TGA 2015-09-13 05:41:21 -07:00
Sean Barrett
a3d62dfec1 fix a few crash bugs with invalid stb_vorbis files (reported by Philip Bennefall, found using a fuzz tester) 2015-09-03 11:16:19 -07:00
Sean Barrett
0e24ec5feb fix some cases that didn't return outofmem error properly and would crash instead 2015-09-03 07:11:02 -07:00
Sean Barrett
c15190373c add missing changes to project file 2015-08-30 19:31:36 -07:00
Sean Barrett
ebb54fd7a3 seeking in stb_vorbis (Dougall Johnson)
test program for seeking (stb)
2015-08-30 19:29:35 -07:00
Sean Barrett
d821fd83f3 Merge branch 'master' into working
Conflicts:
	stb_voxel_render.h
2015-08-01 04:02:00 -07:00
ocornut
be8284de7e stb_wingraph.h: missing lib pragmas for completeness 2015-06-30 20:02:41 -06:00
Sean Barrett
aa89970d6b stb_image.h: fix *comp value when loading PSDs
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
2015-05-28 22:11:45 -07:00
Sean Barrett
3f17b24d90 make sure all libs compile as C++ 2015-04-14 03:53:26 -07:00
Sean Barrett
1384715b11 Merge branch 'master' into working 2015-04-13 11:58:26 -07:00
Sean Barrett
7b72651134 add stb_voxel_render to standard compilation tests 2015-04-12 08:59:49 -07:00
Sean Barrett
9534eb2e08 added input.packed_compact for storing most of the major 2/3-bit values in one byte 2015-04-12 01:23:18 -07:00
Sean Barrett
6685256560 change STBVOX_MAKE_LIGHTING to STBVOX_MAKE_LIGHTING_EXT so header file
doesn't have to see the config variables (although this way is actually
more bug prone since you can now use the wrong macro)
2015-04-11 01:05:55 -07:00
Sean Barrett
e2b645e4d7 Add vheight documentation;
Add a missing vheight case;
Add STBVOX_CONFIG_VHEIGHT_IN_LIGHTING;
Fix broken STBVOX_CONFIG_ROTATION_IN_LIGHTING that was broken when I incompletely refactored the #define
2015-04-11 01:01:57 -07:00
Sean Barrett
cd1d05b389 voxel render 0.78; compile as C++, fix bad #else 2015-04-02 07:08:27 -07:00
Sean Barrett
90d58e577e Update README.md 2015-04-01 13:52:03 -07:00
Mischanix
feae54a2d9 Request a 24-bit depth buffer 2015-04-01 12:41:49 -05:00
Sean Barrett
3bb829574d mostly documented 2015-04-01 00:24:46 -07:00
Sean Barrett
9e5e19f5a3 various fixes 2015-03-31 02:32:17 -07:00