Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dbackward_references_enc.c233 int32_t* hash_to_first_index; in VP8LHashChainFill() local
245 hash_to_first_index = in VP8LHashChainFill()
246 (int32_t*)WebPSafeMalloc(HASH_SIZE, sizeof(*hash_to_first_index)); in VP8LHashChainFill()
247 if (hash_to_first_index == NULL) return 0; in VP8LHashChainFill()
250 memset(hash_to_first_index, 0xff, HASH_SIZE * sizeof(*hash_to_first_index)); in VP8LHashChainFill()
283 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
284 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
290 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
291 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
296 chain[pos] = hash_to_first_index[GetPixPairHash64(argb + pos)]; in VP8LHashChainFill()
[all …]

Completed in 6 milliseconds