/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libpng.cpp | 328 SkAlphaType alphaType = this->getRequireUnpremultipliedColors() ? 333 colorType, alphaType)); 712 SkAlphaType alphaType = kOpaque_SkAlphaType; 715 alphaType = kUnpremul_SkAlphaType; 717 alphaType = kPremul_SkAlphaType; 722 (colorStorage, colorCount, alphaType)); [all...] |
SkImageDecoder_libgif.cpp | 335 SkAlphaType alphaType = kOpaque_SkAlphaType; 358 alphaType = kPremul_SkAlphaType; 367 alphaType)));
|
SkImageDecoder_libwebp.cpp | 301 SkAlphaType alphaType = kOpaque_SkAlphaType; 304 alphaType = kUnpremul_SkAlphaType; 306 alphaType = kPremul_SkAlphaType; 309 return decodedBitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType));
|
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 328 SkAlphaType alphaType = this->getRequireUnpremultipliedColors() ? 333 colorType, alphaType)); 712 SkAlphaType alphaType = kOpaque_SkAlphaType; 715 alphaType = kUnpremul_SkAlphaType; 717 alphaType = kPremul_SkAlphaType; 722 (colorStorage, colorCount, alphaType)); [all...] |
SkImageDecoder_libgif.cpp | 336 SkAlphaType alphaType = kOpaque_SkAlphaType; 359 alphaType = kPremul_SkAlphaType; 368 alphaType)));
|
SkImageDecoder_libwebp.cpp | 312 SkAlphaType alphaType = kOpaque_SkAlphaType; 315 alphaType = kUnpremul_SkAlphaType; 317 alphaType = kPremul_SkAlphaType; 320 return decodedBitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType));
|
/external/chromium_org/third_party/skia/tests/ |
BitmapCopyTest.cpp | 64 static SkColorTable* init_ctable(SkAlphaType alphaType) { 68 return new SkColorTable(colors, SK_ARRAY_COUNT(colors), alphaType); 232 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); 266 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType());
|
WritePixelsTest.cpp | 224 bmInfo.colorType(), bmInfo.alphaType()); 225 bool mul = (kUnpremul_SkAlphaType == bmInfo.alphaType()); 226 SkPMColor bmpPMColor = convert_to_PMColor(bmInfo.colorType(), bmInfo.alphaType(),
|
ReadPixelsTest.cpp | 164 const SkAlphaType at = bitmap.alphaType(); 383 REPORTER_ASSERT(reporter, kPremul_SkAlphaType == wkbmp.alphaType());
|
/external/skia/tests/ |
BitmapCopyTest.cpp | 64 static SkColorTable* init_ctable(SkAlphaType alphaType) { 68 return new SkColorTable(colors, SK_ARRAY_COUNT(colors), alphaType); 232 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); 266 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType());
|
WritePixelsTest.cpp | 230 bmInfo.colorType(), bmInfo.alphaType()); 231 bool mul = (kUnpremul_SkAlphaType == bmInfo.alphaType()); 232 SkPMColor bmpPMColor = convert_to_PMColor(bmInfo.colorType(), bmInfo.alphaType(),
|
ReadPixelsTest.cpp | 165 const SkAlphaType at = bitmap.alphaType(); 385 REPORTER_ASSERT(reporter, kPremul_SkAlphaType == wkbmp.alphaType());
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageBuffer.cpp | 356 SkAlphaType alphaType = (multiplied == Premultiplied) ? kPremul_SkAlphaType : kUnpremul_SkAlphaType; 357 SkImageInfo info = SkImageInfo::Make(rect.width(), rect.height(), kRGBA_8888_SkColorType, alphaType); 388 SkAlphaType alphaType = (multiplied == Premultiplied) ? kPremul_SkAlphaType : kUnpremul_SkAlphaType; 389 SkImageInfo info = SkImageInfo::Make(sourceRect.width(), sourceRect.height(), kRGBA_8888_SkColorType, alphaType);
|
/external/skia/include/gpu/ |
SkGr.h | 58 return SkImageInfo2GrPixelConfig(info.colorType(), info.alphaType());
|
/external/chromium_org/third_party/skia/include/core/ |
SkBitmap.h | 84 SkAlphaType alphaType() const { return fInfo.alphaType(); } 127 * Set the bitmap's alphaType, returning true on success. If false is 128 * returned, then the specified new alphaType is incompatible with the 129 * colortype, and the current alphaType is unchanged. 131 * Note: this changes the alphatype for the underlying pixels, which means 185 return SkAlphaTypeIsOpaque(this->alphaType()); 619 * corresponding src pixels, performing any colortype/alphatype transformations needed 624 * - If the requested colortype/alphatype cannot be converted from the src's types. [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapDevice.cpp | 32 switch (info.alphaType()) { 40 SkAlphaType canonicalAlphaType = info.alphaType(); 75 SkAlphaType newAT = origInfo.alphaType();
|
SkMallocPixelRef.cpp | 21 (unsigned)info.alphaType() > (unsigned)kLastEnum_SkAlphaType)
|
SkBitmapScaler.cpp | 304 source.alphaType()));
|
SkMipMap.cpp | 127 const SkAlphaType at = src.alphaType();
|
/external/chromium_org/third_party/skia/src/image/ |
SkImage.cpp | 99 return kUnpremul_SkAlphaType != info.alphaType();
|
/external/skia/include/core/ |
SkImageInfo.h | 149 * Sets colortype to the native ARGB32 type, and the alphatype to premul. 159 * Sets colortype to the native ARGB32 type, and the alphatype to premul. 189 SkAlphaType alphaType() const { return fAlphaType; } 200 * Return a new ImageInfo with the same colortype and alphatype as this info,
|
SkBitmap.h | 97 SkAlphaType alphaType() const { return fInfo.fAlphaType; } 153 * Set the bitmap's alphaType, returning true on success. If false is 154 * returned, then the specified new alphaType is incompatible with the 155 * colortype, and the current alphaType is unchanged. 157 * Note: this changes the alphatype for the underlying pixels, which means 211 return SkAlphaTypeIsOpaque(this->alphaType()); [all...] |
/external/chromium_org/skia/ext/ |
image_operations.cc | 397 img.alphaType())); 512 result.setInfo(SkImageInfo::MakeN32(dest_subset.width(), dest_subset.height(), source.alphaType()));
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleFilterFuzz.cpp | 139 return kPremul_SkAlphaType == info.alphaType() || 140 kOpaque_SkAlphaType == info.alphaType();
|
/external/skia/samplecode/ |
SampleFilterFuzz.cpp | 141 return kPremul_SkAlphaType == info.alphaType() || 142 kOpaque_SkAlphaType == info.alphaType();
|