Nathan Reed
|
4306eea3cb
|
Fix VS2019 warning
- VS2019 on /W4 warns about applying '*' to enums. Fixed by casting to int.
|
ago%!(EXTRA string=5 years) |
Sean Barrett
|
2c2908f505
|
update version numbers
|
ago%!(EXTRA string=6 years) |
Sean Barrett
|
a0b521fcf2
|
no warnings when compiling /W3
compiling all test cases and compilers in test.sbm
Compilers:
32-bit:
VS2015
VS2013
VS2008
VC6 (1998)
clang-cl 9.0.1
64-bit
VS2015
clang-cl 9.0.1
|
ago%!(EXTRA string=6 years) |
Sean Barrett
|
555efbedfc
|
Update version numbers
|
ago%!(EXTRA string=8 years) |
Nathan Reed
|
cbca86de65
|
Add myself to contributors list
|
ago%!(EXTRA string=8 years) |
Nathan Reed
|
de080e6d0b
|
Fix warning about unreachable code
|
ago%!(EXTRA string=8 years) |
Nathan Reed
|
fb524e6768
|
Fix warning about context parameter being unused when STBIR_MALLOC and STBIR_FREE have their default definitions.
|
ago%!(EXTRA string=8 years) |
Sean Barrett
|
c0539b4ea5
|
version; tweak docs
|
ago%!(EXTRA string=8 years) |
Jorge Rodriguez
|
72e0f6c971
|
Fix whitespace to how Sean likes it
|
ago%!(EXTRA string=8 years) |
Jorge Rodriguez
|
1adb98f142
|
Fix some MSVC /W4 warnings
|
ago%!(EXTRA string=8 years) |
Jorge Rodriguez
|
a99bc0ca32
|
Fix a bunch of warnings under Apple's clang-800.0.42.1
|
ago%!(EXTRA string=8 years) |
Sean Barrett
|
a81422cd80
|
version number
|
ago%!(EXTRA string=8 years) |
Sean Barrett
|
e248e30954
|
change license to public-domain AND mit (based on twitter vote)
|
ago%!(EXTRA string=8 years) |
Jorge Rodriguez
|
638267b6d5
|
Floating point rounding causes stbir__calculate_sample_range_upsample to sometimes think it needs one more scanline than it really does. This patch adds one extra entry to the ringbuffer to avoid the problem.
|
ago%!(EXTRA string=8 years) |
Sean Barrett
|
d5ec7789bd
|
stb_image_resize update
|
ago%!(EXTRA string=8 years) |
Aras Pranckevicius
|
21ea5487ff
|
Fix crash when resizing large images (signed integer overflow, e.g. at image size of 24000x24000)
|
ago%!(EXTRA string=9 years) |
Sean Barrett
|
6e4154737c
|
update version numbers, documentation, and contributors
|
ago%!(EXTRA string=9 years) |
Sean Barrett
|
814bb9b5dc
|
remove STBIR__DEBUG_ASSERT because it requires defining/not-defining assert() in a warning-free way on all platforms independent of #include <assert.h>, which is too hard
|
ago%!(EXTRA string=9 years) |
Craig Donner
|
ee6978cb68
|
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
|
ago%!(EXTRA string=9 years) |
Craig Donner
|
49b65c0873
|
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
|
ago%!(EXTRA string=9 years) |
Jorge Rodriguez
|
831b2d2fa6
|
Fix a merge gone wrong, add some more test cases.
|
ago%!(EXTRA string=10 years) |
Jorge Rodriguez
|
a1ef3a1060
|
Fix the calculation of the input image shift when using subpixel regions
|
ago%!(EXTRA string=10 years) |
Jorge Rodriguez
|
cf6f69cdc9
|
Fix the calculation of the input image shift when using subpixel regions. Includes some more tests which had incorrect results before and now work fine.
|
ago%!(EXTRA string=10 years) |
Ryan Whitworth
|
1d48782e1d
|
Added public domain license text
|
ago%!(EXTRA string=10 years) |
nothings
|
891f6d7720
|
Removing bitpacking warning for srgb conversion
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
7c0ae19a42
|
documentation, release data
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
0fc13e997b
|
optimization attempts, no meaningful changes
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
8024673461
|
switch srgb convert to second ryg method, which is a bit faster (8% total speedup on upsampling test);
remove extra table in slowpath
|
ago%!(EXTRA string=11 years) |
Jorge Rodriguez
|
a12d3dedf0
|
Some todo notes.
|
ago%!(EXTRA string=11 years) |
Jorge Rodriguez
|
cbf5ebbd35
|
Install ryg's float -> uint8 sRGB conversion code, which is much faster.
|
ago%!(EXTRA string=11 years) |
Jorge Rodriguez
|
600d80387e
|
Make 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.
|
ago%!(EXTRA string=11 years) |
Jorge Rodriguez
|
7602c99e77
|
Quick formatting fix.
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
dd28033b34
|
don't encode alpha channel twice when alpha is different colorspace from other channels
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
bdbf1e0ef4
|
uint32 images need to round with uint32 cast, not int cast
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
9f66b441bd
|
new quickstart docs;
reformat docs;
new simple uint32 test
|
ago%!(EXTRA string=11 years) |
Jorge Rodriguez
|
3c261481a6
|
Add a very quick guide.
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
385d7a417c
|
delete some unused functions;
get rid of stbir__inline for some functions that don't need it
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
8849501a3f
|
add documentation explaining why even a 64K table for srgb_to_uint8 would be inaccurate
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
9a6af9a8d3
|
replace int(floor()) with int(), since that produces same results for non-negative values and is much faster on 32-bit x86
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
adbbe8dabd
|
move x loop inside switch in horizontal_downsample
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
7a8c9196d1
|
unroll vertical_upsample inner loop, and reverse loop nesting to minimize work
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
9c2ae9bdb8
|
cache 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
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
c9600c012f
|
unroll channel loops in downsampler
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
3ee97c221f
|
compile as C
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
59898db411
|
tweak grammar
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
a2f1cadde8
|
convert tabs to spaces so it's consistent with other stb libs
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
0fa5b5c66f
|
rename cubic to cubicbspline;
tweak filter type documentation
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
29b36b3dea
|
rename filters, document them
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
a9778b8dbd
|
tweak docs; fix compile error in UNUSED_PARAM stuff
|
ago%!(EXTRA string=11 years) |
Sean Barrett
|
df128b7995
|
update STBIR__UNUSED_PARAM to match stb_image.h version
|
ago%!(EXTRA string=11 years) |