33 result = codec->incrementalDecode(&rowsDecoded);
37 if (rowsDecoded < bm.
height()) {
49#if defined(SK_BUILD_FOR_LIBFUZZER)
bool FuzzIncrementalImageDecode(const uint8_t *data, size_t size)
static void sk_bzero(void *buffer, size_t size)
const SkImageInfo & info() const
bool tryAllocPixels(const SkImageInfo &info, size_t rowBytes)
static std::unique_ptr< SkCodec > MakeFromStream(std::unique_ptr< SkStream >, SkSpan< const SkCodecs::Decoder > decoders, Result *=nullptr, SkPngChunkReader *=nullptr, SelectionPolicy selectionPolicy=SelectionPolicy::kPreferStillImage)
static std::unique_ptr< SkMemoryStream > MakeDirect(const void *data, size_t length)
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)