Lines Matching defs:subset
29 // requested subset, not by the size of the intersection of the subset
39 SkIRect subset = desiredSubset;
40 SubsetType type = adjust_subset_rect(fCodec->getInfo().dimensions(), &subset, &outX, &outY);
45 // Ask the codec for a scaled subset
46 if (!fCodec->getSupportedSubset(&subset)) {
47 SkCodecPrintf("Error: Could not get subset.\n");
50 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset);
68 // We need to be safe here because getSupportedSubset() may have modified the subset.
69 const int extraX = SkTMax(0, desiredSubset.width() - outX - subset.width());
70 const int extraY = SkTMax(0, desiredSubset.height() - outY - subset.height());
106 options.fSubset = ⊂