Lines Matching refs:dstInfo
164 bool SkHeifCodec::conversionSupported(const SkImageInfo& dstInfo, bool srcIsOpaque, in conversionSupported() argument
168 if (kUnknown_SkAlphaType == dstInfo.alphaType()) { in conversionSupported()
172 if (kOpaque_SkAlphaType != dstInfo.alphaType()) { in conversionSupported()
177 switch (dstInfo.colorType()) { in conversionSupported()
200 int SkHeifCodec::readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, int count, in readRows() argument
213 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows()
255 SkCodec::Result SkHeifCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels() argument
271 this->allocateStorage(dstInfo); in onGetPixels()
273 int rows = this->readRows(dstInfo, dst, dstRowBytes, dstInfo.height(), options); in onGetPixels()
274 if (rows < dstInfo.height()) { in onGetPixels()
282 void SkHeifCodec::allocateStorage(const SkImageInfo& dstInfo) { in allocateStorage() argument
283 int dstWidth = dstInfo.width(); in allocateStorage()
293 if (this->colorXform() && (kRGBA_F16_SkColorType == dstInfo.colorType() || in allocateStorage()
294 kRGB_565_SkColorType == dstInfo.colorType())) { in allocateStorage()
308 const SkImageInfo& dstInfo, const Options& options) { in initializeSwizzler() argument
309 SkImageInfo swizzlerDstInfo = dstInfo; in initializeSwizzler()
316 if (dstInfo.colorType() == kRGB_565_SkColorType && !this->colorXform()) { in initializeSwizzler()
330 this->initializeSwizzler(this->dstInfo(), this->options()); in getSampler()
331 this->allocateStorage(this->dstInfo()); in getSampler()
345 const SkImageInfo& dstInfo, const Options& options) { in onStartScanlineDecode() argument
354 this->initializeSwizzler(dstInfo, options); in onStartScanlineDecode()
359 this->allocateStorage(dstInfo); in onStartScanlineDecode()
365 return this->readRows(this->dstInfo(), dst, dstRowBytes, count, this->options()); in onGetScanlines()