Home | History | Annotate | Download | only in codec

Lines Matching refs:subset

320 SkISize SkAndroidCodec::getSampledSubsetDimensions(int sampleSize, const SkIRect& subset) const {
325 // We require that the input subset is a subset that is supported by SkAndroidCodec.
327 // are made to the subset.
328 SkIRect copySubset = subset;
329 if (!this->getSupportedSubset(&copySubset) || copySubset != subset) {
333 // If the subset is the entire image, for consistency, use getSampledDimensions().
334 if (fInfo.dimensions() == subset.size()) {
340 return {get_scaled_dimension(subset.width(), sampleSize),
341 get_scaled_dimension(subset.height(), sampleSize)};
381 // The caller wants the whole thing, rather than a subset. Modify
383 // a subset.