Home
last modified time | relevance | path

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

/external/chromium_org/skia/ext/
Dconvolver.cc295 int last_non_zero = filter_length - 1; in AddFilter() local
296 while (last_non_zero >= 0 && filter_values[last_non_zero] == 0) in AddFilter()
297 last_non_zero--; in AddFilter()
300 filter_length = last_non_zero + 1 - first_non_zero; in AddFilter()
303 for (int i = first_non_zero; i <= last_non_zero; i++) in AddFilter()
/external/chromium_org/third_party/libwebp/enc/
Danalysis.c114 int max_value = 0, last_non_zero = 1; in GetAlpha() local
121 last_non_zero = k; in GetAlpha()
127 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0; in GetAlpha()
/external/webp/src/enc/
Danalysis.c114 int max_value = 0, last_non_zero = 1; in GetAlpha() local
121 last_non_zero = k; in GetAlpha()
127 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0; in GetAlpha()