Lines Matching refs:decodeInfo
437 SkImageInfo decodeInfo = codec->getInfo(); in fuzz_img() local
439 decodeInfo = decodeInfo.makeDimensions(size); in fuzz_img()
445 if (!bitmap.tryAllocPixelsFlags(decodeInfo, SkBitmap::kZeroPixels_AllocFlag)) { in fuzz_img()
447 decodeInfo.width(), decodeInfo.height()); in fuzz_img()
453 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options)) { in fuzz_img()
474 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo)) { in fuzz_img()
481 uint32_t height = decodeInfo.height(); in fuzz_img()
489 const int height = decodeInfo.height(); in fuzz_img()
496 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo) in fuzz_img()
519 const SkCodec::Result startResult = codec->startScanlineDecode(decodeInfo); in fuzz_img()
574 decodeInfo = decodeInfo.makeWH( in fuzz_img()
577 size_t rowBytes = decodeInfo.minRowBytes(); in fuzz_img()
578 if (!subsetBm.installPixels(decodeInfo, pixels, rowBytes)) { in fuzz_img()
582 const SkCodec::Result result = codec->getPixels(decodeInfo, pixels, rowBytes, in fuzz_img()
609 x, y, decodeInfo.width(), decodeInfo.height(), in fuzz_img()
614 top += decodeInfo.height(); in fuzz_img()
617 left += decodeInfo.width(); in fuzz_img()
631 auto result = codec->startIncrementalDecode(decodeInfo, bitmap.getPixels(), in fuzz_img()