• Home
  • Raw
  • Download

Lines Matching refs:lz77_encoded

1642 static void writeLZ77data(size_t* bp, ucvector* out, const uivector* lz77_encoded,  in writeLZ77data()  argument
1646 for(i = 0; i < lz77_encoded->size; i++) in writeLZ77data()
1648 unsigned val = lz77_encoded->data[i]; in writeLZ77data()
1654 unsigned length_extra_bits = lz77_encoded->data[++i]; in writeLZ77data()
1656 unsigned distance_code = lz77_encoded->data[++i]; in writeLZ77data()
1660 unsigned distance_extra_bits = lz77_encoded->data[++i]; in writeLZ77data()
1689 uivector lz77_encoded; in deflateDynamic() local
1715 uivector_init(&lz77_encoded); in deflateDynamic()
1732 error = encodeLZ77(&lz77_encoded, hash, data, datapos, dataend, settings->windowsize, in deflateDynamic()
1738 if(!uivector_resize(&lz77_encoded, datasize)) ERROR_BREAK(83 /*alloc fail*/); in deflateDynamic()
1739 …for(i = datapos; i < dataend; i++) lz77_encoded.data[i] = data[i]; /*no LZ77, but still will be Hu… in deflateDynamic()
1746 for(i = 0; i < lz77_encoded.size; i++) in deflateDynamic()
1748 unsigned symbol = lz77_encoded.data[i]; in deflateDynamic()
1752 unsigned dist = lz77_encoded.data[i + 2]; in deflateDynamic()
1891 writeLZ77data(bp, out, &lz77_encoded, &tree_ll, &tree_d); in deflateDynamic()
1902 uivector_cleanup(&lz77_encoded); in deflateDynamic()
1940 uivector lz77_encoded; in deflateFixed() local
1941 uivector_init(&lz77_encoded); in deflateFixed()
1942 error = encodeLZ77(&lz77_encoded, hash, data, datapos, dataend, settings->windowsize, in deflateFixed()
1944 if(!error) writeLZ77data(bp, out, &lz77_encoded, &tree_ll, &tree_d); in deflateFixed()
1945 uivector_cleanup(&lz77_encoded); in deflateFixed()