Home
last modified time | relevance | path

Searched refs:srcIsOpaque (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/src/codec/
DSkBmpMaskCodec.cpp67 bool srcIsOpaque = this->getEncodedInfo().opaque(); in onPrepareToDecode() local
68 fMaskSwizzler.reset(SkMaskSwizzler::CreateMaskSwizzler(swizzlerInfo, srcIsOpaque, in onPrepareToDecode()
DSkMaskSwizzler.cpp388 bool srcIsOpaque, SkMasks* masks, uint32_t bitsPerPixel, in CreateMaskSwizzler() argument
397 if (srcIsOpaque) { in CreateMaskSwizzler()
413 if (srcIsOpaque) { in CreateMaskSwizzler()
438 if (srcIsOpaque) { in CreateMaskSwizzler()
454 if (srcIsOpaque) { in CreateMaskSwizzler()
479 if (srcIsOpaque) { in CreateMaskSwizzler()
495 if (srcIsOpaque) { in CreateMaskSwizzler()
DSkCodec.cpp170 bool SkCodec::conversionSupported(const SkImageInfo& dst, bool srcIsOpaque, bool needsColorXform) { in conversionSupported() argument
171 if (!valid_alpha(dst.alphaType(), srcIsOpaque)) { in conversionSupported()
182 return srcIsOpaque; in conversionSupported()
184 return SkEncodedInfo::kGray_Color == fEncodedInfo.color() && srcIsOpaque; in conversionSupported()
649 bool srcIsOpaque) { in initializeColorXform() argument
667 if (!this->conversionSupported(dstInfo, srcIsOpaque, needsColorXform)) { in initializeColorXform()
DSkCodecPriv.h88 static inline bool valid_alpha(SkAlphaType dstAlpha, bool srcIsOpaque) { in valid_alpha() argument
93 if (srcIsOpaque) { in valid_alpha()
DSkWbmpCodec.cpp108 bool SkWbmpCodec::conversionSupported(const SkImageInfo& dst, bool srcIsOpaque, in conversionSupported() argument
110 return valid_color_type(dst) && valid_alpha(dst.alphaType(), srcIsOpaque); in conversionSupported()
DSkMaskSwizzler.h28 bool srcIsOpaque,
DSkWbmpCodec.h31 bool conversionSupported(const SkImageInfo& dst, bool srcIsOpaque,
DSkHeifCodec.cpp201 bool SkHeifCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque, in conversionSupported() argument
203 SkASSERT(srcIsOpaque); in conversionSupported()
DSkJpegCodec.cpp388 bool SkJpegCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque, in conversionSupported() argument
390 SkASSERT(srcIsOpaque); in conversionSupported()
/third_party/skia/src/codec/
DSkBmpMaskCodec.cpp67 bool srcIsOpaque = this->getEncodedInfo().opaque(); in onPrepareToDecode() local
68 fMaskSwizzler.reset(SkMaskSwizzler::CreateMaskSwizzler(swizzlerInfo, srcIsOpaque, in onPrepareToDecode()
DSkMaskSwizzler.cpp388 bool srcIsOpaque, SkMasks* masks, uint32_t bitsPerPixel, in CreateMaskSwizzler() argument
397 if (srcIsOpaque) { in CreateMaskSwizzler()
413 if (srcIsOpaque) { in CreateMaskSwizzler()
438 if (srcIsOpaque) { in CreateMaskSwizzler()
454 if (srcIsOpaque) { in CreateMaskSwizzler()
479 if (srcIsOpaque) { in CreateMaskSwizzler()
495 if (srcIsOpaque) { in CreateMaskSwizzler()
DSkCodec.cpp212 bool SkCodec::conversionSupported(const SkImageInfo& dst, bool srcIsOpaque, bool needsColorXform) { in conversionSupported() argument
213 if (!valid_alpha(dst.alphaType(), srcIsOpaque)) { in conversionSupported()
223 return srcIsOpaque; in conversionSupported()
225 return SkEncodedInfo::kGray_Color == fEncodedInfo.color() && srcIsOpaque; in conversionSupported()
709 bool srcIsOpaque) { in initializeColorXform() argument
734 if (!this->conversionSupported(dstInfo, srcIsOpaque, needsColorXform)) { in initializeColorXform()
DSkCodecPriv.h88 static inline bool valid_alpha(SkAlphaType dstAlpha, bool srcIsOpaque) { in valid_alpha() argument
93 if (srcIsOpaque) { in valid_alpha()
DSkWbmpCodec.cpp108 bool SkWbmpCodec::conversionSupported(const SkImageInfo& dst, bool srcIsOpaque, in conversionSupported() argument
110 return valid_color_type(dst) && valid_alpha(dst.alphaType(), srcIsOpaque); in conversionSupported()
DSkMaskSwizzler.h28 bool srcIsOpaque,
DSkWbmpCodec.h31 bool conversionSupported(const SkImageInfo& dst, bool srcIsOpaque,
DSkHeifCodec.cpp202 bool SkHeifCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque, in conversionSupported() argument
204 SkASSERT(srcIsOpaque); in conversionSupported()
DSkJpegCodec.cpp337 bool SkJpegCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque, in conversionSupported() argument
339 SkASSERT(srcIsOpaque); in conversionSupported()
/third_party/skia/include/codec/
DSkCodec.h840 virtual bool conversionSupported(const SkImageInfo& dst, bool srcIsOpaque,
893 bool initializeColorXform(const SkImageInfo& dstInfo, SkEncodedInfo::Alpha, bool srcIsOpaque);
/third_party/flutter/skia/include/codec/
DSkCodec.h826 virtual bool conversionSupported(const SkImageInfo& dst, bool srcIsOpaque,
875 bool initializeColorXform(const SkImageInfo& dstInfo, SkEncodedInfo::Alpha, bool srcIsOpaque);