OLD | NEW |
1 Name: zlib | 1 Name: zlib |
| 2 Short Name: zlib |
2 URL: http://zlib.net/ | 3 URL: http://zlib.net/ |
3 Version: 1.2.8 | 4 Version: 1.2.11 |
4 Security Critical: yes | 5 Security Critical: yes |
5 License: Custom license | 6 License: Custom license |
| 7 License File: LICENSE |
6 License Android Compatible: yes | 8 License Android Compatible: yes |
7 | 9 |
8 Description: | 10 Description: |
9 General purpose compression library | 11 "A massively spiffy yet delicately unobtrusive compression library." |
| 12 |
| 13 zlib is a free, general-purpose, legally unencumbered lossless data-compression |
| 14 library. zlib implements the "deflate" compression algorithm described by RFC |
| 15 1951, which combines the LZ77 (Lempel-Ziv) algorithm with Huffman coding. zlib |
| 16 also implements the zlib (RFC 1950) and gzip (RFC 1952) wrapper formats. |
10 | 17 |
11 Local Modifications: | 18 Local Modifications: |
12 A few minor changes, all marked with "Google": | 19 - Only source code from the zlib distribution used to build the zlib and |
13 - Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined. | 20 minizip libraries are present. Many other files have been omitted. Only *.c |
14 - Removed use of strerror for WinCE in gzio.c. | 21 and *.h files from the upstream root directory and contrib/minizip were |
15 - Added 'int z_errno' global for WinCE, to which 'errno' is defined in zutil.h. | 22 imported. |
16 - Added 'mozzconf.h' to mangle the function names. | 23 - The contents of the google directory are original Chromium-specific |
17 - Added logic in zlib.h to undef our earlier mangles when defaulting to 64 bit o
ffset versions of API. | 24 additions. |
18 - Added casts to suppress VC++ warnings | 25 - google.patch contains changes from the upstream version, mostly related to |
19 The 'google.patch' file represents our changes from the original zlib-1.2.5. | 26 the build. |
20 | 27 - Intel SIMD optimisations from https://github.com/jtkukunas/zlib/ have been |
21 Integrated Intel SIMD optimisations from: https://github.com/jtkukunas/zlib/ | 28 integrated. These changes are reflected in simd.patch. |
22 and modified to accomodate the older version and existing changes in tree. | |
23 | |
24 This introduces new files: simd_stub.c, crc_folding.c, fill_window_sse.c and | |
25 x86.[ch]. All but the latter are built into a static library to allow the | |
26 compiler to use the desired instructions only when valid. The latter version is | |
27 only built on x86 (32-bit and 64-bit) systems with it's functionality stubbed | |
28 on the others. | |
29 | |
30 Other changes to accomodate: | |
31 - fill_window() implementation calls into _sse() variant when supported and the | |
32 original implementation renamed to _c() | |
33 - read_buf was moved from local to ZLIB_INTERNAL for fill_window_sse.c to use | |
34 - INSERT_STRING macro was made a function, insert_string() and an implementation
using CRC instruction added | |
35 - some crc funcionality moved into crc32.c | |
36 | |
37 Update to zlib-1.2.8, generate a third patch which includes the jtkukunas optimi
sations. We may merge some more from jtkukunas branch later. | |
38 Currently we upgrade to madler's version 1.2.8,merged SIMD optimisation and | |
39 some other changes above. | |
40 The step as follows: | |
41 1.download a clean madler zlib from github. | |
42 2.apply google.patch, simd.patch sequencely. | |
43 3.update these patches. | |
OLD | NEW |