Lines Matching defs:has_alpha
42 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT;
76 a_width = has_alpha ? width : 0;
601 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride);
605 if (has_alpha) {
661 if (has_alpha) {
964 int has_alpha;
980 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT);
981 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
982 (has_alpha && (src->a == NULL || ref->a == NULL))) {
998 has_alpha ? AccumulateLSIM(src->a, src->a_stride,
1009 if (has_alpha) {
1026 if (has_alpha) {