Searched refs:nativeSampleSize (Results 1 – 4 of 4) sorted by relevance
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()170 int nativeSampleSize; in sampledDecode() local171 SkISize nativeSize = this->accountForNativeScaling(&sampleSize, &nativeSampleSize); in sampledDecode()187 const int subsetX = subsetPtr->x() / nativeSampleSize; in sampledDecode()188 subsetY = subsetPtr->y() / nativeSampleSize; in sampledDecode()190 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize); in sampledDecode()[all …]
45 SkISize accountForNativeScaling(int* sampleSize, int* nativeSampleSize = nullptr) const;
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() local177 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()[all …]