Searched refs:current_offset (Results 1 – 1 of 1) sorted by relevance
1609 unsigned current_offset, current_length; in encodeLZ77() local1646 current_offset = (unsigned)(hashpos <= wpos ? wpos - hashpos : wpos - hashpos + windowsize); in encodeLZ77()1648 … if(current_offset < prev_offset) break; /*stop when went completely around the circular buffer*/ in encodeLZ77()1649 prev_offset = current_offset; in encodeLZ77()1650 if(current_offset > 0) { in encodeLZ77()1653 backptr = &in[pos - current_offset]; in encodeLZ77()1671 offset = current_offset; /*the offset that is related to this longest length*/ in encodeLZ77()