Lines Matching refs:nativeSampleSize
20 SkISize SkSampledCodec::accountForNativeScaling(int* sampleSizePtr, int* nativeSampleSize) const { in accountForNativeScaling()
25 if (nativeSampleSize) { in accountForNativeScaling()
26 *nativeSampleSize = 1; in accountForNativeScaling()
57 if (nativeSampleSize) { in accountForNativeScaling()
58 *nativeSampleSize = supportedSampleSize; in accountForNativeScaling()
176 int nativeSampleSize; in sampledDecode() local
177 SkISize nativeSize = this->accountForNativeScaling(&sampleSize, &nativeSampleSize); in sampledDecode()
193 const int subsetX = subsetPtr->x() / nativeSampleSize; in sampledDecode()
194 subsetY = subsetPtr->y() / nativeSampleSize; in sampledDecode()
196 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize); in sampledDecode()
197 subsetHeight = get_scaled_dimension(subsetPtr->height(), nativeSampleSize); in sampledDecode()