• Home
  • Raw
  • Download

Lines Matching refs:dstInfo

35 SkCodec::Result SkBmpRLECodec::onGetPixels(const SkImageInfo& dstInfo,  in onGetPixels()  argument
44 Result result = this->prepareToDecode(dstInfo, opts); in onGetPixels()
50 int rows = this->decodeRows(dstInfo, dst, dstRowBytes, opts); in onGetPixels()
51 if (rows != dstInfo.height()) { in onGetPixels()
55 *rowsDecoded = dstInfo.height(); in onGetPixels()
169 const SkImageInfo& dstInfo, uint32_t x, uint32_t y, in setPixel() argument
171 if (dst && is_coord_necessary(x, fSampleX, dstInfo.width())) { in setPixel()
173 uint32_t row = this->getDstRow(y, dstInfo.height()); in setPixel()
177 switch (dstInfo.colorType()) { in setPixel()
202 const SkImageInfo& dstInfo, uint32_t x, in setRGBPixel() argument
205 if (dst && is_coord_necessary(x, fSampleX, dstInfo.width())) { in setRGBPixel()
207 uint32_t row = this->getDstRow(y, dstInfo.height()); in setRGBPixel()
211 switch (dstInfo.colorType()) { in setRGBPixel()
236 SkCodec::Result SkBmpRLECodec::onPrepareToDecode(const SkImageInfo& dstInfo, in onPrepareToDecode() argument
249 SkColorType colorTableColorType = dstInfo.colorType(); in onPrepareToDecode()
281 SkImageInfo dstInfo = info.makeWH(this->fillWidth(), height); in decodeRows() local
286 SkSampler::Fill(dstInfo, dst, dstRowBytes, opts.fZeroInitialized); in decodeRows()
298 dstInfo = dstInfo.makeWH(dstInfo.width(), height); in decodeRows()
306 SkImageInfo decodeInfo = dstInfo; in decodeRows()
310 if (kRGBA_F16_SkColorType == dstInfo.colorType()) { in decodeRows()
311 int count = height * dstInfo.width(); in decodeRows()
315 decodeRowBytes = dstInfo.width() * sizeof(uint32_t); in decodeRows()
323 this->applyColorXform(dst, decodeDst, dstInfo.width()); in decodeRows()
332 int SkBmpRLECodec::decodeRLE(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes) { in decodeRLE() argument
337 const int height = dstInfo.height(); in decodeRLE()
440 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE()
444 setPixel(dst, dstRowBytes, dstInfo, in decodeRLE()
452 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE()
461 setRGBPixel(dst, dstRowBytes, dstInfo, in decodeRLE()
499 setRGBPixel(dst, dstRowBytes, dstInfo, x++, y, red, green, blue); in decodeRLE()
515 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRLE()