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()
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()
361 int alphas[MAX_ALPHA + 1], in MBAnalyze()
430 int alphas[MAX_ALPHA + 1];
456 for (i = 0; i <= MAX_ALPHA; ++i) dst->alphas[i] += src->alphas[i]; in MergeJobs()