Lines Matching refs:decodeInfo
413 SkImageInfo decodeInfo = codec->getInfo(); in fuzz_img() local
415 decodeInfo = decodeInfo.makeWH(size.width(), size.height()); in fuzz_img()
421 if (!bitmap.tryAllocPixelsFlags(decodeInfo, SkBitmap::kZeroPixels_AllocFlag)) { in fuzz_img()
423 decodeInfo.width(), decodeInfo.height()); in fuzz_img()
429 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options)) { in fuzz_img()
450 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo)) { in fuzz_img()
457 uint32_t height = decodeInfo.height(); in fuzz_img()
465 const int height = decodeInfo.height(); in fuzz_img()
472 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo) in fuzz_img()
495 const SkCodec::Result startResult = codec->startScanlineDecode(decodeInfo); in fuzz_img()
550 decodeInfo = decodeInfo.makeWH( in fuzz_img()
553 size_t rowBytes = decodeInfo.minRowBytes(); in fuzz_img()
554 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes)) { in fuzz_img()
558 const SkCodec::Result result = codec->getPixels(decodeInfo, pixels, rowBytes, in fuzz_img()
585 x, y, decodeInfo.width(), decodeInfo.height(), in fuzz_img()
590 top += decodeInfo.height(); in fuzz_img()
593 left += decodeInfo.width(); in fuzz_img()
607 auto result = codec->startIncrementalDecode(decodeInfo, bitmap.getPixels(), in fuzz_img()