Home
last modified time | relevance | path

Searched refs:kUnpremul_SkAlphaType (Results 1 – 25 of 43) sorted by relevance

12

/external/skia/tests/
DPremulAlphaRoundTripTest.cpp62 colorType, kUnpremul_SkAlphaType); in fillCanvas()
72 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip()
83 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip()
DWritePixelsTest.cpp148 if (kUnpremul_SkAlphaType == at) { in convert_to_PMColor()
222 bool mul = (kUnpremul_SkAlphaType == bmInfo.alphaType()); in check_write()
359 { kRGBA_8888_SkColorType, kUnpremul_SkAlphaType }, in test_write_pixels()
361 { kBGRA_8888_SkColorType, kUnpremul_SkAlphaType }, in test_write_pixels()
DSkImageTest.cpp39 SkImageInfo info = SkImageInfo::Make(1, 1, kBGRA_8888_SkColorType, kUnpremul_SkAlphaType); in DEF_TEST()
DReadPixelsTest.cpp67 *doUnpremul = (kUnpremul_SkAlphaType == at); in convert_to_pmcolor()
276 { kRGBA_8888_SkColorType, kUnpremul_SkAlphaType },
278 { kBGRA_8888_SkColorType, kUnpremul_SkAlphaType },
429 if (gReadPixelsConfigs[c].fAlphaType == kUnpremul_SkAlphaType) { in test_readpixels_texture()
/external/skia/bench/
DWritePixelsBench.cpp34 case kUnpremul_SkAlphaType: in WritePixelsBench()
75 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType);)
DCodecBenchPriv.h36 case kUnpremul_SkAlphaType: in alpha_type_to_str()
DPremulAndUnpremulAlphaOpsBench.cpp33 SkImageInfo info = SkImageInfo::Make(W, H, fColorType, kUnpremul_SkAlphaType); in onDelayedSetup()
DAndroidCodecBench.cpp37 if (kUnpremul_SkAlphaType == fInfo.alphaType()) { in onDelayedSetup()
/external/skia/src/core/
DSkConfig8888.cpp64 SkASSERT(kUnpremul_SkAlphaType == src); in compute_AlphaVerb()
68 SkASSERT(kUnpremul_SkAlphaType == dst); in compute_AlphaVerb()
246 if (srcInfo.alphaType() == kUnpremul_SkAlphaType) { in CopyPixels()
279 if (dstInfo.alphaType() == kUnpremul_SkAlphaType) { in CopyPixels()
DSkImageInfo.cpp56 if (kUnpremul_SkAlphaType == alphaType) { in SkColorTypeValidateAlphaType()
DSkLinearBitmapPipeline.cpp651 if (alphaType == kUnpremul_SkAlphaType) { in PlacePixel()
667 if (alphaType == kUnpremul_SkAlphaType) { in choose_pixel_placer()
668 placerStage->Initialize<PlaceFPPixel<kUnpremul_SkAlphaType>>(); in choose_pixel_placer()
/external/skia/src/codec/
DSkPngCodec.cpp262 kUnpremul_SkAlphaType : kOpaque_SkAlphaType; in read_header()
268 alphaType = kUnpremul_SkAlphaType; in read_header()
287 alphaType = kUnpremul_SkAlphaType; in read_header()
297 alphaType = kUnpremul_SkAlphaType; in read_header()
301 alphaType = kUnpremul_SkAlphaType; in read_header()
DSkBmpCodec.cpp392 alphaType = kUnpremul_SkAlphaType; in ReadHeader()
402 alphaType = kUnpremul_SkAlphaType; in ReadHeader()
490 alphaType = kUnpremul_SkAlphaType; in ReadHeader()
DSkMaskSwizzler.cpp242 case kUnpremul_SkAlphaType: in CreateMaskSwizzler()
267 case kUnpremul_SkAlphaType: in CreateMaskSwizzler()
292 case kUnpremul_SkAlphaType: in CreateMaskSwizzler()
DSkCodecImageGenerator.cpp20 if (kUnpremul_SkAlphaType == info.alphaType()) { in make_premul()
DSkCodecPriv.h98 case kUnpremul_SkAlphaType: in valid_alpha()
DSkAndroidCodec.cpp116 return requestedUnpremul ? kUnpremul_SkAlphaType : kPremul_SkAlphaType; in computeOutputAlphaType()
DSkWebpCodec.cpp70 SkToBool(features.has_alpha) ? kUnpremul_SkAlphaType in webp_parse_header()
/external/skia/include/core/
DSkImageInfo.h45 kUnpremul_SkAlphaType, enumerator
47 kLastEnum_SkAlphaType = kUnpremul_SkAlphaType
/external/skia/gm/
Daaclip.cpp173 { kRGBA_8888_SkColorType, kUnpremul_SkAlphaType }, in onDraw()
177 { kBGRA_8888_SkColorType, kUnpremul_SkAlphaType }, in onDraw()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp27 case kUnpremul_SkAlphaType: in ComputeCGAlphaInfo_RGBA()
45 case kUnpremul_SkAlphaType: in ComputeCGAlphaInfo_BGRA()
/external/skia/src/android/
DSkBitmapRegionCanvas.cpp34 if (kUnpremul_SkAlphaType == dstAlphaType) { in decodeRegion()
/external/skia/src/image/
DSkImage_Gpu.cpp115 if (kUnpremul_SkAlphaType == info.alphaType() && kPremul_SkAlphaType == fAlphaType) { in onReadPixels()
131 if (kPremul_SkAlphaType == info.alphaType() && kUnpremul_SkAlphaType == fAlphaType) { in onReadPixels()
/external/skia/src/images/
DSkImageDecoder_astc.cpp126 alphaType = kUnpremul_SkAlphaType; in onDecode()
/external/skia/dm/
DDM.cpp292 case kUnpremul_SkAlphaType: in push_codec_src()
337 case kUnpremul_SkAlphaType: in push_android_codec_src()
407 alphaModes.push_back(kUnpremul_SkAlphaType); in push_codec_srcs()
794 if (!bitmap.readPixels(SkImageInfo::Make(w,h, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType), in dump_png()

12