Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkSampledCodec.cpp176 int subsetWidth = nativeSize.width(); in sampledDecode() local
190 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize); in sampledDecode()
194 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height()); in sampledDecode()
200 const int sampleX = subsetWidth / info.width(); in sampledDecode()
DSkMaskSwizzler.h57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
DSkWebpCodec.cpp380 int subsetWidth = frameRect.width(); in onGetPixels() local
406 subsetWidth = intersection.width(); in onGetPixels()
412 config.options.crop_width = subsetWidth; in onGetPixels()
417 int scaledWidth = subsetWidth; in onGetPixels()
DSkMaskSwizzler.cpp537 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) in SkMaskSwizzler() argument
540 , fSubsetWidth(subsetWidth) in SkMaskSwizzler()
541 , fDstWidth(subsetWidth) in SkMaskSwizzler()
/external/skqp/src/codec/
DSkSampledCodec.cpp182 int subsetWidth = nativeSize.width(); in sampledDecode() local
196 subsetWidth = get_scaled_dimension(subsetPtr->width(), nativeSampleSize); in sampledDecode()
200 subset.setXYWH(subsetX, 0, subsetWidth, nativeSize.height()); in sampledDecode()
207 const int sampleX = subsetWidth / info.width(); in sampledDecode()
DSkMaskSwizzler.h57 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
DSkWebpCodec.cpp400 int subsetWidth = frameRect.width(); in onGetPixels() local
426 subsetWidth = intersection.width(); in onGetPixels()
432 config.options.crop_width = subsetWidth; in onGetPixels()
437 int scaledWidth = subsetWidth; in onGetPixels()
DSkMaskSwizzler.cpp537 SkMaskSwizzler::SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) in SkMaskSwizzler() argument
540 , fSubsetWidth(subsetWidth) in SkMaskSwizzler()
541 , fDstWidth(subsetWidth) in SkMaskSwizzler()
/external/skia/dm/
DDMSrcSink.cpp258 uint32_t subsetWidth = width / divisor; in draw() local
260 const int left = x * subsetWidth; in draw()
265 subsetWidth += (x + 1 == divisor) ? (width % divisor) : 0; in draw()
271 const uint32_t decodeWidth = subsetWidth + unscaledBorder * 2; in draw()
283 (SkScalar) (subsetWidth / fSampleSize), in draw()
287 (SkScalar) (subsetWidth / fSampleSize), in draw()
/external/skqp/dm/
DDMSrcSink.cpp224 uint32_t subsetWidth = width / divisor; in draw() local
226 const int left = x * subsetWidth; in draw()
231 subsetWidth += (x + 1 == divisor) ? (width % divisor) : 0; in draw()
237 const uint32_t decodeWidth = subsetWidth + unscaledBorder * 2; in draw()
249 (SkScalar) (subsetWidth / fSampleSize), in draw()
253 (SkScalar) (subsetWidth / fSampleSize), in draw()
/external/skqp/tests/
DCodecTest.cpp1020 const int subsetWidth = codec->getInfo().width() / 2; in check_color_xform() local
1022 SkIRect subset = SkIRect::MakeWH(subsetWidth, subsetHeight); in check_color_xform()
1025 const int dstWidth = subsetWidth / opts.fSampleSize; in check_color_xform()
/external/skia/tests/
DCodecTest.cpp1027 const int subsetWidth = codec->getInfo().width() / 2; in check_color_xform() local
1029 SkIRect subset = SkIRect::MakeWH(subsetWidth, subsetHeight); in check_color_xform()
1032 const int dstWidth = subsetWidth / opts.fSampleSize; in check_color_xform()