HomeSort by relevance Sort by last modified time
    Searched defs:threshold1 (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/libwebp/utils/
quant_levels_dec.c 161 // f(x) = 0 for x >= threshold1
162 // and a linear interpolation for range x=[threshold2, threshold1]
164 // Note that: threshold2 = 3/4 * threshold1
165 const int threshold1 = min_dist << LFIX; local
166 const int threshold2 = (3 * threshold1) >> 2;
168 const int delta = threshold1 - threshold2;
172 : (i < threshold1) ? max_threshold * (threshold1 - i) / delta
  /external/webp/src/utils/
quant_levels_dec.c 161 // f(x) = 0 for x >= threshold1
162 // and a linear interpolation for range x=[threshold2, threshold1]
164 // Note that: threshold2 = 3/4 * threshold1
165 const int threshold1 = min_dist << LFIX; local
166 const int threshold2 = (3 * threshold1) >> 2;
168 const int delta = threshold1 - threshold2;
172 : (i < threshold1) ? max_threshold * (threshold1 - i) / delta

Completed in 161 milliseconds