Home
last modified time | relevance | path

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

/third_party/flutter/skia/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.cpp385 int subsetWidth = frameRect.width(); in onGetPixels() local
411 subsetWidth = intersection.width(); in onGetPixels()
417 config.options.crop_width = subsetWidth; in onGetPixels()
422 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()
/third_party/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()
/third_party/flutter/skia/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()
/third_party/skia/dm/
DDMSrcSink.cpp270 uint32_t subsetWidth = width / divisor; in draw() local
272 const int left = x * subsetWidth; in draw()
277 subsetWidth += (x + 1 == divisor) ? (width % divisor) : 0; in draw()
283 const uint32_t decodeWidth = subsetWidth + unscaledBorder * 2; in draw()
295 (SkScalar) (subsetWidth / fSampleSize), in draw()
299 (SkScalar) (subsetWidth / fSampleSize), in draw()
/third_party/flutter/skia/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()
/third_party/skia/tests/
DCodecTest.cpp1070 const int subsetWidth = codec->getInfo().width() / 2; in check_color_xform() local
1072 SkIRect subset = SkIRect::MakeWH(subsetWidth, subsetHeight); in check_color_xform()
1075 const int dstWidth = subsetWidth / opts.fSampleSize; in check_color_xform()