ece0883f3cMerge branch 'working'
Sean Barrett
2014-11-24 18:22:14 -0800
2c56e11c59doc tweaks
Sean Barrett
2014-11-24 18:21:36 -0800
a9e1f96765rename 'stbrp_init_packer' to 'stbrp_init_target' since it must be called for every target; clean up docs
Sean Barrett
2014-11-24 18:20:13 -0800
8d3ef72e3cfixed bugs related to the best-fit heuristic
Sean Barrett
2014-11-24 18:12:46 -0800
0c10e7c40etested & debugged on two cases (both heuristics); unknown if BF is *correct*.
Sean Barrett
2014-11-24 17:47:06 -0800
b09f8186dcnon-working rectangle packer
Sean Barrett
2014-11-24 16:06:46 -0800
17e82a4080Merge branch 'master' into working
Sean Barrett
2014-09-18 07:10:18 -0700
f36b7116e2Fix a few bugs with subpixel shifts, shift_y in particular.
Fabian Giesen
2014-09-17 22:54:16 -0700
dea604b896add stb_image_resize
Sean Barrett
2014-09-17 07:11:56 -0700
37faf29f69Merge branch 'resample'
Sean Barrett
2014-09-17 07:10:40 -0700
7c0ae19a42documentation, release data
Sean Barrett
2014-09-17 07:10:21 -0700
0fc13e997boptimization attempts, no meaningful changes
Sean Barrett
2014-09-17 06:24:40 -0700
8024673461switch srgb convert to second ryg method, which is a bit faster (8% total speedup on upsampling test); remove extra table in slowpath
Sean Barrett
2014-09-17 06:07:16 -0700
a12d3dedf0Some todo notes.
Jorge Rodriguez
2014-09-16 10:50:41 -0700
cbf5ebbd35Install ryg's float -> uint8 sRGB conversion code, which is much faster.
Jorge Rodriguez
2014-09-16 10:36:19 -0700
600d80387eMake a guess at the value before doing the binary search, cuts the number of conditionals by half. Not as much gain as I hoped but something.
Jorge Rodriguez
2014-09-15 14:01:11 -0700
385d7a417cdelete some unused functions; get rid of stbir__inline for some functions that don't need it
Sean Barrett
2014-09-13 08:50:10 -0700
f711fdcb0fdisable performance test in test code, back to regression test path
Sean Barrett
2014-09-13 08:22:15 -0700
8849501a3fadd documentation explaining why even a 64K table for srgb_to_uint8 would be inaccurate
Sean Barrett
2014-09-13 08:21:14 -0700
9a6af9a8d3replace int(floor()) with int(), since that produces same results for non-negative values and is much faster on 32-bit x86
Sean Barrett
2014-09-13 08:12:37 -0700
1dcca19ae0because of we divide by /255 not /256, we lose numerical precision, so can't guarantee that box filter results round to same results as naive
Sean Barrett
2014-09-13 08:06:39 -0700
adbbe8dabdmove x loop inside switch in horizontal_downsample
Sean Barrett
2014-09-13 07:46:09 -0700
7a8c9196d1unroll vertical_upsample inner loop, and reverse loop nesting to minimize work
Sean Barrett
2014-09-13 07:41:39 -0700
9c2ae9bdb8cache filter-width derived computations that use floor/ceil because those were showing up like crazy on VC6 profile despite only being per-scanline-ish?!? unroll inner loop in horizontal_resample
Sean Barrett
2014-09-13 07:29:04 -0700
972456cb63explicit performance tests variants
Sean Barrett
2014-09-13 06:53:53 -0700
c9600c012funroll channel loops in downsampler
Sean Barrett
2014-09-13 06:23:07 -0700
3ee97c221fcompile as C
Sean Barrett
2014-09-13 06:12:40 -0700
59898db411tweak grammar
Sean Barrett
2014-09-13 06:05:00 -0700
a2f1cadde8convert tabs to spaces so it's consistent with other stb libs
Sean Barrett
2014-09-13 06:03:48 -0700
60064f9803add stb_image_resize.h to readme
Sean Barrett
2014-09-13 05:56:06 -0700
0fa5b5c66frename cubic to cubicbspline; tweak filter type documentation
Sean Barrett
2014-09-13 05:52:19 -0700
36b417f6b4Optimizations: Skip zero-coefficient contributions. Reduce the size of the coefficients array when downsampling.
Jorge Rodriguez
2014-09-11 09:39:03 -0700
27f26f8337Documentation; rename STBIR_FLAG_PREMULTIPLED_ALPHA to STBIR_FLAG_ALPHA_PREMULTIPLIED so that both flags have "ALPHA" first
Sean Barrett
2014-09-11 03:02:20 -0700
7a4f1f4665update with new tests for srgb conversion
Sean Barrett
2014-09-11 02:10:37 -0700
16d68d14f8fix stbir__linear_to_srgb_uchar: 1. table stored threshhold of transition from i to i+1, but wants to be i-1 to i 2. table was computed by dividing uchar by 256.0 instead of 255.0, causing it to be 100% wrong
Sean Barrett
2014-09-11 02:05:53 -0700
30c7a981eccompile as C; fix some unsigned/signed comparisons; avoid round() since it's not in pre-C99 C; remove MAX_CHANNELS since I never ended up needing it; rename STBIR_EPSILON to STBIR_ALPHA_EPSILON; don't use STBIR_ALPHA_EPSILON on float input (can't remove it properly due to numeric precision, and they can do it themselves); optimize subtraction of STBIR_ALPHA_EPSILON; sorry i forgot to commit these separately!;
Sean Barrett
2014-09-11 01:47:50 -0700
46dc8f84fbUse vertical pixel width for the ring buffer.
Jorge Rodriguez
2014-09-10 20:12:38 -0700
953a637841Use a carefully shaped trapezoid instead of a box filter to avoid jumps between pixel values.
Jorge Rodriguez
2014-09-10 19:08:11 -0700
671f04bd7edebugging truetype crash
Sean Barrett
2014-09-10 15:35:06 -0700
4e580cf9edfix compile
Sean Barrett
2014-09-10 15:11:35 -0700
6922628106Use an even smaller epsilon. Allow the user to avoid the epsilon business if they want to preserve their alpha values.
Jorge Rodriguez
2014-09-10 15:03:55 -0700
057f29f813update version number
nothings
2014-09-10 11:03:49 -0700
87b7e3db41update version number
nothings
2014-09-10 11:03:26 -0700
5db8a8bc36Merge pull request #42 from rygorous/master
nothings
2014-09-10 11:02:04 -0700
40cc1c59b2Add support for alternative keyboard shortcuts for text/line start/end.
Fabian Giesen
2014-09-10 10:54:22 -0700