Home
last modified time | relevance | path

Searched refs:nativeSampleSize (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/codec/
DSkSampledCodec.cpp19 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()
[all …]
DSkSampledCodec.h46 SkISize accountForNativeScaling(int* sampleSize, int* nativeSampleSize = nullptr) const;