Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_enc.c265 int32_t* hash_to_first_index; in VP8LHashChainFill() local
277 hash_to_first_index = in VP8LHashChainFill()
278 (int32_t*)WebPSafeMalloc(HASH_SIZE, sizeof(*hash_to_first_index)); in VP8LHashChainFill()
279 if (hash_to_first_index == NULL) return 0; in VP8LHashChainFill()
282 memset(hash_to_first_index, 0xff, HASH_SIZE * sizeof(*hash_to_first_index)); in VP8LHashChainFill()
315 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
316 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
322 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
323 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
328 chain[pos] = hash_to_first_index[GetPixPairHash64(argb + pos)]; in VP8LHashChainFill()
[all …]