Home
last modified time | relevance | path

Searched refs:dstAlphaType (Results 1 – 6 of 6) sorted by relevance

/external/skia/gm/
Dreadpixels.cpp130 SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, in draw_image() argument
136 dstAlphaType, dstColorSpace); in draw_image()
142 if (kUnpremul_SkAlphaType == dstAlphaType) { in draw_image()
205 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() local
206 draw_image(canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
265 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() local
267 draw_image(canvas, image.get(), dstColorType, dstAlphaType, dstColorSpace, in onDraw()
331 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() local
333 draw_image(canvas, image.get(), dstColorType, dstAlphaType, in onDraw()
/external/skia/src/android/
DSkBitmapRegionCodec.cpp54 SkAlphaType dstAlphaType = fCodec->computeOutputAlphaType(requireUnpremul); in decodeRegion() local
58 dstColorType, dstAlphaType, dstColorSpace); in decodeRegion()
/external/skia/src/codec/
DSkCodecPriv.h306 static inline SkAlphaType select_xform_alpha(SkAlphaType dstAlphaType, SkAlphaType srcAlphaType) { in select_xform_alpha() argument
307 return (kOpaque_SkAlphaType == srcAlphaType) ? kOpaque_SkAlphaType : dstAlphaType; in select_xform_alpha()
DSkBmpStandardCodec.cpp64 bool SkBmpStandardCodec::createColorTable(SkColorType dstColorType, SkAlphaType dstAlphaType) { in createColorTable() argument
84 SkAlphaType packAlphaType = dstAlphaType; in createColorTable()
/external/skia/dm/
DDM.cpp386 SkAlphaType dstAlphaType, float scale) { in push_codec_src() argument
430 switch (dstAlphaType) { in push_codec_src()
445 CodecSrc* src = new CodecSrc(path, mode, dstColorType, dstAlphaType, scale); in push_codec_src()
450 SkAlphaType dstAlphaType, int sampleSize) { in push_android_codec_src() argument
465 switch (dstAlphaType) { in push_android_codec_src()
480 AndroidCodecSrc* src = new AndroidCodecSrc(path, dstColorType, dstAlphaType, sampleSize); in push_android_codec_src()
DDMSrcSink.cpp292 CodecSrc::CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType, in CodecSrc() argument
297 , fDstAlphaType(dstAlphaType) in CodecSrc()
354 CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType) { in get_decode_info() argument
389 *decodeInfo = decodeInfo->makeAlphaType(dstAlphaType); in get_decode_info()
794 SkAlphaType dstAlphaType, int sampleSize) in AndroidCodecSrc() argument
797 , fDstAlphaType(dstAlphaType) in AndroidCodecSrc()