/external/skia/src/codec/ |
D | SkHeifCodec.cpp | 225 dstWidth = fSwizzler->swizzleWidth(); in readRows() 234 dstWidth = fSwizzler->swizzleWidth(); in readRows() 242 if (fSwizzler) { in readRows() 243 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows() 281 fSwizzler.reset(nullptr); in onGetPixels() 297 if (fSwizzler) { in allocateStorage() 299 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 331 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, options); in initializeSwizzler() 332 SkASSERT(fSwizzler); in initializeSwizzler() 336 if (!createIfNecessary || fSwizzler) { in getSampler() [all …]
|
D | SkGifCodec.cpp | 118 , fSwizzler(nullptr) in SkGifCodec() 268 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), fCurrColorTable->readColors(), in initializeSwizzler() 270 SkASSERT(fSwizzler.get()); in initializeSwizzler() 335 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() 360 fSwizzler->fill(fillInfo, fDst, fDstRowBytes, this->getFillValue(dstInfo), in decodeFrame() 409 fSwizzler->swizzle(fXformBuffer.get(), src); in applyXformRow() 411 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow() 414 fSwizzler->swizzle(dst, src); in applyXformRow() 455 const int sampleY = fSwizzler->sampleY(); in haveDecodedRow() 462 if (fSwizzler->rowNeeded(potentialRow)) { in haveDecodedRow() [all …]
|
D | SkBmpStandardCodec.cpp | 27 , fSwizzler(nullptr) in SkBmpStandardCodec() 178 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler() 179 SkASSERT(fSwizzler); in initializeSwizzler() 221 fSwizzler->swizzle(this->xformBuffer(), this->srcBuffer()); in decodeRows() 222 this->applyColorXform(dstRow, this->xformBuffer(), fSwizzler->swizzleWidth()); in decodeRows() 224 fSwizzler->swizzle(dstRow, this->srcBuffer()); in decodeRows() 289 const int sampleX = fSwizzler->sampleX(); in decodeIcoMask()
|
D | SkJpegCodec.cpp | 378 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() 625 if (fSwizzler) { in allocateStorage() 627 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 668 fSwizzler = SkSwizzler::Make(swizzlerInfo, nullptr, swizzlerDstInfo, swizzlerOptions); in initializeSwizzler() 687 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerDstInfo, swizzlerOptions); in initializeSwizzler() 689 SkASSERT(fSwizzler); in initializeSwizzler() [all …]
|
D | SkWbmpCodec.h | 37 SkASSERT(fSwizzler || !createIfNecessary); in getSampler() 38 return fSwizzler.get(); in getSampler() 51 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkBmpStandardCodec.h | 64 SkASSERT(fSwizzler); in getSampler() 65 return fSwizzler.get(); in getSampler() 92 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkGifCodec.h | 92 SkASSERT(fSwizzler); in getSampler() 93 return fSwizzler.get(); in getSampler() 135 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkWbmpCodec.cpp | 100 , 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 | 476 fSwizzler->swizzle(dst, (const uint8_t*) src); in applyXformRow() 482 fSwizzler->swizzle(fColorXformSrcRow, (const uint8_t*) src); in applyXformRow() 1021 fSwizzler.reset(nullptr); in initializeXforms() 1105 fSwizzler = SkSwizzler::MakeSimple(srcBPP, swizzlerInfo, swizzlerOptions); in initializeSwizzler() 1108 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), colors, swizzlerInfo, in initializeSwizzler() 1111 SkASSERT(fSwizzler); in initializeSwizzler() 1115 if (fSwizzler || !createIfNecessary) { in getSampler() 1116 return fSwizzler.get(); in getSampler() 1120 return fSwizzler.get(); in getSampler()
|
D | SkPngCodec.h | 63 SkSwizzler* swizzler() { return fSwizzler.get(); } in swizzler() 86 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkHeifCodec.h | 92 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkJpegCodec.h | 150 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
/external/skqp/src/codec/ |
D | SkHeifCodec.cpp | 225 dstWidth = fSwizzler->swizzleWidth(); in readRows() 234 dstWidth = fSwizzler->swizzleWidth(); in readRows() 242 if (fSwizzler) { in readRows() 243 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows() 281 fSwizzler.reset(nullptr); in onGetPixels() 297 if (fSwizzler) { in allocateStorage() 299 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 328 fSwizzler.reset(SkSwizzler::CreateSwizzler(swizzlerInfo, nullptr, in initializeSwizzler() 330 SkASSERT(fSwizzler); in initializeSwizzler() 334 if (!createIfNecessary || fSwizzler) { in getSampler() [all …]
|
D | SkGifCodec.cpp | 118 , fSwizzler(nullptr) in SkGifCodec() 268 fSwizzler.reset(SkSwizzler::CreateSwizzler(this->getEncodedInfo(), in initializeSwizzler() 270 SkASSERT(fSwizzler.get()); in initializeSwizzler() 358 fSwizzler->sampleY()); in decodeFrame() 360 fSwizzler->fill(fillInfo, fDst, fDstRowBytes, this->getFillValue(dstInfo), in decodeFrame() 373 fRowsDecoded = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() 409 fSwizzler->swizzle(fXformBuffer.get(), src); in applyXformRow() 411 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow() 414 fSwizzler->swizzle(dst, src); in applyXformRow() 455 const int sampleY = fSwizzler->sampleY(); in haveDecodedRow() [all …]
|
D | SkBmpStandardCodec.cpp | 27 , fSwizzler(nullptr) in SkBmpStandardCodec() 179 fSwizzler.reset(SkSwizzler::CreateSwizzler(encodedInfo, colorPtr, swizzlerInfo, in initializeSwizzler() 181 SkASSERT(fSwizzler); in initializeSwizzler() 223 fSwizzler->swizzle(this->xformBuffer(), this->srcBuffer()); in decodeRows() 224 this->applyColorXform(dstRow, this->xformBuffer(), fSwizzler->swizzleWidth()); in decodeRows() 226 fSwizzler->swizzle(dstRow, this->srcBuffer()); in decodeRows() 291 const int sampleX = fSwizzler->sampleX(); in decodeIcoMask()
|
D | SkWbmpCodec.h | 42 SkASSERT(fSwizzler || !createIfNecessary); in getSampler() 43 return fSwizzler.get(); in getSampler() 56 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkBmpStandardCodec.h | 64 SkASSERT(fSwizzler); in getSampler() 65 return fSwizzler.get(); in getSampler() 92 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkJpegCodec.cpp | 377 fSwizzler.reset(nullptr); in onRewind() 520 dstWidth = fSwizzler->swizzleWidth(); in readRows() 529 dstWidth = fSwizzler->swizzleWidth(); in readRows() 538 if (fSwizzler) { in readRows() 539 fSwizzler->swizzle(swizzleDst, decodeDst); in readRows() 624 if (fSwizzler) { in allocateStorage() 626 dstWidth = fSwizzler->swizzleWidth(); in allocateStorage() 670 fSwizzler.reset(SkSwizzler::CreateSwizzler(swizzlerInfo, nullptr, swizzlerDstInfo, in initializeSwizzler() 672 SkASSERT(fSwizzler); in initializeSwizzler() 676 if (!createIfNecessary || fSwizzler) { in getSampler() [all …]
|
D | SkGifCodec.h | 92 SkASSERT(fSwizzler); in getSampler() 93 return fSwizzler.get(); in getSampler() 135 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkWbmpCodec.cpp | 104 , fSwizzler(nullptr) in SkWbmpCodec() 172 fSwizzler->swizzle(dstRow, fSrcBuffer.get()); in onGetScanlines() 191 fSwizzler.reset(this->initializeSwizzler(dstInfo, options)); in onStartScanlineDecode() 192 SkASSERT(fSwizzler); in onStartScanlineDecode()
|
D | SkPngCodec.h | 63 SkSwizzler* swizzler() { return fSwizzler.get(); } in swizzler() 86 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkPngCodec.cpp | 472 fSwizzler->swizzle(dst, (const uint8_t*) src); in applyXformRow() 478 fSwizzler->swizzle(fColorXformSrcRow, (const uint8_t*) src); in applyXformRow() 1012 fSwizzler.reset(nullptr); in initializeXforms() 1078 fSwizzler.reset(SkSwizzler::CreateSwizzler(this->getEncodedInfo(), colors, swizzlerInfo, in initializeSwizzler() 1080 SkASSERT(fSwizzler); in initializeSwizzler() 1084 if (fSwizzler || !createIfNecessary) { in getSampler() 1085 return fSwizzler.get(); in getSampler() 1089 return fSwizzler.get(); in getSampler()
|
D | SkHeifCodec.h | 92 std::unique_ptr<SkSwizzler> fSwizzler; variable
|
D | SkJpegCodec.h | 150 std::unique_ptr<SkSwizzler> fSwizzler; variable
|