/external/skia/src/codec/ |
D | SkHeifCodec.cpp | 219 dstWidth = fSwizzler->swizzleWidth(); in readRows() 228 dstWidth = fSwizzler->swizzleWidth(); in readRows() 236 if (fSwizzler) { in readRows() 237 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows() 270 fSwizzler.reset(nullptr); in onGetPixels() 286 if (fSwizzler) { in allocateStorage() 288 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 320 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, options); in initializeSwizzler() 321 SkASSERT(fSwizzler); in initializeSwizzler() 325 if (!createIfNecessary || fSwizzler) { in getSampler() [all …]
|
D | SkGifCodec.cpp | 108 , 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 …]
|
D | SkWuffsCodec.cpp | 215 std::unique_ptr<SkSwizzler> fSwizzler; member in SkWuffsCodec 334 fSwizzler(nullptr), in SkWuffsCodec() 390 fSwizzler = nullptr; in onStartIncrementalDecode() 472 if (!fSwizzler) { in onIncrementalDecode() 475 fSwizzler = in onIncrementalDecode() 477 fSwizzler->setSampleX(fSpySampler.sampleX()); in onIncrementalDecode() 478 fSwizzler->setSampleY(fSpySampler.sampleY()); in onIncrementalDecode() 488 auto fillInfo = dstInfo().makeWH(fSwizzler->fillWidth(), fScaledHeight); in onIncrementalDecode() 525 const int sampleY = fSwizzler->sampleY(); in onIncrementalDecode() 529 if (!fSwizzler->rowNeeded(y)) { in onIncrementalDecode() [all …]
|
D | SkBmpStandardCodec.cpp | 28 , 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()
|
D | SkWbmpCodec.h | 37 SkASSERT(fSwizzler || !createIfNecessary); in getSampler() 38 return fSwizzler.get(); in getSampler() 51 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkJpegCodec.cpp | 380 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 …]
|
D | SkBmpStandardCodec.h | 61 SkASSERT(fSwizzler); in getSampler() 62 return fSwizzler.get(); in getSampler() 85 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkGifCodec.h | 90 SkASSERT(fSwizzler); in getSampler() 91 return fSwizzler.get(); in getSampler() 133 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkWbmpCodec.cpp | 101 , 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()
|
D | SkPngCodec.cpp | 473 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()
|
D | SkPngCodec.h | 61 SkSwizzler* swizzler() { return fSwizzler.get(); } in swizzler() 84 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkHeifCodec.h | 75 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
/external/skqp/src/codec/ |
D | SkHeifCodec.cpp | 219 dstWidth = fSwizzler->swizzleWidth(); in readRows() 228 dstWidth = fSwizzler->swizzleWidth(); in readRows() 236 if (fSwizzler) { in readRows() 237 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows() 270 fSwizzler.reset(nullptr); in onGetPixels() 286 if (fSwizzler) { in allocateStorage() 288 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 320 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, options); in initializeSwizzler() 321 SkASSERT(fSwizzler); in initializeSwizzler() 325 if (!createIfNecessary || fSwizzler) { in getSampler() [all …]
|
D | SkGifCodec.cpp | 108 , 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 …]
|
D | SkWuffsCodec.cpp | 212 std::unique_ptr<SkSwizzler> fSwizzler; member in SkWuffsCodec 332 fSwizzler(nullptr), 394 fSwizzler = nullptr; in onStartIncrementalDecode() 441 if (!fSwizzler) { in onIncrementalDecode() 444 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), fColorTable, dstInfo(), in onIncrementalDecode() 446 fSwizzler->setSampleX(fSpySampler.sampleX()); in onIncrementalDecode() 447 fSwizzler->setSampleY(fSpySampler.sampleY()); in onIncrementalDecode() 461 auto fillInfo = dstInfo().makeWH(fSwizzler->fillWidth(), scaledHeight); in onIncrementalDecode() 523 const int sampleY = fSwizzler->sampleY(); in onIncrementalDecode() 527 if (!fSwizzler->rowNeeded(y)) { in onIncrementalDecode() [all …]
|
D | SkBmpStandardCodec.cpp | 28 , 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()
|
D | SkWbmpCodec.h | 37 SkASSERT(fSwizzler || !createIfNecessary); in getSampler() 38 return fSwizzler.get(); in getSampler() 51 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkJpegCodec.cpp | 380 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 …]
|
D | SkBmpStandardCodec.h | 61 SkASSERT(fSwizzler); in getSampler() 62 return fSwizzler.get(); in getSampler() 85 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkGifCodec.h | 90 SkASSERT(fSwizzler); in getSampler() 91 return fSwizzler.get(); in getSampler() 133 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkWbmpCodec.cpp | 101 , 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()
|
D | SkPngCodec.cpp | 473 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()
|
D | SkPngCodec.h | 61 SkSwizzler* swizzler() { return fSwizzler.get(); } in swizzler() 84 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkHeifCodec.h | 73 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkJpegCodec.h | 137 std::unique_ptr<SkSwizzler> fSwizzler; variable
|