Home | History | Annotate | Download | only in enc

Lines Matching refs:pixel

323 static WEBP_INLINE void AddSingleLiteral(uint32_t pixel, int use_color_cache,
328 const uint32_t key = VP8LColorCacheGetIndex(hashers, pixel);
329 if (VP8LColorCacheLookup(hashers, key) == pixel) {
332 v = PixOrCopyCreateLiteral(pixel);
333 VP8LColorCacheSet(hashers, key, pixel);
336 v = PixOrCopyCreateLiteral(pixel);
353 // Add first pixel as literal.
365 // same pixel being copied, and that does not change the color cache
420 // Evaluate Alternative#2: Insert the pixel at 'i' as literal, and code
427 i++; // Backward reference to be done for next pixel.
438 // Add to the hash_chain (but cannot add the last pixel).
462 // Handle the last pixel(s).
623 // We loop one pixel at a time, but store all currently best points to
627 // Add first pixel as literal.
660 // 2) Add to the hash_chain (but cannot add the last pixel)
692 // Handle the last pixel.
769 // push pixel as a color cache index