• Home
  • Raw
  • Download

Lines Matching refs:dstInfo

202 bool SkHeifCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque,  in conversionSupported()  argument
206 if (kUnknown_SkAlphaType == dstInfo.alphaType()) { in conversionSupported()
210 if (kOpaque_SkAlphaType != dstInfo.alphaType()) { in conversionSupported()
215 switch (dstInfo.colorType()) { in conversionSupported()
238 int SkHeifCodec::readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, int count, in readRows() argument
251 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows()
364 SkCodec::Result SkHeifCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels() argument
389 this->allocateStorage(dstInfo); in onGetPixels()
391 int rows = this->readRows(dstInfo, dst, dstRowBytes, dstInfo.height(), options); in onGetPixels()
392 if (rows < dstInfo.height()) { in onGetPixels()
400 void SkHeifCodec::allocateStorage(const SkImageInfo& dstInfo) { in allocateStorage() argument
401 int dstWidth = dstInfo.width(); in allocateStorage()
411 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
412 kRGB_565_SkColorType == dstInfo.colorType())) { in allocateStorage()
426 const SkImageInfo& dstInfo, const Options& options) { in initializeSwizzler() argument
427 SkImageInfo swizzlerDstInfo = dstInfo; in initializeSwizzler()
434 if (dstInfo.colorType() == kRGB_565_SkColorType && !this->colorXform()) { in initializeSwizzler()
448 this->initializeSwizzler(this->dstInfo(), this->options()); in getSampler()
449 this->allocateStorage(this->dstInfo()); in getSampler()
463 const SkImageInfo& dstInfo, const Options& options) { in onStartScanlineDecode() argument
472 this->initializeSwizzler(dstInfo, options); in onStartScanlineDecode()
477 this->allocateStorage(dstInfo); in onStartScanlineDecode()
483 return this->readRows(this->dstInfo(), dst, dstRowBytes, count, this->options()); in onGetScanlines()