Lines Matching refs:has_alpha
44 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPPictureAlloc() local
78 a_width = has_alpha ? width : 0; in WebPPictureAlloc()
602 const int has_alpha = CheckNonOpaque(a_ptr, width, height, step, rgb_stride); in ImportYUVAFromRGBA() local
606 if (has_alpha) { in ImportYUVAFromRGBA()
662 if (has_alpha) { in ImportYUVAFromRGBA()
965 int has_alpha; in WebPPictureDistortion() local
981 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT); in WebPPictureDistortion()
982 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) || in WebPPictureDistortion()
983 (has_alpha && (src->a == NULL || ref->a == NULL))) { in WebPPictureDistortion()
999 sse[3] = has_alpha ? AccumulateLSIM(src->a, src->a_stride, in WebPPictureDistortion()
1010 if (has_alpha) { in WebPPictureDistortion()
1027 if (has_alpha) { in WebPPictureDistortion()