tweaks to previous merge
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Sean Barrett · committed by Sean Barrett · parent 3514898 · Browse files · 1 file·+16 added−24 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+16 added−24 removed
- other:+16 added−24 removed
Provenance
- Commit
c79fa78- Tree
656e159- Author
Sean Barrett <sean@nothings.org>- Committer
Sean Barrett <sean@nothings.org>- Parent
3514898
1 file changed+16 added−24 removed
modified:stb_image.h+16 added-24 removed
4057 unmodified lines4058 // window = 1 << (8 + cinfo)... but who cares, we fully buffer output4059 return 1;4060 }4061 4062-static const stbi_uc stbi__zdefault_length[288] = {4063- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4064- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4065- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4066- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4067- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4068- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4069- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4070- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4071- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,4072- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,4073- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,4074- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,4075- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,4076- 9, 9, 9, 9, 9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5, 54074+static const stbi_uc stbi__zdefault_distance[32] =4075+{4076+ 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,54077 };4078 /*4079 Init algorithm:4080 {2886 unmodified lines6967 /*6968 revision history:6969 2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode;6970 warning fixes; disable run-time SSE detection on gcc;6980- uniform handling of optional "return" values6971+ uniform handling of optional "return" values;6972+ thread-safe initialization of zlib tables6973 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs6974 2.13 (2016-11-29) add 16-bit API, only supported for PNG right now6975 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes6976 2.11 (2016-04-02) allocate large structures on the stack201 unmodified lines