23 auto size = codec->getSampledDimensions(sampleSize);
32 options.fSampleSize = sampleSize;
45 auto gainmapImageStream = std::unique_ptr<SkStream>();
47 if (codec->getAndroidGainmap(&gainmapInfo, &gainmapImageStream)) {
52 if (gainmapImageStream->getLength() > 100000000) {
67#if defined(SK_BUILD_FOR_LIBFUZZER)
74 fuzz.nextRange(&sampleSize, 1, 64);
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
bool FuzzAndroidCodec(const uint8_t *fuzzData, size_t fuzzSize, uint8_t sampleSize)
static std::unique_ptr< SkAndroidCodec > MakeFromStream(std::unique_ptr< SkStream >, SkPngChunkReader *=nullptr)
sk_sp< SkImage > asImage() const
const SkImageInfo & info() const
bool tryAllocPixels(const SkImageInfo &info, size_t rowBytes)
static std::unique_ptr< SkMemoryStream > MakeDirect(const void *data, size_t length)
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
SINT bool isfinite(const Vec< N, T > &v)
static SkImageInfo MakeN32Premul(int width, int height)
std::shared_ptr< const fml::Mapping > data