Home | History | Annotate | Download | only in codec

Lines Matching refs:dstInfo

574 SkCodec::Result SkBmpCodec::onGetPixels(const SkImageInfo& dstInfo,
588 if (dstInfo.dimensions() != this->getInfo().dimensions()) {
592 if (!conversion_possible(dstInfo, this->getInfo())) {
599 if (!createColorTable(dstInfo.alphaType(), inputColorCount)) {
605 copy_color_table(dstInfo, fColorTable, inputColorPtr, inputColorCount);
610 return decodeMask(dstInfo, dst, dstRowBytes, opts);
612 return decodeRLE(dstInfo, dst, dstRowBytes, opts);
614 return decode(dstInfo, dst, dstRowBytes, opts);
743 SkCodec::Result SkBmpCodec::decodeMask(const SkImageInfo& dstInfo,
747 const int width = dstInfo.width();
748 const int height = dstInfo.height();
758 SkMaskSwizzler::CreateMaskSwizzler(dstInfo, dst, dstRowBytes,
768 SkPMColor fillColor = dstInfo.alphaType() == kOpaque_SkAlphaType ?
772 SkSwizzler::Fill(dstStart, dstInfo, dstRowBytes, dstInfo.height() - y, fillColor,
791 dstInfo.makeAlphaType(kOpaque_SkAlphaType);
816 const SkImageInfo& dstInfo, uint32_t x, uint32_t y,
819 int height = dstInfo.height();
828 switch (dstInfo.colorType()) {
849 const SkImageInfo& dstInfo, uint32_t x,
853 int height = dstInfo.height();
862 switch (dstInfo.colorType()) {
883 SkCodec::Result SkBmpCodec::decodeRLE(const SkImageInfo& dstInfo,
893 const int width = dstInfo.width();
894 const int height = dstInfo.height();
915 SkASSERT(kN32_SkColorType == dstInfo.colorType());
917 SkSwizzler::Fill(dst, dstInfo, dstRowBytes, height, SK_ColorTRANSPARENT, NULL);
989 setRLEPixel(dst, dstRowBytes, dstInfo, x++,
993 setRLEPixel(dst, dstRowBytes, dstInfo,
1001 setRLEPixel(dst, dstRowBytes, dstInfo, x++,
1010 setRLE24Pixel(dst, dstRowBytes, dstInfo,
1046 setRLE24Pixel(dst, dstRowBytes, dstInfo, x++, y, red,
1063 setRLEPixel(dst, dstRowBytes, dstInfo, x, y,
1077 SkCodec::Result SkBmpCodec::decode(const SkImageInfo& dstInfo,
1081 const int width = dstInfo.width();
1082 const int height = dstInfo.height();
1114 if (kOpaque_SkAlphaType == dstInfo.alphaType()) {
1133 colorPtr, dstInfo, dst, dstRowBytes,
1148 SkSwizzler::Fill(dstStart, dstInfo, dstRowBytes, dstInfo.height() - y,