Home
last modified time | relevance | path

Searched refs:makeAlphaType (Results 1 – 25 of 80) sorted by relevance

1234

/external/skia/tests/
DWebpTest.cpp26 auto premulInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()
49 result = codec->getPixels(premulInfo.makeAlphaType(alphaType), changeBm.getPixels(), in DEF_TEST()
DNdkDecodeTest.cpp57 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()
283 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()
317 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()
439 auto info = gen->getInfo().makeAlphaType(kOpaque_SkAlphaType); in DEF_TEST()
DAnimatedImageTest.cpp236 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()
311 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()
314 auto info = codec->getInfo().makeAlphaType(frameInfos[i].fAlphaType); in DEF_TEST()
/external/skia/gm/
Dencode_alpha_jpeg.cpp76 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()
93 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()
Dyuv420_odd_dim.cpp76 info = info.makeAlphaType(kPremul_SkAlphaType);
/external/skqp/gm/
Dencode-alpha-jpeg.cpp65 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()
83 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()
/external/skia/include/core/
DSkImageInfo.h231 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() function
553 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() function
554 return Make(fDimensions, fColorInfo.makeAlphaType(newAlphaType)); in makeAlphaType()
/external/skia/docs/examples/
DBitmap_ComputeIsOpaque.cpp15 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
DBitmap_isOpaque.cpp17 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
DImageInfo_equal1_operator.cpp14 info2 = info2.makeAlphaType(kPremul_SkAlphaType); in draw()
DImageInfo_notequal1_operator.cpp14 info2 = info2.makeAlphaType(kPremul_SkAlphaType); in draw()
DImageInfo_isOpaque.cpp18 imageInfo = imageInfo.makeAlphaType(kOpaque_SkAlphaType); in draw()
DPixmap_computeIsOpaque.cpp18 pixmap.reset(pixmap.info().makeAlphaType(kOpaque_SkAlphaType), in draw()
DPixmap_isOpaque.cpp18 pixmap.reset(pixmap.info().makeAlphaType(kOpaque_SkAlphaType), in draw()
DUnpremulGPU.cpp17 SkImageInfo unpremulInfo = premulInfo.makeAlphaType(kUnpremul_SkAlphaType); in draw()
/external/skqp/tests/
DAnimatedImageTest.cpp132 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()
207 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()
210 auto info = codec->getInfo().makeAlphaType(frameInfos[i].fAlphaType); in DEF_TEST()
DCodecAnimTest.cpp315 decodeInfo = info.makeAlphaType(frameInfos[index].fAlphaType); in DEF_TEST()
410 auto info = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()
428 info = info.makeAlphaType(frameInfo.fAlphaType); in DEF_TEST()
/external/skqp/samplecode/
DDecodeFile.h27 info = info.makeAlphaType(kUnpremul_SkAlphaType);
/external/skia/samplecode/
DDecodeFile.h26 info = info.makeAlphaType(kUnpremul_SkAlphaType);
/external/skia/bench/
DAndroidCodecBench.cpp37 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup()
DCodecBench.cpp44 .makeAlphaType(fAlphaType) in onDelayedSetup()
/external/skqp/bench/
DCodecBench.cpp43 .makeAlphaType(fAlphaType) in onDelayedSetup()
DAndroidCodecBench.cpp38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup()
/external/skia/src/codec/
DSkBmpMaskCodec.cpp63 swizzlerInfo = swizzlerInfo.makeAlphaType(kUnpremul_SkAlphaType); in onPrepareToDecode()
/external/skqp/src/codec/
DSkBmpMaskCodec.cpp63 swizzlerInfo = swizzlerInfo.makeAlphaType(kUnpremul_SkAlphaType); in onPrepareToDecode()

1234