Home | History | Annotate | Download | only in codec

Lines Matching full:alpha

364                     // V3+ bmp files introduce an alpha mask and allow the creator of the image
365 // to use the alpha channels. However, many of these images leave the
366 // alpha channel blank and expect to be rendered as opaque. This is the
367 // case for almost all V3 images, so we ignore the alpha mask. For V4+
368 // images in kMask mode, we will use the alpha mask. Additionally, V3
369 // bmp-in-ico expect us to use the alpha mask.
371 // skbug.com/4116: We should perhaps also apply the alpha mask in kStandard
378 inputMasks.alpha = get_int(iBuffer.get(), 48);
432 // alpha as kBinary if the BMP is contained in an ICO.
434 SkEncodedInfo::Alpha alpha = inIco ? SkEncodedInfo::kBinary_Alpha :
463 // 32-bit BMP-in-ICOs actually use the alpha channel in place of a
467 alpha = SkEncodedInfo::kUnpremul_Alpha;
484 const SkEncodedInfo info = SkEncodedInfo::Make(color, alpha, bitsPerComponent);
529 SkEncodedInfo::Alpha alpha;
532 alpha = SkEncodedInfo::kUnpremul_Alpha;
535 alpha = SkEncodedInfo::kOpaque_Alpha;
537 const SkEncodedInfo info = SkEncodedInfo::Make(color, alpha, 8);