Lines Matching refs:decodeInfo
86 SkImageInfo decodeInfo = codec->getInfo(); in draw() local
90 decodeInfo = codec->getInfo().makeColorType(kIndex_8_SkColorType); in draw()
96 decodeInfo = codec->getInfo().makeColorType(kGray_8_SkColorType); in draw()
102 decodeInfo = decodeInfo.makeColorType(canvasColorType); in draw()
111 if (kIndex_8_SkColorType == decodeInfo.colorType()) { in draw()
119 if (decodeInfo.alphaType() == kUnpremul_SkAlphaType) { in draw()
120 decodeInfo = decodeInfo.makeAlphaType(kPremul_SkAlphaType); in draw()
124 if (!bitmap.tryAllocPixels(decodeInfo, NULL, colorTable.get())) { in draw()
126 decodeInfo.width(), decodeInfo.height()); in draw()
131 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), NULL, in draw()
146 SkScanlineDecoder* scanlineDecoder = codec->getScanlineDecoder(decodeInfo, NULL, in draw()
151 for (int y = 0; y < decodeInfo.height(); ++y) { in draw()