• Home
  • Raw
  • Download

Lines Matching refs:dstInfo

162 void SkGifCodec::initializeColorTable(const SkImageInfo& dstInfo, int frameIndex) {  in initializeColorTable()  argument
163 SkColorType colorTableColorType = dstInfo.colorType(); in initializeColorTable()
185 SkCodec::Result SkGifCodec::prepareToDecode(const SkImageInfo& dstInfo, const Options& opts) { in prepareToDecode() argument
191 if (frameIndex > 0 && kRGB_565_SkColorType == dstInfo.colorType()) { in prepareToDecode()
228 fXformBuffer.reset(new uint32_t[dstInfo.width()]); in prepareToDecode()
229 sk_bzero(fXformBuffer.get(), dstInfo.width() * sizeof(uint32_t)); in prepareToDecode()
232 fTmpBuffer.reset(new uint8_t[dstInfo.minRowBytes()]); in prepareToDecode()
234 this->initializeColorTable(dstInfo, frameIndex); in prepareToDecode()
235 this->initializeSwizzler(dstInfo, frameIndex); in prepareToDecode()
241 void SkGifCodec::initializeSwizzler(const SkImageInfo& dstInfo, int frameIndex) { in initializeSwizzler() argument
253 SkImageInfo swizzlerInfo = dstInfo; in initializeSwizzler()
256 if (kPremul_SkAlphaType == dstInfo.alphaType()) { in initializeSwizzler()
276 SkCodec::Result SkGifCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels() argument
280 Result result = this->prepareToDecode(dstInfo, opts); in onGetPixels()
296 if (dstInfo.dimensions() != this->getInfo().dimensions()) { in onGetPixels()
306 SkCodec::Result SkGifCodec::onStartIncrementalDecode(const SkImageInfo& dstInfo, in onStartIncrementalDecode() argument
309 Result result = this->prepareToDecode(dstInfo, opts); in onStartIncrementalDecode()
334 const SkImageInfo& dstInfo = this->dstInfo(); in decodeFrame() local
335 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame()
359 auto fillInfo = dstInfo.makeWH(0, scaledHeight); in decodeFrame()
360 fSwizzler->fill(fillInfo, fDst, fDstRowBytes, this->getFillValue(dstInfo), in decodeFrame()
400 uint64_t SkGifCodec::onGetFillValue(const SkImageInfo& dstInfo) const { in onGetFillValue()
406 void SkGifCodec::applyXformRow(const SkImageInfo& dstInfo, void* dst, const uint8_t* src) const { in applyXformRow() argument
411 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow()
464 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow()
488 SkASSERT(this->dstInfo().height() >= yBegin); in haveDecodedRow()
489 repeatCount = SkTMin(repeatCount, this->dstInfo().height() - yBegin); in haveDecodedRow()
513 const auto dstInfo = this->dstInfo(); in haveDecodedRow() local
515 this->applyXformRow(dstInfo, dstLine, rowBegin); in haveDecodedRow()
517 this->applyXformRow(dstInfo, fTmpBuffer.get(), rowBegin); in haveDecodedRow()
520 if (dstInfo.colorType() == kRGBA_F16_SkColorType) { in haveDecodedRow()
528 switch (dstInfo.colorType()) { in haveDecodedRow()
544 const size_t bytesPerPixel = this->dstInfo().bytesPerPixel(); in haveDecodedRow()