Lines Matching refs:MAX_LENGTH
253 return (len < MAX_LENGTH) ? len : MAX_LENGTH; in MaxFindCopyLength()
302 if (len > MAX_LENGTH) { in VP8LHashChainFill()
307 memset(chain + pos, 0xff, (len - MAX_LENGTH) * sizeof(*chain)); in VP8LHashChainFill()
308 pos += len - MAX_LENGTH; in VP8LHashChainFill()
309 len = MAX_LENGTH; in VP8LHashChainFill()
372 if (best_length == MAX_LENGTH) pos = min_pos - 1; in VP8LHashChainFill()
395 assert(best_length <= MAX_LENGTH); in VP8LHashChainFill()
411 if (best_length == MAX_LENGTH && best_distance != 1 && in VP8LHashChainFill()
412 base_position + MAX_LENGTH < max_base_position) { in VP8LHashChainFill()
415 if (best_length < MAX_LENGTH) { in VP8LHashChainFill()
581 counts[0] = counts[1] + (counts[1] != MAX_LENGTH); in BackwardReferencesLz77Box()
629 if (best_length >= MAX_LENGTH) { in BackwardReferencesLz77Box()
645 (best_length_prev > 1) && (best_length_prev < MAX_LENGTH); in BackwardReferencesLz77Box()
671 } while (curr_length <= MAX_LENGTH && j < pix_count && in BackwardReferencesLz77Box()
676 if (curr_length >= MAX_LENGTH) { in BackwardReferencesLz77Box()
677 best_length = MAX_LENGTH; in BackwardReferencesLz77Box()
687 assert(best_length <= MAX_LENGTH); in BackwardReferencesLz77Box()