Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkBmpStandardCodec.cpp96 if (this->colorXform()) { in createColorTable()
127 if (this->colorXform() && !fXformOnDecode) { in createColorTable()
132 SkAssertResult(this->colorXform()->apply(dstFormat, colorTable, srcFormat, colorTable, in createColorTable()
185 if (this->colorXform()) { in initializeSwizzler()
203 if (this->colorXform()) { in onPrepareToDecode()
245 SkASSERT(this->colorXform()); in decodeRows()
360 this->colorXform(), false); in onGetFillValue()
DSkBmpMaskCodec.cpp57 if (this->colorXform()) { in onPrepareToDecode()
62 if (this->colorXform()) { in onPrepareToDecode()
97 if (this->colorXform()) { in decodeRows()
DSkJpegCodec.cpp402 } else if (this->colorXform()) { in setOutputColorSpace()
413 } else if (this->colorXform()) { in setOutputColorSpace()
421 if (this->colorXform() || JCS_GRAYSCALE != encodedColorType) { in setOutputColorSpace()
428 SkASSERT(this->colorXform()); in setOutputColorSpace()
534 if (this->colorXform()) { in readRows()
535 SkAssertResult(this->colorXform()->apply(select_xform_format(dstInfo.colorType()), dst, in readRows()
602 this->colorXform())) { in onGetPixels()
624 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
628 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
662 if (this->colorXform()) { in initializeSwizzler()
[all …]
DSkGifCodec.cpp157 if (this->colorXform()) { in initializeColorTable()
167 } else if (this->colorXform() && !fXformOnDecode) { in initializeColorTable()
174 SkAssertResult(this->colorXform()->apply(dstFormat, dstColors, srcFormat, in initializeColorTable()
194 if (this->colorXform()) { in prepareToDecode()
281 if (this->colorXform()) { in initializeSwizzler()
508 if (this->colorXform() && fXformOnDecode) { in applyXformRow()
516 SkAssertResult(this->colorXform()->apply(dstFormat, dst, srcFormat, fXformBuffer.get(), in applyXformRow()
DSkPngCodec.cpp259 SkColorType tableColorType = this->colorXform() ? kXformSrcColorType : dstInfo.colorType(); in createColorTable()
266 bool premultiply = !this->colorXform() && needs_premul(dstInfo, this->getEncodedInfo()); in createColorTable()
299 if (this->colorXform() && in createColorTable()
306 SkAssertResult(this->colorXform()->apply(dstFormat, colorTable, srcFormat, colorTable, in createColorTable()
486 SkAssertResult(this->colorXform()->apply(fXformColorFormat, dst, srcColorFormat, src, in applyXformRow()
491 SkAssertResult(this->colorXform()->apply(fXformColorFormat, dst, srcColorFormat, in applyXformRow()
1016 skipFormatConversion = this->colorXform(); in initializeXforms()
1063 if (this->colorXform() && in initializeSwizzler()
1169 this->colorXform(), true); in onGetFillValue()
DSkCodecPriv.h123 const SkPMColor* colorPtr, uint8_t fillIndex, SkColorSpaceXform* colorXform, bool isRGBA) { in get_color_table_fill_value() argument
134 SkASSERT(colorXform); in get_color_table_fill_value()
140 SkAssertResult(colorXform->apply(select_xform_format(dstColorType), &dstColor, in get_color_table_fill_value()
DSkWebpCodec.cpp299 config.output.colorspace = this->colorXform() ? MODE_BGRA : in onGetPixels()
307 bool needsCopy = this->colorXform() && kRGBA_8888_SkColorType != dstInfo.colorType() && in onGetPixels()
342 if (this->colorXform()) { in onGetPixels()
351 SkAssertResult(this->colorXform()->apply(dstColorFormat, xformDst, in onGetPixels()
DSkBmpRLECodec.cpp257 if (this->colorXform()) { in onPrepareToDecode()
319 if (this->colorXform()) { in decodeRows()
332 if (this->colorXform() && decodeDst) { in decodeRows()
DSkRawCodec.cpp703 if (this->colorXform()) { in onGetPixels()
751 if (this->colorXform()) { in onGetPixels()
758 this->colorXform()->apply(dstFormat, dstRow, srcFormat, xformBuffer.get(), in onGetPixels()
DSkBmpCodec.cpp650 SkColorSpaceXform* xform = this->colorXform(); in applyColorXform()
/external/skia/include/codec/
DSkCodec.h795 SkColorSpaceXform* colorXform() const { return fColorXform.get(); } in colorXform() function