Home
last modified time | relevance | path

Searched refs:subsetWidth (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/codec/
DSkSampledCodec.cpp155 int subsetWidth = nativeSize.width(); in sampledDecode() local
169 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize); in sampledDecode()
173 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height()); in sampledDecode()
193 const int sampleX = subsetWidth / info.width(); in sampledDecode()
DSkMaskSwizzler.h56 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
DSkMaskSwizzler.cpp330 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) in SkMaskSwizzler() argument
333 , fSubsetWidth(subsetWidth) in SkMaskSwizzler()
334 , fDstWidth(subsetWidth) in SkMaskSwizzler()
/external/skia/dm/
DDMSrcSink.cpp170 uint32_t subsetWidth = width / divisor; in draw() local
172 const int left = x * subsetWidth; in draw()
177 subsetWidth += (x + 1 == divisor) ? (width % divisor) : 0; in draw()
183 const uint32_t decodeWidth = subsetWidth + unscaledBorder * 2; in draw()
196 (SkScalar) (subsetWidth / fSampleSize), in draw()
200 (SkScalar) (subsetWidth / fSampleSize), in draw()
736 int subsetWidth = width / divisor; in draw() local
738 const int left = x * subsetWidth; in draw()
743 subsetWidth += (x + 1 == divisor) ? (width % divisor) : 0; in draw()
745 SkIRect subset = SkIRect::MakeXYWH(left, top, subsetWidth, subsetHeight); in draw()