mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 08:37:39 +00:00
parent
c91ccc8b4e
commit
5682917356
@ -124,6 +124,10 @@ public:
|
|||||||
zo({}), out(nullptr), outsize(0), bp(0), crcvalue(crc32_z(0L, Z_NULL, 0)), in_size(0) {
|
zo({}), out(nullptr), outsize(0), bp(0), crcvalue(crc32_z(0L, Z_NULL, 0)), in_size(0) {
|
||||||
ZopfliInitOptions(&zo);
|
ZopfliInitOptions(&zo);
|
||||||
|
|
||||||
|
// Speed things up a bit, this still leads to better compression than zlib
|
||||||
|
zo.numiterations = 1;
|
||||||
|
zo.blocksplitting = 0;
|
||||||
|
|
||||||
ZOPFLI_APPEND_DATA(31, &out, &outsize); /* ID1 */
|
ZOPFLI_APPEND_DATA(31, &out, &outsize); /* ID1 */
|
||||||
ZOPFLI_APPEND_DATA(139, &out, &outsize); /* ID2 */
|
ZOPFLI_APPEND_DATA(139, &out, &outsize); /* ID2 */
|
||||||
ZOPFLI_APPEND_DATA(8, &out, &outsize); /* CM */
|
ZOPFLI_APPEND_DATA(8, &out, &outsize); /* CM */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user