Lines Matching refs:MAX_ALPHA
103 #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()
133 const int alphas[MAX_ALPHA + 1]) { in AssignSegments()
141 int map[MAX_ALPHA + 1]; in AssignSegments()
143 int min_a = 0, max_a = MAX_ALPHA, range_a; in AssignSegments()
151 for (n = 0; n <= MAX_ALPHA && alphas[n] == 0; ++n) {} in AssignSegments()
153 for (n = MAX_ALPHA; n > min_a && alphas[n] == 0; --n) {} in AssignSegments()
308 int alphas[MAX_ALPHA + 1], in MBAnalyze()
370 int alphas[MAX_ALPHA + 1];
396 for (i = 0; i <= MAX_ALPHA; ++i) dst->alphas[i] += src->alphas[i]; in MergeJobs()