Home
last modified time | relevance | path

Searched refs:fSwizzler (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/libgifcodec/
DSkLibGifCodec.cpp106 , fSwizzler(nullptr) in SkLibGifCodec()
262 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), fCurrColorTable->readColors(), in initializeSwizzler()
264 SkASSERT(fSwizzler.get()); in initializeSwizzler()
329 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame()
351 auto fillInfo = dstInfo.makeWH(fSwizzler->fillWidth(), scaledHeight); in decodeFrame()
394 fSwizzler->swizzle(fXformBuffer.get(), src); in applyXformRow()
396 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow()
399 fSwizzler->swizzle(dst, src); in applyXformRow()
440 const int sampleY = fSwizzler->sampleY(); in haveDecodedRow()
447 if (fSwizzler->rowNeeded(potentialRow)) { in haveDecodedRow()
[all …]
DSkLibGifCodec.h94 SkASSERT(fSwizzler); in getSampler()
95 return fSwizzler.get(); in getSampler()
130 std::unique_ptr<SkSwizzler> fSwizzler; variable
/third_party/flutter/skia/src/codec/
DSkHeifCodec.cpp256 dstWidth = fSwizzler->swizzleWidth(); in readRows()
265 dstWidth = fSwizzler->swizzleWidth(); in readRows()
273 if (fSwizzler) { in readRows()
274 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows()
393 fSwizzler.reset(nullptr); in onGetPixels()
409 if (fSwizzler) { in allocateStorage()
411 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
443 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, options); in initializeSwizzler()
444 SkASSERT(fSwizzler); in initializeSwizzler()
448 if (!createIfNecessary || fSwizzler) { in getSampler()
[all …]
DSkGifCodec.cpp108 , fSwizzler(nullptr) in SkGifCodec()
257 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), fCurrColorTable->readColors(), in initializeSwizzler()
259 SkASSERT(fSwizzler.get()); in initializeSwizzler()
324 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame()
346 auto fillInfo = dstInfo.makeWH(fSwizzler->fillWidth(), scaledHeight); in decodeFrame()
389 fSwizzler->swizzle(fXformBuffer.get(), src); in applyXformRow()
391 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow()
394 fSwizzler->swizzle(dst, src); in applyXformRow()
435 const int sampleY = fSwizzler->sampleY(); in haveDecodedRow()
442 if (fSwizzler->rowNeeded(potentialRow)) { in haveDecodedRow()
[all …]
DSkWbmpCodec.h37 SkASSERT(fSwizzler || !createIfNecessary); in getSampler()
38 return fSwizzler.get(); in getSampler()
51 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkBmpStandardCodec.cpp28 , fSwizzler(nullptr) in SkBmpStandardCodec()
192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
193 SkASSERT(fSwizzler); in initializeSwizzler()
235 fSwizzler->swizzle(this->xformBuffer(), this->srcBuffer()); in decodeRows()
236 this->applyColorXform(dstRow, this->xformBuffer(), fSwizzler->swizzleWidth()); in decodeRows()
238 fSwizzler->swizzle(dstRow, this->srcBuffer()); in decodeRows()
303 const int sampleX = fSwizzler->sampleX(); in decodeIcoMask()
DSkBmpStandardCodec.h61 SkASSERT(fSwizzler); in getSampler()
62 return fSwizzler.get(); in getSampler()
85 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkJpegCodec.cpp380 fSwizzler.reset(nullptr); in onRewind()
521 dstWidth = fSwizzler->swizzleWidth(); in readRows()
530 dstWidth = fSwizzler->swizzleWidth(); in readRows()
539 if (fSwizzler) { in readRows()
540 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows()
621 if (fSwizzler) { in allocateStorage()
623 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
665 fSwizzler = SkSwizzler::Make(swizzlerInfo, nullptr, swizzlerDstInfo, swizzlerOptions); in initializeSwizzler()
684 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, swizzlerOptions); in initializeSwizzler()
686 SkASSERT(fSwizzler); in initializeSwizzler()
[all …]
DSkGifCodec.h90 SkASSERT(fSwizzler); in getSampler()
91 return fSwizzler.get(); in getSampler()
133 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkWbmpCodec.cpp101 , fSwizzler(nullptr) in SkWbmpCodec()
169 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in onGetScanlines()
187 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), nullptr, dstInfo, options); in onStartScanlineDecode()
188 SkASSERT(fSwizzler); in onStartScanlineDecode()
DSkPngCodec.h61 SkSwizzler* swizzler() { return fSwizzler.get(); } in swizzler()
84 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkPngCodec.cpp473 fSwizzler->swizzle(dst, (const uint8_t*) src); in applyXformRow()
479 fSwizzler->swizzle(fColorXformSrcRow, (const uint8_t*) src); in applyXformRow()
1011 fSwizzler.reset(nullptr); in initializeXforms()
1100 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
1103 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), colors, swizzlerInfo, in initializeSwizzler()
1106 SkASSERT(fSwizzler); in initializeSwizzler()
1110 if (fSwizzler || !createIfNecessary) { in getSampler()
1111 return fSwizzler.get(); in getSampler()
1115 return fSwizzler.get(); in getSampler()
DSkJpegCodec.h137 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkHeifCodec.h90 std::unique_ptr<SkSwizzler> fSwizzler; variable
/third_party/skia/src/codec/
DSkHeifCodec.cpp257 dstWidth = fSwizzler->swizzleWidth(); in readRows()
266 dstWidth = fSwizzler->swizzleWidth(); in readRows()
274 if (fSwizzler) { in readRows()
275 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows()
388 fSwizzler.reset(nullptr); in onGetPixels()
404 if (fSwizzler) { in allocateStorage()
406 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
438 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, options); in initializeSwizzler()
439 SkASSERT(fSwizzler); in initializeSwizzler()
443 if (!createIfNecessary || fSwizzler) { in getSampler()
[all …]
DSkWbmpCodec.h37 SkASSERT(fSwizzler || !createIfNecessary); in getSampler()
38 return fSwizzler.get(); in getSampler()
51 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkBmpStandardCodec.cpp28 , fSwizzler(nullptr) in SkBmpStandardCodec()
192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
193 SkASSERT(fSwizzler); in initializeSwizzler()
235 fSwizzler->swizzle(this->xformBuffer(), this->srcBuffer()); in decodeRows()
236 this->applyColorXform(dstRow, this->xformBuffer(), fSwizzler->swizzleWidth()); in decodeRows()
238 fSwizzler->swizzle(dstRow, this->srcBuffer()); in decodeRows()
303 const int sampleX = fSwizzler->sampleX(); in decodeIcoMask()
DSkBmpStandardCodec.h61 SkASSERT(fSwizzler); in getSampler()
62 return fSwizzler.get(); in getSampler()
85 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkJpegCodec.cpp329 fSwizzler.reset(nullptr); in onRewind()
470 dstWidth = fSwizzler->swizzleWidth(); in readRows()
479 dstWidth = fSwizzler->swizzleWidth(); in readRows()
488 if (fSwizzler) { in readRows()
489 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows()
572 if (fSwizzler) { in allocateStorage()
574 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage()
619 fSwizzler = SkSwizzler::Make(swizzlerInfo, nullptr, swizzlerDstInfo, swizzlerOptions); in initializeSwizzler()
638 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, swizzlerOptions); in initializeSwizzler()
640 SkASSERT(fSwizzler); in initializeSwizzler()
[all …]
DSkWbmpCodec.cpp101 , fSwizzler(nullptr) in SkWbmpCodec()
169 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in onGetScanlines()
187 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), nullptr, dstInfo, options); in onStartScanlineDecode()
188 SkASSERT(fSwizzler); in onStartScanlineDecode()
DSkPngCodec.h61 SkSwizzler* swizzler() { return fSwizzler.get(); } in swizzler()
84 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkPngCodec.cpp471 fSwizzler->swizzle(dst, (const uint8_t*) src); in applyXformRow()
477 fSwizzler->swizzle(fColorXformSrcRow, (const uint8_t*) src); in applyXformRow()
1026 fSwizzler.reset(nullptr); in initializeXforms()
1114 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
1117 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), colors, swizzlerInfo, in initializeSwizzler()
1120 SkASSERT(fSwizzler); in initializeSwizzler()
1124 if (fSwizzler || !createIfNecessary) { in getSampler()
1125 return fSwizzler.get(); in getSampler()
1129 return fSwizzler.get(); in getSampler()
DSkJpegCodec.h137 std::unique_ptr<SkSwizzler> fSwizzler; variable
DSkHeifCodec.h91 std::unique_ptr<SkSwizzler> fSwizzler; variable