Lines Matching refs:dstInfo
37 SkCodec::Result SkBmpRLECodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels() argument
47 if (!conversion_possible(dstInfo, this->getInfo())) { in onGetPixels()
52 Result result = this->prepareToDecode(dstInfo, opts, inputColorPtr, inputColorCount); in onGetPixels()
58 int rows = this->decodeRows(dstInfo, dst, dstRowBytes, opts); in onGetPixels()
59 if (rows != dstInfo.height()) { in onGetPixels()
63 *rowsDecoded = dstInfo.height(); in onGetPixels()
202 const SkImageInfo& dstInfo, uint32_t x, uint32_t y, in setPixel() argument
204 if (dst && is_coord_necessary(x, fSampleX, dstInfo.width())) { in setPixel()
206 uint32_t row = this->getDstRow(y, dstInfo.height()); in setPixel()
210 switch (dstInfo.colorType()) { in setPixel()
234 const SkImageInfo& dstInfo, uint32_t x, in setRGBPixel() argument
237 if (dst && is_coord_necessary(x, fSampleX, dstInfo.width())) { in setRGBPixel()
239 uint32_t row = this->getDstRow(y, dstInfo.height()); in setRGBPixel()
243 switch (dstInfo.colorType()) { in setRGBPixel()
263 SkCodec::Result SkBmpRLECodec::prepareToDecode(const SkImageInfo& dstInfo, in prepareToDecode() argument
284 copy_color_table(dstInfo, this->fColorTable, inputColorPtr, inputColorCount); in prepareToDecode()
312 SkImageInfo dstInfo = info.makeWH(get_scaled_dimension(width, fSampleX), height); in decodeRows() local
318 SkASSERT(kN32_SkColorType == dstInfo.colorType()); in decodeRows()
320 SkSampler::Fill(dstInfo, dst, dstRowBytes, SK_ColorTRANSPARENT, opts.fZeroInitialized); in decodeRows()
422 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRows()
426 setPixel(dst, dstRowBytes, dstInfo, in decodeRows()
434 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRows()
443 setRGBPixel(dst, dstRowBytes, dstInfo, in decodeRows()
481 setRGBPixel(dst, dstRowBytes, dstInfo, x++, y, red, green, blue); in decodeRows()
497 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRows()