1. 14 9月, 2015 2 次提交
  2. 13 9月, 2015 6 次提交
  3. 10 9月, 2015 2 次提交
  4. 04 9月, 2015 2 次提交
  5. 04 8月, 2015 1 次提交
    • U
      GIF loading improvements. · 23dfb8c0
      urraka 提交于
      - Fixed possible memory leak.
      - Fix for transparent backgrounds.
      - Adapted internal function to allow proper animation loading.
      23dfb8c0
  6. 02 8月, 2015 2 次提交
  7. 25 7月, 2015 1 次提交
    • R
      Fixed stupid endianness bug. · 6645ea59
      rmitton 提交于
      Incorrect endianness hilariously doesn't manifest _if_ the original
      image was upconverted from 8-bit to 16-bit.
      6645ea59
  8. 08 7月, 2015 2 次提交
  9. 07 7月, 2015 1 次提交
  10. 30 6月, 2015 2 次提交
  11. 29 5月, 2015 1 次提交
  12. 19 4月, 2015 4 次提交
    • S
      update version numbers & docs · 947bdcd0
      Sean Barrett 提交于
      947bdcd0
    • S
      bump stb_image to version 2.05, tweak docs · ac5e25ae
      Sean Barrett 提交于
      ac5e25ae
    • F
      stb_image: Progressive AC decoding - fix ZRL code. · f224bc2c
      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.
      f224bc2c
    • N
      fix signed/unsignted compare warning · 1894bede
      Nicolas Guillemot 提交于
      1894bede
  13. 15 4月, 2015 1 次提交
  14. 13 4月, 2015 5 次提交
  15. 12 4月, 2015 1 次提交
  16. 29 3月, 2015 1 次提交
  17. 23 2月, 2015 1 次提交
  18. 20 2月, 2015 1 次提交
    • J
      Avoid GCC sign-compare warning. · a60912f1
      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.
      a60912f1
  19. 17 2月, 2015 1 次提交
    • F
      stb_image: NEON and SSE2 SIMD detection fixes. · 4b0c6f66
      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.
      4b0c6f66
  20. 06 2月, 2015 1 次提交
  21. 19 1月, 2015 1 次提交
  22. 18 1月, 2015 1 次提交