Home | History | Annotate | Download | only in codec

Lines Matching full:samplesize

21     int sampleSize = *sampleSizePtr;
22 SkASSERT(sampleSize > 1);
31 switch (sampleSize) {
37 return this->codec()->getScaledDimensions(get_scale_from_sample_size(sampleSize));
42 // Check if sampleSize is a multiple of something libjpeg can support.
47 SkTDivMod(sampleSize, supportedSampleSize, &actualSampleSize, &remainder);
67 SkISize SkSampledCodec::onGetSampledDimensions(int sampleSize) const {
68 const SkISize size = this->accountForNativeScaling(&sampleSize);
69 return SkISize::Make(get_scaled_dimension(size.width(), sampleSize),
70 get_scaled_dimension(size.height(), sampleSize));
91 int sampleSize = options.fSampleSize;
92 SkISize scaledSize = this->getSampledDimensions(sampleSize);
99 int scaledSubsetX = subset->x() / sampleSize;
100 int scaledSubsetY = subset->y() / sampleSize;
148 int sampleSize = options.fSampleSize;
150 SkISize nativeSize = this->accountForNativeScaling(&sampleSize, &nativeSampleSize);
165 // due to being smaller than the sampleSize.
190 // Since we guarantee that output dimensions are always at least one (even if the sampleSize
191 // is greater than a given dimension), the input sampleSize is not always the sampleSize that