Searched refs:MAX_ALPHA (Results 1 – 2 of 2) sorted by relevance
103 #define MAX_ALPHA 255 // 8b of precision for susceptibilities. macro104 #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()[all …]
29 #define MAX_ALPHA 100 // higher meaningful value for susceptibility macro433 / (MAX_ALPHA - MIN_ALPHA); in VP8SetSegmentParams()