Home
last modified time | relevance | path

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

/aosp_15_r20/external/webp/src/enc/
H A Dbackward_references_enc.c271 int32_t* hash_to_first_index; in VP8LHashChainFill() local
283 hash_to_first_index = in VP8LHashChainFill()
284 (int32_t*)WebPSafeMalloc(HASH_SIZE, sizeof(*hash_to_first_index)); in VP8LHashChainFill()
285 if (hash_to_first_index == NULL) { in VP8LHashChainFill()
293 memset(hash_to_first_index, 0xff, HASH_SIZE * sizeof(*hash_to_first_index)); in VP8LHashChainFill()
326 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
327 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
333 chain[pos] = hash_to_first_index[hash_code]; in VP8LHashChainFill()
334 hash_to_first_index[hash_code] = pos++; in VP8LHashChainFill()
340 WebPSafeFree(hash_to_first_index); in VP8LHashChainFill()
[all …]