Home | History | Annotate | Download | only in codec

Lines Matching refs:nativeSampleSize

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