Home | History | Annotate | Download | only in tests

Lines Matching refs:subset

150             SkIRect subset = SkIRect::MakeLTRB(0, y, info.width(),
153 options.fSubset = ⊂
157 subset.top(), subset.bottom());
324 // support subset decodes - png and jpeg (once SkJpegCodec is
374 SkIRect subset = SkIRect::MakeXYWH(2 * (width / 3), 0, width / 3, height);
375 options.fSubset = ⊂
394 // meaningful subset.
400 SkIRect subset;
402 opts.fSubset = ⊂
404 subset = generate_random_subset(&rand, size.width(), size.height());
405 SkASSERT(!subset.isEmpty());
406 const bool supported = codec->getValidSubset(&subset);
409 SkImageInfo subsetInfo = info.makeWH(subset.width(), subset.height());
418 // Webp is the only codec that supports subsets, and it will have modified the subset
420 REPORTER_ASSERT(r, SkIsAlign2(subset.fLeft) && SkIsAlign2(subset.fTop));
995 // Now perform a subset decode.
998 SkIRect subset = SkIRect::MakeWH(100, 100);
999 opts.fSubset = ⊂
1002 // Though we only have half the data, it is enough to decode this subset.
1006 // Perform another full image decode. ASAN will detect if we look at the subset when it is
1009 // used to look at the old subset.
1022 SkIRect subset = SkIRect::MakeWH(subsetWidth, subsetHeight);
1023 opts.fSubset = ⊂
1628 sk_sp<SkData> subset = SkData::MakeSubset(data.get(), 0, truncatedSize);
1629 std::unique_ptr<SkCodec> codec = SkCodec::MakeFromData(std::move(subset));