Home
last modified time | relevance | path

Searched refs:colorXform (Results 1 – 25 of 26) sorted by relevance

12

/external/skqp/src/gpu/
DGrColorSpaceXform.cpp226 fColorSpaceHelper.emitCode(uniformHandler, csxe.colorXform()); in emitCode()
242 fColorSpaceHelper.setData(pdman, csxe.colorXform()); in onSetData()
254 sk_sp<GrColorSpaceXform> colorXform) in GrColorSpaceXformEffect() argument
256 , fColorXform(std::move(colorXform)) { in GrColorSpaceXformEffect()
301 auto colorXform = GrColorSpaceXform::Make(src, srcConfig, dst); in Make() local
302 if (colorXform) { in Make()
304 new GrColorSpaceXformEffect(std::move(child), std::move(colorXform))); in Make()
DGrColorSpaceXform.h88 const GrColorSpaceXform* colorXform() const { return fColorXform.get(); } in colorXform() function
92 sk_sp<GrColorSpaceXform> colorXform);
/external/skia/src/gpu/
DGrColorSpaceXform.cpp226 fColorSpaceHelper.emitCode(uniformHandler, csxe.colorXform()); in emitCode()
242 fColorSpaceHelper.setData(pdman, csxe.colorXform()); in onSetData()
254 sk_sp<GrColorSpaceXform> colorXform) in GrColorSpaceXformEffect() argument
256 , fColorXform(std::move(colorXform)) { in GrColorSpaceXformEffect()
301 auto colorXform = GrColorSpaceXform::Make(src, srcConfig, dst); in Make() local
302 if (colorXform) { in Make()
304 new GrColorSpaceXformEffect(std::move(child), std::move(colorXform))); in Make()
DGrColorSpaceXform.h88 const GrColorSpaceXform* colorXform() const { return fColorXform.get(); } in colorXform() function
92 sk_sp<GrColorSpaceXform> colorXform);
/external/skia/src/codec/
DSkHeifCodec.cpp187 if (this->colorXform()) { in setOutputColorFormat()
194 SkASSERT(this->colorXform()); in setOutputColorFormat()
246 if (this->colorXform()) { in readRows()
300 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
304 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
323 if (this->colorXform()) { in initializeSwizzler()
DSkBmpMaskCodec.cpp55 if (this->colorXform()) { in onPrepareToDecode()
60 if (this->colorXform()) { in onPrepareToDecode()
95 if (this->colorXform()) { in decodeRows()
DSkJpegCodec.cpp409 if (this->colorXform()) { in setOutputColorSpace()
418 if (this->colorXform()) { in setOutputColorSpace()
426 if (this->colorXform() || JCS_GRAYSCALE != encodedColorType) { in setOutputColorSpace()
433 SkASSERT(this->colorXform()); in setOutputColorSpace()
543 if (this->colorXform()) { in readRows()
606 this->colorXform())) { in onGetPixels()
628 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
632 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
666 if (this->colorXform()) { in initializeSwizzler()
683 fDecoderMgr->dinfo()->out_color_space, this->getInfo(), this->colorXform()); in getSampler()
[all …]
DSkBmpStandardCodec.cpp85 if (this->colorXform()) { in createColorTable()
116 if (this->colorXform() && !this->xformOnDecode()) { in createColorTable()
169 if (this->colorXform()) { in initializeSwizzler()
222 SkASSERT(this->colorXform()); in decodeRows()
335 this->colorXform(), false); in onGetFillValue()
DSkCodecPriv.h113 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) { in get_color_table_fill_value() argument
122 SkASSERT(colorXform); in get_color_table_fill_value()
128 SkAssertResult(colorXform->apply(select_xform_format(dstColorType), &dstColor, in get_color_table_fill_value()
DSkGifCodec.cpp164 if (this->colorXform()) { in initializeColorTable()
174 } else if (this->colorXform() && !this->xformOnDecode()) { in initializeColorTable()
254 if (this->colorXform()) { in initializeSwizzler()
408 SkASSERT(this->colorXform()); in applyXformRow()
DSkPngCodec.cpp262 SkColorType tableColorType = this->colorXform() ? kXformSrcColorType : dstInfo.colorType(); in createColorTable()
269 bool premultiply = !this->colorXform() && needs_premul(dstInfo.alphaType(), in createColorTable()
303 if (this->colorXform() && !this->xformOnDecode()) { in createColorTable()
1031 skipFormatConversion = this->colorXform(); in initializeXforms()
1069 if (this->colorXform() && this->xformOnDecode()) { in initializeSwizzler()
1170 this->colorXform(), true); in onGetFillValue()
DSkBmpRLECodec.cpp250 if (this->colorXform()) { in onPrepareToDecode()
309 if (this->colorXform()) { in decodeRows()
322 if (this->colorXform() && decodeDst) { in decodeRows()
DSkWebpCodec.cpp535 if (this->colorXform()) { in onGetPixels()
548 if ((this->colorXform() && !is_8888(dstInfo.colorType())) || blendWithPrevFrame) { in onGetPixels()
579 if (this->colorXform()) { in onGetPixels()
625 if (this->colorXform()) { in onGetPixels()
DSkRawCodec.cpp698 if (this->colorXform()) { in onGetPixels()
746 if (this->colorXform()) { in onGetPixels()
/external/skqp/src/codec/
DSkHeifCodec.cpp187 if (this->colorXform()) { in setOutputColorFormat()
194 SkASSERT(this->colorXform()); in setOutputColorFormat()
246 if (this->colorXform()) { in readRows()
300 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
304 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
323 if (this->colorXform()) { in initializeSwizzler()
DSkBmpMaskCodec.cpp55 if (this->colorXform()) { in onPrepareToDecode()
60 if (this->colorXform()) { in onPrepareToDecode()
95 if (this->colorXform()) { in decodeRows()
DSkJpegCodec.cpp408 if (this->colorXform()) { in setOutputColorSpace()
417 if (this->colorXform()) { in setOutputColorSpace()
425 if (this->colorXform() || JCS_GRAYSCALE != encodedColorType) { in setOutputColorSpace()
432 SkASSERT(this->colorXform()); in setOutputColorSpace()
542 if (this->colorXform()) { in readRows()
605 this->colorXform())) { in onGetPixels()
627 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
631 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
665 if (this->colorXform()) { in initializeSwizzler()
682 fDecoderMgr->dinfo()->out_color_space, this->getInfo(), this->colorXform()); in getSampler()
[all …]
DSkBmpStandardCodec.cpp85 if (this->colorXform()) { in createColorTable()
116 if (this->colorXform() && !this->xformOnDecode()) { in createColorTable()
169 if (this->colorXform()) { in initializeSwizzler()
222 SkASSERT(this->colorXform()); in decodeRows()
335 this->colorXform(), false); in onGetFillValue()
DSkCodecPriv.h113 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) { in get_color_table_fill_value() argument
122 SkASSERT(colorXform); in get_color_table_fill_value()
128 SkAssertResult(colorXform->apply(select_xform_format(dstColorType), &dstColor, in get_color_table_fill_value()
DSkGifCodec.cpp164 if (this->colorXform()) { in initializeColorTable()
174 } else if (this->colorXform() && !this->xformOnDecode()) { in initializeColorTable()
254 if (this->colorXform()) { in initializeSwizzler()
408 SkASSERT(this->colorXform()); in applyXformRow()
DSkPngCodec.cpp262 SkColorType tableColorType = this->colorXform() ? kXformSrcColorType : dstInfo.colorType(); in createColorTable()
269 bool premultiply = !this->colorXform() && needs_premul(dstInfo.alphaType(), in createColorTable()
303 if (this->colorXform() && !this->xformOnDecode()) { in createColorTable()
1025 skipFormatConversion = this->colorXform(); in initializeXforms()
1063 if (this->colorXform() && this->xformOnDecode()) { in initializeSwizzler()
1164 this->colorXform(), true); in onGetFillValue()
DSkBmpRLECodec.cpp250 if (this->colorXform()) { in onPrepareToDecode()
309 if (this->colorXform()) { in decodeRows()
322 if (this->colorXform() && decodeDst) { in decodeRows()
DSkWebpCodec.cpp535 if (this->colorXform()) { in onGetPixels()
548 if ((this->colorXform() && !is_8888(dstInfo.colorType())) || blendWithPrevFrame) { in onGetPixels()
579 if (this->colorXform()) { in onGetPixels()
625 if (this->colorXform()) { in onGetPixels()
DSkRawCodec.cpp703 if (this->colorXform()) { in onGetPixels()
751 if (this->colorXform()) { in onGetPixels()
/external/skqp/include/codec/
DSkCodec.h816 SkColorSpaceXform* colorXform() const { return fColorXform.get(); } in colorXform() function

12