Sean Barrett
ba5e333faf
STBI_MALLOC etc.
...
some documentation cleanup
ago%!(EXTRA string=11 years)
Sean Barrett
bd6b78f268
finalize scalar YCbCr conversion back-ported from SSE version;
...
add missing STBIDEFs to a few functions;
update documentation with full 1.49 info even though most isn't implemented yet
ago%!(EXTRA string=11 years)
Sean Barrett
f259bf27e9
VC6:
...
support using inline asm for cpuid
YCbCr:
switch SSE code to constants that match old C;
create C version that is same as SSE;
tiny optimization(?) of SSE
ago%!(EXTRA string=11 years)
Sean Barrett
f547761c15
Fix assert() that should be STBI_ASSERT()
ago%!(EXTRA string=11 years)
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
ago%!(EXTRA string=11 years)
Sean Barrett
01d2c9d957
test program now verifies pngsuite tests against refererence versions
ago%!(EXTRA string=11 years)
Sean Barrett
8679ce08b7
fix incorrect img_n variable for interlaced files, caused files to be totally incorrect if forcing channel count
ago%!(EXTRA string=11 years)
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
ago%!(EXTRA string=11 years)
nothings
8ac41a413d
fix typo
ago%!(EXTRA string=11 years)
nothings
3a5caacaae
Update README.md
ago%!(EXTRA string=11 years)
nothings
49d5456de9
Update README.md
ago%!(EXTRA string=11 years)
nothings
916800aae5
Update README.md
ago%!(EXTRA string=11 years)
nothings
cd5b5a5684
Update README.md
ago%!(EXTRA string=11 years)
nothings
b62bc08c34
Update README.md
ago%!(EXTRA string=11 years)
nothings
ae5bc8dfe9
Update README.md
ago%!(EXTRA string=11 years)
nothings
9b1e1c50c0
Update README.md
ago%!(EXTRA string=11 years)
nothings
7d0cec62c8
Update README.md
ago%!(EXTRA string=11 years)
nothings
4b87ba76fe
Update README.md
ago%!(EXTRA string=11 years)
nothings
539dc3996b
Update README.md
ago%!(EXTRA string=11 years)
nothings
19b24bba1a
Update README.md
ago%!(EXTRA string=11 years)
nothings
c6e1ec0cec
Create README.md
ago%!(EXTRA string=11 years)
Sean Barrett
22dbcffef7
stbtt_Pack* documentation
...
oversample test tweaks
ago%!(EXTRA string=11 years)
Sean Barrett
f03e352093
stb_rect_pack: fix LARGE_RECT bug
...
stb_truetype: oversampling, including oversampling demo app
ago%!(EXTRA string=11 years)
Sean Barrett
b6f8358f47
various fixes for compilation test
ago%!(EXTRA string=11 years)
Sean Barrett
d97c160e4a
tilemap editor 0.30
ago%!(EXTRA string=11 years)
Sean Barrett
17647014b3
fix c++ compilation
ago%!(EXTRA string=11 years)
Sean Barrett
0fc13e997b
optimization attempts, no meaningful changes
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)
Sean Barrett
dd28033b34
don't encode alpha channel twice when alpha is different colorspace from other channels
ago%!(EXTRA string=11 years)
Sean Barrett
9f66b441bd
new quickstart docs;
...
reformat docs;
new simple uint32 test
ago%!(EXTRA string=11 years)
Jorge Rodriguez
f0ba7f5f7e
Get rid of old perf tests.
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
f711fdcb0f
disable performance test in test code, back to regression test path
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
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
ago%!(EXTRA string=11 years)
Sean Barrett
972456cb63
explicit performance tests variants
ago%!(EXTRA string=11 years)
Sean Barrett
c9600c012f
unroll channel loops in downsampler
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
da2aa8f6b7
checkboard test to verify srgb
ago%!(EXTRA string=11 years)
Sean Barrett
a9778b8dbd
tweak docs; fix compile error in UNUSED_PARAM stuff
ago%!(EXTRA string=11 years)
Sean Barrett
7a4f1f4665
update with new tests for srgb conversion
ago%!(EXTRA string=11 years)
Sean Barrett
16d68d14f8
fix 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
ago%!(EXTRA string=11 years)
Sean Barrett
30c7a981ec
compile 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!;
ago%!(EXTRA string=11 years)
Jorge Rodriguez
953a637841
Use a carefully shaped trapezoid instead of a box filter to avoid jumps between pixel values.
ago%!(EXTRA string=11 years)
Sean Barrett
671f04bd7e
debugging truetype crash
ago%!(EXTRA string=11 years)
Sean Barrett
4e580cf9ed
fix compile
ago%!(EXTRA string=11 years)
Jorge Rodriguez
c9d67446d2
Reverse allocation routines parameter order so that the context is at the back.
ago%!(EXTRA string=11 years)
Jorge Rodriguez
41e6aad693
Avoid repeated adds and ensure correct round-trip result.
ago%!(EXTRA string=11 years)