Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkSampledCodec.cpp156 int subsetHeight = nativeSize.height(); in sampledDecode() local
170 subsetHeight = get_scaled_dimension(subsetPtr->height(), nativeSampleSize); in sampledDecode()
194 const int sampleY = subsetHeight / info.height(); in sampledDecode()
198 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) { in sampledDecode()
233 SkASSERT(0 == subsetY && nativeSize.height() == subsetHeight); in sampledDecode()
270 const int linesNeeded = subsetHeight - samplingOffsetY; in sampledDecode()
/external/skia/dm/
DDMSrcSink.cpp171 uint32_t subsetHeight = height / divisor; in draw() local
173 const int top = y * subsetHeight; in draw()
178 subsetHeight += (y + 1 == divisor) ? (height % divisor) : 0; in draw()
184 const uint32_t decodeHeight = subsetHeight + unscaledBorder * 2; in draw()
197 (SkScalar) (subsetHeight / fSampleSize)), in draw()
201 (SkScalar) (subsetHeight / fSampleSize)), in draw()
737 int subsetHeight = height / divisor; in draw() local
739 const int top = y * subsetHeight; in draw()
744 subsetHeight += (y + 1 == divisor) ? (height % divisor) : 0; in draw()
745 SkIRect subset = SkIRect::MakeXYWH(left, top, subsetWidth, subsetHeight); in draw()