Searched refs:MAX_ALPHA (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | analysis_enc.c | 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() [all …]
|
D | quant_enc.c | 29 #define MAX_ALPHA 100 // higher meaningful value for susceptibility macro 433 / (MAX_ALPHA - MIN_ALPHA); in VP8SetSegmentParams()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | analysis_enc.c | 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() [all …]
|
D | quant_enc.c | 29 #define MAX_ALPHA 100 // higher meaningful value for susceptibility macro 433 / (MAX_ALPHA - MIN_ALPHA); in VP8SetSegmentParams()
|
/third_party/pixman/pixman/ |
D | pixman-private.h | 407 #define MAX_ALPHA(n) ((1 << (n)) - 1) macro
|