Searched refs:prefix_code (Results 1 – 3 of 3) sorted by relevance
129 const VP8LPrefixCode prefix_code = kPrefixEncodeCode[distance]; in VP8LPrefixEncodeBits() local130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()131 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncodeBits()141 const VP8LPrefixCode prefix_code = kPrefixEncodeCode[distance]; in VP8LPrefixEncode() local142 *code = prefix_code.code_; in VP8LPrefixEncode()143 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncode()
651 int prefix_code, length, distance, ref_x, ref_y; in decode_entropy_coded_image() local654 prefix_code = v - NUM_LITERAL_CODES; in decode_entropy_coded_image()655 if (prefix_code < 4) { in decode_entropy_coded_image()656 length = prefix_code + 1; in decode_entropy_coded_image()658 int extra_bits = (prefix_code - 2) >> 1; in decode_entropy_coded_image()659 int offset = 2 + (prefix_code & 1) << extra_bits; in decode_entropy_coded_image()662 prefix_code = huff_reader_get_symbol(&hg[HUFF_IDX_DIST], &s->gb); in decode_entropy_coded_image()663 if (prefix_code > 39U) { in decode_entropy_coded_image()665 "distance prefix code too large: %d\n", prefix_code); in decode_entropy_coded_image()668 if (prefix_code < 4) { in decode_entropy_coded_image()[all …]
179 int32 prefix_code; in ParsePrefixes() local204 if (!StrToInt(prefix, &prefix_code)) { in ParsePrefixes()207 (*prefixes)[prefix_code] = string(sep + 1, end); in ParsePrefixes()