Searched refs:nativeSampleSize (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/codec/
H A DSkSampledCodec.h41 * @param nativeSampleSize Optional output parameter. Will be set to the
45 SkISize accountForNativeScaling(int* sampleSize, int* nativeSampleSize = nullptr) const;
H A DSkSampledCodec.cpp19 SkISize SkSampledCodec::accountForNativeScaling(int* sampleSizePtr, int* nativeSampleSize) const {
24 if (nativeSampleSize) {
25 *nativeSampleSize = 1;
56 if (nativeSampleSize) {
57 *nativeSampleSize = supportedSampleSize;
177 int nativeSampleSize; local
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);
[all...]
/external/skqp/src/codec/
H A DSkSampledCodec.h41 * @param nativeSampleSize Optional output parameter. Will be set to the
45 SkISize accountForNativeScaling(int* sampleSize, int* nativeSampleSize = nullptr) const;
H A DSkSampledCodec.cpp19 SkISize SkSampledCodec::accountForNativeScaling(int* sampleSizePtr, int* nativeSampleSize) const {
24 if (nativeSampleSize) {
25 *nativeSampleSize = 1;
56 if (nativeSampleSize) {
57 *nativeSampleSize = supportedSampleSize;
177 int nativeSampleSize; local
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);
[all...]

Completed in 791 milliseconds