Searched refs:lz77_encoded (Results 1 – 1 of 1) sorted by relevance
1781 static void writeLZ77data(LodePNGBitWriter* writer, const uivector* lz77_encoded, in writeLZ77data() argument1784 for(i = 0; i != lz77_encoded->size; ++i) { in writeLZ77data()1785 unsigned val = lz77_encoded->data[i]; in writeLZ77data()1790 unsigned length_extra_bits = lz77_encoded->data[++i]; in writeLZ77data()1792 unsigned distance_code = lz77_encoded->data[++i]; in writeLZ77data()1796 unsigned distance_extra_bits = lz77_encoded->data[++i]; in writeLZ77data()1823 uivector lz77_encoded; in deflateDynamic() local1848 uivector_init(&lz77_encoded); in deflateDynamic()1867 error = encodeLZ77(&lz77_encoded, hash, data, datapos, dataend, settings->windowsize, in deflateDynamic()1871 if(!uivector_resize(&lz77_encoded, datasize)) ERROR_BREAK(83 /*alloc fail*/); in deflateDynamic()[all …]