Home
last modified time | relevance | path

Searched refs:prefix_code (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless_common.h129 const VP8LPrefixCode prefix_code = kPrefixEncodeCode[distance]; in VP8LPrefixEncodeBits() local
130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
131 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncodeBits()
141 const VP8LPrefixCode prefix_code = kPrefixEncodeCode[distance]; in VP8LPrefixEncode() local
142 *code = prefix_code.code_; in VP8LPrefixEncode()
143 *extra_bits = prefix_code.extra_bits_; in VP8LPrefixEncode()
/third_party/ffmpeg/libavcodec/
Dwebp.c651 int prefix_code, length, distance, ref_x, ref_y; in decode_entropy_coded_image() local
654 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 …]
/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc179 int32 prefix_code; in ParsePrefixes() local
204 if (!StrToInt(prefix, &prefix_code)) { in ParsePrefixes()
207 (*prefixes)[prefix_code] = string(sep + 1, end); in ParsePrefixes()