Lines Matching refs:decodeInfo
133 SkImageInfo decodeInfo = codec->getInfo(); in fuzz_img() local
136 decodeInfo = decodeInfo.makeWH(size.width(), size.height()); in fuzz_img()
143 if (kIndex_8_SkColorType == decodeInfo.colorType()) { in fuzz_img()
155 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) { in fuzz_img()
157 decodeInfo.width(), decodeInfo.height()); in fuzz_img()
163 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options, in fuzz_img()
182 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo, NULL, colorPtr, in fuzz_img()
190 uint32_t height = decodeInfo.height(); in fuzz_img()
200 for (int y = 0; y < decodeInfo.height(); y++) { in fuzz_img()
215 const int height = decodeInfo.height(); in fuzz_img()
222 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo, NULL, colorPtr, in fuzz_img()
246 const SkCodec::Result startResult = codec->startScanlineDecode(decodeInfo, nullptr, in fuzz_img()
302 decodeInfo = decodeInfo.makeWH( in fuzz_img()
305 size_t rowBytes = decodeInfo.minRowBytes(); in fuzz_img()
306 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes, colorTable.get(), in fuzz_img()
311 const SkCodec::Result result = codec->getPixels(decodeInfo, pixels, rowBytes, in fuzz_img()
337 x, y, decodeInfo.width(), decodeInfo.height(), in fuzz_img()
342 top += decodeInfo.height(); in fuzz_img()
345 left += decodeInfo.width(); in fuzz_img()