Lines Matching refs:nativeSampleSize
19 SkISize SkSampledCodec::accountForNativeScaling(int* sampleSizePtr, int* nativeSampleSize) const { in accountForNativeScaling()
24 if (nativeSampleSize) { in accountForNativeScaling()
25 *nativeSampleSize = 1; in accountForNativeScaling()
56 if (nativeSampleSize) { in accountForNativeScaling()
57 *nativeSampleSize = supportedSampleSize; in accountForNativeScaling()
177 int nativeSampleSize; in sampledDecode() local
178 SkISize nativeSize = this->accountForNativeScaling(&sampleSize, &nativeSampleSize); in sampledDecode()
194 const int subsetX = subsetPtr->x() / nativeSampleSize; in sampledDecode()
195 subsetY = subsetPtr->y() / nativeSampleSize; in sampledDecode()
197 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize); in sampledDecode()
198 subsetHeight = get_scaled_dimension(subsetPtr->height(), nativeSampleSize); in sampledDecode()