Lines Matching refs:decodeInfo
471 SkImageInfo decodeInfo = codec->getInfo(); in fuzz_img() local
473 decodeInfo = decodeInfo.makeDimensions(size); in fuzz_img()
479 if (!bitmap.tryAllocPixelsFlags(decodeInfo, SkBitmap::kZeroPixels_AllocFlag)) { in fuzz_img()
481 decodeInfo.width(), decodeInfo.height()); in fuzz_img()
487 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options)) { in fuzz_img()
509 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo)) { in fuzz_img()
516 uint32_t height = decodeInfo.height(); in fuzz_img()
524 const int height = decodeInfo.height(); in fuzz_img()
531 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo) in fuzz_img()
554 const SkCodec::Result startResult = codec->startScanlineDecode(decodeInfo); in fuzz_img()
609 decodeInfo = decodeInfo.makeWH( in fuzz_img()
612 size_t rowBytes = decodeInfo.minRowBytes(); in fuzz_img()
613 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes)) { in fuzz_img()
617 const SkCodec::Result result = codec->getPixels(decodeInfo, pixels, rowBytes, in fuzz_img()
644 x, y, decodeInfo.width(), decodeInfo.height(), in fuzz_img()
649 top += decodeInfo.height(); in fuzz_img()
652 left += decodeInfo.width(); in fuzz_img()
666 auto result = codec->startIncrementalDecode(decodeInfo, bitmap.getPixels(), in fuzz_img()