Lines Matching refs:MAX_LENGTH
221 return (len < MAX_LENGTH) ? len : MAX_LENGTH; in MaxFindCopyLength()
270 if (len > MAX_LENGTH) { in VP8LHashChainFill()
275 memset(chain + pos, 0xff, (len - MAX_LENGTH) * sizeof(*chain)); in VP8LHashChainFill()
276 pos += len - MAX_LENGTH; in VP8LHashChainFill()
277 len = MAX_LENGTH; in VP8LHashChainFill()
340 if (best_length == MAX_LENGTH) pos = min_pos - 1; in VP8LHashChainFill()
363 assert(best_length <= MAX_LENGTH); in VP8LHashChainFill()
379 if (best_length == MAX_LENGTH && best_distance != 1 && in VP8LHashChainFill()
380 base_position + MAX_LENGTH < max_base_position) { in VP8LHashChainFill()
383 if (best_length < MAX_LENGTH) { in VP8LHashChainFill()
549 counts[0] = counts[1] + (counts[1] != MAX_LENGTH); in BackwardReferencesLz77Box()
597 if (best_length >= MAX_LENGTH) { in BackwardReferencesLz77Box()
613 (best_length_prev > 1) && (best_length_prev < MAX_LENGTH); in BackwardReferencesLz77Box()
639 } while (curr_length <= MAX_LENGTH && j < pix_count && in BackwardReferencesLz77Box()
644 if (curr_length >= MAX_LENGTH) { in BackwardReferencesLz77Box()
645 best_length = MAX_LENGTH; in BackwardReferencesLz77Box()
655 assert(best_length <= MAX_LENGTH); in BackwardReferencesLz77Box()