Sean Barrett
|
c4bbb6e75f
stb_image_resize2.h 2.00
|
1 year ago |
Sean Barrett
|
a0b521fcf2
no warnings when compiling /W3
|
6 years ago |
Jorge Rodriguez
|
a99bc0ca32
Fix a bunch of warnings under Apple's clang-800.0.42.1
|
8 years ago |
Sean Barrett
|
4ff6723a6d
make resample_test work in VC6
|
9 years ago |
Jorge Rodriguez
|
831b2d2fa6
Fix a merge gone wrong, add some more test cases.
|
9 years ago |
Jorge Rodriguez
|
a1ef3a1060
Fix the calculation of the input image shift when using subpixel regions
|
9 years ago |
Sean Barrett
|
0fc13e997b
optimization attempts, no meaningful changes
|
11 years ago |
Jorge Rodriguez
|
cbf5ebbd35
Install ryg's float -> uint8 sRGB conversion code, which is much faster.
|
11 years ago |
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.
|
11 years ago |
Sean Barrett
|
dd28033b34
don't encode alpha channel twice when alpha is different colorspace from other channels
|
11 years ago |
Sean Barrett
|
9f66b441bd
new quickstart docs;
|
11 years ago |
Jorge Rodriguez
|
f0ba7f5f7e
Get rid of old perf tests.
|
11 years ago |
Sean Barrett
|
f711fdcb0f
disable performance test in test code, back to regression test path
|
11 years ago |
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
|
11 years ago |
Sean Barrett
|
1dcca19ae0
because 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
|
11 years ago |
Sean Barrett
|
972456cb63
explicit performance tests variants
|
11 years ago |
Sean Barrett
|
c9600c012f
unroll channel loops in downsampler
|
11 years ago |
Sean Barrett
|
0fa5b5c66f
rename cubic to cubicbspline;
|
11 years ago |
Sean Barrett
|
29b36b3dea
rename filters, document them
|
11 years ago |
Sean Barrett
|
da2aa8f6b7
checkboard test to verify srgb
|
11 years ago |
Sean Barrett
|
a9778b8dbd
tweak docs; fix compile error in UNUSED_PARAM stuff
|
11 years ago |
Sean Barrett
|
7a4f1f4665
update with new tests for srgb conversion
|
11 years ago |
Sean Barrett
|
16d68d14f8
fix stbir__linear_to_srgb_uchar:
|
11 years ago |
Sean Barrett
|
30c7a981ec
compile as C;
|
11 years ago |
Sean Barrett
|
1208730e1e
Merge branch 'resample' of http://github.com/bsvino/stb into resample
|
11 years ago |
Jorge Rodriguez
|
953a637841
Use a carefully shaped trapezoid instead of a box filter to avoid jumps between pixel values.
|
11 years ago |
Sean Barrett
|
4e580cf9ed
fix compile
|
11 years ago |
Jorge Rodriguez
|
c9d67446d2
Reverse allocation routines parameter order so that the context is at the back.
|
11 years ago |
Jorge Rodriguez
|
41e6aad693
Avoid repeated adds and ensure correct round-trip result.
|
11 years ago |
Jorge Rodriguez
|
969ff7c850
Make sure calculate_memory matches with the allocations. Fix some errant asserts.
|
11 years ago |