Searched refs:decodeInfo (Results 1 – 1 of 1) sorted by relevance
86 SkImageInfo decodeInfo = codec->getInfo(); in draw() local90 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()[all …]