Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/enc/
Dvp8l.c59 uint32_t last_pix = ~argb[0]; // so we're sure that last_pix != argb[0] in AnalyzeAndCreatePalette() local
63 if (argb[x] == last_pix) { in AnalyzeAndCreatePalette()
66 last_pix = argb[x]; in AnalyzeAndCreatePalette()
67 key = (kHashMul * last_pix) >> PALETTE_KEY_RIGHT_SHIFT; in AnalyzeAndCreatePalette()
70 colors[key] = last_pix; in AnalyzeAndCreatePalette()
77 } else if (colors[key] == last_pix) { in AnalyzeAndCreatePalette()
111 uint32_t last_pix = argb[0]; // so we're sure that pix_diff == 0 in AnalyzeEntropy() local
124 const uint32_t pix_diff = VP8LSubPixels(pix, last_pix); in AnalyzeEntropy()
129 last_pix = pix; in AnalyzeEntropy()
846 uint32_t last_pix = palette[0]; in ApplyPalette() local
[all …]
/external/webp/src/enc/
Dvp8l.c137 uint32_t last_pix = ~argb[0]; // so we're sure that last_pix != argb[0] in AnalyzeAndCreatePalette() local
141 if (argb[x] == last_pix) { in AnalyzeAndCreatePalette()
144 last_pix = argb[x]; in AnalyzeAndCreatePalette()
145 key = (kHashMul * last_pix) >> PALETTE_KEY_RIGHT_SHIFT; in AnalyzeAndCreatePalette()
148 colors[key] = last_pix; in AnalyzeAndCreatePalette()
155 } else if (colors[key] == last_pix) { in AnalyzeAndCreatePalette()
1182 uint32_t* const last_pix, int* const last_idx, in MapToPalette() argument
1186 uint32_t prev_pix = *last_pix; in MapToPalette()
1202 *last_pix = prev_pix; in MapToPalette()
1244 uint32_t last_pix = palette[0]; in ApplyPalette() local
[all …]