Home | History | Annotate | Download | only in utils

Lines Matching defs:key

40     const VP8LColorCache* const cc, uint32_t key) {
41 assert((key >> cc->hash_bits_) == 0u);
42 return cc->colors_[key];
46 uint32_t key, uint32_t argb) {
47 assert((key >> cc->hash_bits_) == 0u);
48 cc->colors_[key] = argb;
53 const int key = VP8LHashPix(argb, cc->hash_shift_);
54 cc->colors_[key] = argb;
62 // Return the key if cc contains argb, and -1 otherwise.
65 const int key = VP8LHashPix(argb, cc->hash_shift_);
66 return (cc->colors_[key] == argb) ? key : -1;