Home
last modified time | relevance | path

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

/external/webp/src/enc/
Danalysis.c103 #define MAX_ALPHA 255 // 8b of precision for susceptibilities. macro
104 #define ALPHA_SCALE (2 * MAX_ALPHA) // scaling factor for alpha.
109 alpha = MAX_ALPHA - alpha; in FinalAlphaValue()
110 return clip(alpha, 0, MAX_ALPHA); in FinalAlphaValue()
143 const int alphas[MAX_ALPHA + 1]) { in AssignSegments()
151 int map[MAX_ALPHA + 1]; in AssignSegments()
153 int min_a = 0, max_a = MAX_ALPHA, range_a; in AssignSegments()
161 for (n = 0; n <= MAX_ALPHA && alphas[n] == 0; ++n) {} in AssignSegments()
163 for (n = MAX_ALPHA; n > min_a && alphas[n] == 0; --n) {} in AssignSegments()
330 int alphas[MAX_ALPHA + 1], in MBAnalyze()
[all …]
Dquant.c28 #define MAX_ALPHA 100 // higher meaningful value for susceptibility macro
391 / (MAX_ALPHA - MIN_ALPHA); in VP8SetSegmentParams()