Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dbackward_references_enc.c205 assert(p->offset_length_ == NULL); in VP8LHashChainInit()
207 p->offset_length_ = in VP8LHashChainInit()
208 (uint32_t*)WebPSafeMalloc(size, sizeof(*p->offset_length_)); in VP8LHashChainInit()
209 if (p->offset_length_ == NULL) return 0; in VP8LHashChainInit()
217 WebPSafeFree(p->offset_length_); in VP8LHashChainClear()
220 p->offset_length_ = NULL; in VP8LHashChainClear()
267 int32_t* chain = (int32_t*)p->offset_length_; in VP8LHashChainFill()
270 assert(p->offset_length_ != NULL); in VP8LHashChainFill()
273 p->offset_length_[0] = p->offset_length_[size - 1] = 0; in VP8LHashChainFill()
337 p->offset_length_[0] = p->offset_length_[size - 1] = 0; in VP8LHashChainFill()
[all …]
Dbackward_references_enc.h129 uint32_t* offset_length_; member
145 return p->offset_length_[base_position] >> MAX_LENGTH_BITS; in VP8LHashChainFindOffset()
150 return p->offset_length_[base_position] & ((1U << MAX_LENGTH_BITS) - 1); in VP8LHashChainFindLength()