- 02 8月, 2015 1 次提交
-
-
由 Ryan Whitworth 提交于
-
- 29 5月, 2015 1 次提交
-
-
由 Sean Barrett 提交于
stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
-
- 19 4月, 2015 4 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Fabian Giesen 提交于
The original AC decoding logic handled ZRL (runs of 16 zeros) incorrectly. The problem is that the original flow set r=16 and skipped the final coeff write when s=0. This is not actually correct. The problem is the intervening "refinement" bits. With the original logic, even once we decrement r to 0, we keep reading more refinement bits for subsequent coefficients until we find the next currently-unsent AC in the current scan. That is, it works as if it was trying to place 17 new AC values, and only bails at the last minute from actually setting that 17th value. This is wrong. Once we've found the 16th previously-unsent AC, we need to stop reading refinement bits, otherwise we get out of sync with the bit stream (which expects us to read a huffman code next). The easiest fix is to just do what the JPEG standard implicitly assumes anyway: treat ZRL as a run of 15 zeros followed by an explicit magnitude-zero AC coeff. (That is, leave s=0 and actually write s). So this is what this fix does.
-
由 Nicolas Guillemot 提交于
-
- 15 4月, 2015 1 次提交
-
-
由 Sean Barrett 提交于
-
- 13 4月, 2015 5 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
more consistent name, refactor stbi_load_main to preserve old code, support float HDR path, minor bugfix
-
由 Sean Barrett 提交于
bump version and update credits; minor whitespace changes;
-
- 12 4月, 2015 1 次提交
-
-
由 Martins Mozeiko 提交于
-
- 29 3月, 2015 1 次提交
-
-
由 Nicolas Guillemot 提交于
-
- 23 2月, 2015 1 次提交
-
-
由 Sean Barrett 提交于
-
- 20 2月, 2015 1 次提交
-
-
由 Joseph Thomson 提交于
GCC 4.7 gave the warning "signed and unsigned type in conditional expression" because the ternary operator mixes signed and unsigned integers. Fixed by casting to unsigned inside the "if" branch instead of casting the result of the entire conditional.
-
- 17 2月, 2015 1 次提交
-
-
由 Fabian Giesen 提交于
This fixes two things. First, the logic to disable SSE2 on GCC unless "-msse2" was not specific enough, and ended up disabling SIMD support on NEON targets entirely. Shuffle the detection logic around to make that bit x86-specific. Second, 32-bit MinGW assumes 16-byte aligned stacks, but this is not in the Windows ABI and hence DLLs and callbacks don't necessarily provide it. This caused a crash. This can be fixed by providing the right command-line option, which we have no control over. As a compromise, disable the SSE2 path on MinGW unless a specific #define explained in the comments is set. That way, we default to safe (never-crashing) behavior unless the user explicitly signals they know what they're doing.
-
- 06 2月, 2015 1 次提交
-
-
由 Laura Dennis-Jordan 提交于
-
- 19 1月, 2015 1 次提交
-
-
由 Sean Barrett 提交于
fix incorrectly-named assert, attempt to fix (char) cast warning (tricky since char's signedness is unknown)
-
- 18 1月, 2015 3 次提交
-
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
-
- 12 1月, 2015 2 次提交
-
-
由 engin manap 提交于
this variable was causing a warning while compiling with gcc.
-
由 engin manap 提交于
-
- 30 12月, 2014 1 次提交
-
-
由 Sergio Gonzalez 提交于
-
- 26 12月, 2014 1 次提交
-
-
由 Sean Barrett 提交于
-
- 25 12月, 2014 1 次提交
-
-
由 Sean Barrett 提交于
-
- 24 12月, 2014 6 次提交
-
-
由 Fabian Giesen 提交于
-
由 Fabian Giesen 提交于
-
由 Fabian Giesen 提交于
-
由 Sean Barrett 提交于
-
由 Sean Barrett 提交于
tweak docs
-
由 Fabian Giesen 提交于
Also ran a bunch of test cases to make sure the IDCT and H2V2 resamplers were correct.
-
- 23 12月, 2014 1 次提交
-
-
由 Sean Barrett 提交于
Put progressive JPEG AC decode logic back the way I wrote it originally (I changed it to match jpgd when I was trying to figure out why it didn't work); add STBI__ prefixes to internal SCAN_ enum; strip unused function arguments for progressive funcs; tweak release notes; forget to git commit frequently so these would all be in their own commits;
-
- 22 12月, 2014 2 次提交
-
-
由 Sean Barrett 提交于
stbi__ prefix on two functions that were missing it
-
由 Sean Barrett 提交于
fix long-standing bug where gifs were just broken AFAICT
-
- 21 12月, 2014 3 次提交
-
-
由 Sean Barrett 提交于
-
由 Fabian Giesen 提交于
-
由 Fabian Giesen 提交于
-
- 20 12月, 2014 1 次提交
-
-
由 Sean Barrett 提交于
tweak credits tweak revision history remove trailing whitespace
-