• Home
  • Raw
  • Download

Lines Matching refs:dstInfo

37 SkCodec::Result SkBmpStandardCodec::onGetPixels(const SkImageInfo& dstInfo,  in onGetPixels()  argument
45 if (dstInfo.dimensions() != this->dimensions()) { in onGetPixels()
50 Result result = this->prepareToDecode(dstInfo, opts); in onGetPixels()
54 int rows = this->decodeRows(dstInfo, dst, dstRowBytes, opts); in onGetPixels()
55 if (rows != dstInfo.height()) { in onGetPixels()
172 void SkBmpStandardCodec::initializeSwizzler(const SkImageInfo& dstInfo, const Options& opts) { in initializeSwizzler() argument
181 SkImageInfo swizzlerInfo = dstInfo; in initializeSwizzler()
185 if (kPremul_SkAlphaType == dstInfo.alphaType()) { in initializeSwizzler()
196 SkCodec::Result SkBmpStandardCodec::onPrepareToDecode(const SkImageInfo& dstInfo, in onPrepareToDecode() argument
199 this->resetXformBuffer(dstInfo.width()); in onPrepareToDecode()
204 if (!this->createColorTable(dstInfo.colorType(), dstInfo.alphaType())) { in onPrepareToDecode()
210 this->initializeSwizzler(dstInfo, options); in onPrepareToDecode()
217 int SkBmpStandardCodec::decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, in decodeRows() argument
220 const int height = dstInfo.height(); in decodeRows()
229 uint32_t row = this->getDstRow(y, dstInfo.height()); in decodeRows()
247 decodeIcoMask(this->stream(), dstInfo, dst, dstRowBytes); in decodeRows()
286 decodeIcoMask(&subStream, dstInfo, dst, dstRowBytes); in decodeRows()
292 void SkBmpStandardCodec::decodeIcoMask(SkStream* stream, const SkImageInfo& dstInfo, in decodeIcoMask() argument
296 SkASSERT(kRGBA_8888_SkColorType == dstInfo.colorType() || in decodeIcoMask()
297 kBGRA_8888_SkColorType == dstInfo.colorType() || in decodeIcoMask()
298 kRGBA_F16_SkColorType == dstInfo.colorType()); in decodeIcoMask()
309 for (int y = 0; y < dstInfo.height(); y++) { in decodeIcoMask()
316 auto applyMask = [dstInfo](void* dstRow, int x, uint64_t bit) { in decodeIcoMask()
317 if (kRGBA_F16_SkColorType == dstInfo.colorType()) { in decodeIcoMask()
326 int row = this->getDstRow(y, dstInfo.height()); in decodeIcoMask()