Lines Matching refs:dstInfo
201 bool SkHeifCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque, in conversionSupported() argument
205 if (kUnknown_SkAlphaType == dstInfo.alphaType()) { in conversionSupported()
209 if (kOpaque_SkAlphaType != dstInfo.alphaType()) { in conversionSupported()
214 switch (dstInfo.colorType()) { in conversionSupported()
237 int SkHeifCodec::readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, int count, in readRows() argument
250 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows()
365 SkCodec::Result SkHeifCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels() argument
394 this->allocateStorage(dstInfo); in onGetPixels()
396 int rows = this->readRows(dstInfo, dst, dstRowBytes, dstInfo.height(), options); in onGetPixels()
397 if (rows < dstInfo.height()) { in onGetPixels()
405 void SkHeifCodec::allocateStorage(const SkImageInfo& dstInfo) { in allocateStorage() argument
406 int dstWidth = dstInfo.width(); in allocateStorage()
416 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
417 kRGB_565_SkColorType == dstInfo.colorType())) { in allocateStorage()
431 const SkImageInfo& dstInfo, const Options& options) { in initializeSwizzler() argument
432 SkImageInfo swizzlerDstInfo = dstInfo; in initializeSwizzler()
439 if (dstInfo.colorType() == kRGB_565_SkColorType && !this->colorXform()) { in initializeSwizzler()
453 this->initializeSwizzler(this->dstInfo(), this->options()); in getSampler()
454 this->allocateStorage(this->dstInfo()); in getSampler()
468 const SkImageInfo& dstInfo, const Options& options) { in onStartScanlineDecode() argument
477 this->initializeSwizzler(dstInfo, options); in onStartScanlineDecode()
482 this->allocateStorage(dstInfo); in onStartScanlineDecode()
488 return this->readRows(this->dstInfo(), dst, dstRowBytes, count, this->options()); in onGetScanlines()