Home
last modified time | relevance | path

Searched refs:fSubset (Results 1 – 25 of 72) sorted by relevance

123

/external/skia/src/core/
DSkBitmapCache.h28 SkIRect fSubset; // always set to a valid rect (entire or subset) member
32 SkASSERT(fSubset.fLeft >= 0 && fSubset.fTop >= 0); in validate()
33 SkASSERT(fSubset.width() > 0 && fSubset.height() > 0); in validate()
DSkSpecialSurface.h37 int width() const { return fSubset.width(); } in width()
38 int height() const { return fSubset.height(); } in height()
89 const SkIRect& subset() const { return fSubset; } in subset()
93 const SkIRect fSubset; variable
DSkSpecialImage.h55 int width() const { return fSubset.width(); } in width()
56 int height() const { return fSubset.height(); } in height()
57 const SkIRect& subset() const { return fSubset; } in subset()
163 const SkIRect fSubset; variable
DSkSpecialSurface.cpp47 , fSubset(subset) { in SkSpecialSurface()
48 SkASSERT(fSubset.width() > 0); in SkSpecialSurface()
49 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
/external/skqp/src/core/
DSkBitmapCache.h28 SkIRect fSubset; // always set to a valid rect (entire or subset) member
32 SkASSERT(fSubset.fLeft >= 0 && fSubset.fTop >= 0); in validate()
33 SkASSERT(fSubset.width() > 0 && fSubset.height() > 0); in validate()
DSkSpecialSurface.h37 int width() const { return fSubset.width(); } in width()
38 int height() const { return fSubset.height(); } in height()
92 const SkIRect& subset() const { return fSubset; } in subset()
96 const SkIRect fSubset; variable
DSkSpecialImage.h51 int width() const { return fSubset.width(); } in width()
52 int height() const { return fSubset.height(); } in height()
53 const SkIRect& subset() const { return fSubset; } in subset()
155 const SkIRect fSubset; variable
DSkSpecialSurface.cpp46 , fSubset(subset) { in SkSpecialSurface()
47 SkASSERT(fSubset.width() > 0); in SkSpecialSurface()
48 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
/external/skqp/src/codec/
DSkSampledCodec.cpp80 SkIRect* subset = options.fSubset; in onGetAndroidPixels()
112 codecOptions.fSubset = &incrementalSubset; in onGetAndroidPixels()
138 codecOptions.fSubset = &scanlineSubset; in onGetAndroidPixels()
184 if (options.fSubset) { in sampledDecode()
188 const SkIRect* subsetPtr = options.fSubset; in sampledDecode()
201 sampledOptions.fSubset = ⊂ in sampledDecode()
222 if (sampledOptions.fSubset) { in sampledDecode()
225 incrementalSubset.fLeft = sampledOptions.fSubset->fLeft; in sampledDecode()
226 incrementalSubset.fRight = sampledOptions.fSubset->fRight; in sampledDecode()
227 incrementalOptions.fSubset = &incrementalSubset; in sampledDecode()
DSkCodec.cpp243 if (options.fSubset) { in handleFrameIndex()
334 if (options->fSubset) { in getPixels()
335 SkIRect subset(*options->fSubset); in getPixels()
336 if (!this->onGetValidSubset(&subset) || subset != *options->fSubset) { in getPixels()
375 fOptions.fSubset = nullptr; in getPixels()
412 if (options->fSubset) { in startIncrementalDecode()
414 if (!size.contains(*options->fSubset)) { in startIncrementalDecode()
418 const int top = options->fSubset->top(); in startIncrementalDecode()
419 const int bottom = options->fSubset->bottom(); in startIncrementalDecode()
474 } else if (options->fSubset) { in startScanlineDecode()
[all …]
DSkJpegCodec.cpp515 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows()
579 if (options.fSubset) { in onGetPixels()
645 if (options.fSubset) { in initializeSwizzler()
649 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && in initializeSwizzler()
650 fSwizzlerSubset.width() == options.fSubset->width()); in initializeSwizzler()
651 swizzlerOptions.fSubset = &fSwizzlerSubset; in initializeSwizzler()
720 if (options.fSubset) { in onStartScanlineDecode()
721 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode()
722 uint32_t width = options.fSubset->width(); in onStartScanlineDecode()
731 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode()
[all …]
DSkAndroidCodecAdapter.cpp28 codecOptions.fSubset = options.fSubset; in onGetAndroidPixels()
/external/skia/src/pdf/
DSkBitmapKey.h13 SkIRect fSubset; member
16 return fID == rhs.fID && fSubset == rhs.fSubset;
/external/skqp/src/pdf/
DSkBitmapKey.h13 SkIRect fSubset; member
16 return fID == rhs.fID && fSubset == rhs.fSubset;
DSkKeyedImage.cpp38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset()
/external/skia/src/codec/
DSkSampledCodec.cpp76 const SkIRect* subset = options.fSubset; in onGetAndroidPixels()
110 subsetOptions.fSubset = &incrementalSubset; in onGetAndroidPixels()
136 subsetOptions.fSubset = &scanlineSubset; in onGetAndroidPixels()
178 if (options.fSubset) { in sampledDecode()
182 const SkIRect* subsetPtr = options.fSubset; in sampledDecode()
215 if (options.fSubset) { in sampledDecode()
220 incrementalOptions.fSubset = &incrementalSubset; in sampledDecode()
260 if (options.fSubset) { in sampledDecode()
261 sampledOptions.fSubset = &subset; in sampledDecode()
DSkJpegCodec.cpp465 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows()
529 if (options.fSubset) { in onGetPixels()
600 if (options.fSubset) { in initializeSwizzler()
604 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && in initializeSwizzler()
605 fSwizzlerSubset.width() == options.fSubset->width()); in initializeSwizzler()
606 swizzlerOptions.fSubset = &fSwizzlerSubset; in initializeSwizzler()
677 if (options.fSubset) { in onStartScanlineDecode()
678 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode()
679 uint32_t width = options.fSubset->width(); in onStartScanlineDecode()
688 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode()
[all …]
DSkCodec.cpp301 if (options.fSubset) { in handleFrameIndex()
392 if (options->fSubset) { in getPixels()
393 SkIRect subset(*options->fSubset); in getPixels()
394 if (!this->onGetValidSubset(&subset) || subset != *options->fSubset) { in getPixels()
433 fOptions.fSubset = nullptr; in getPixels()
481 if (options->fSubset) { in startIncrementalDecode()
483 if (!size.contains(*options->fSubset)) { in startIncrementalDecode()
487 const int top = options->fSubset->top(); in startIncrementalDecode()
488 const int bottom = options->fSubset->bottom(); in startIncrementalDecode()
534 } else if (options->fSubset) { in startScanlineDecode()
[all …]
DSkAndroidCodec.cpp339 if (options->fSubset) { in getAndroidPixels()
340 if (!is_valid_subset(*options->fSubset, fCodec->dimensions())) { in getAndroidPixels()
344 if (SkIRect::MakeSize(fCodec->dimensions()) == *options->fSubset) { in getAndroidPixels()
349 defaultOptions.fSubset = nullptr; in getAndroidPixels()
/external/skia/tests/
DSubsetPath.cpp14 , fSubset(1) { in SubsetPath()
18 int leadingZero = SkCLZ(fSubset); in range()
20 int partIndex = fSubset - parts; in range()
38 ++fSubset; in subset()
/external/skqp/tests/
DSubsetPath.cpp13 , fSubset(1) { in SubsetPath()
17 int leadingZero = SkCLZ(fSubset); in range()
19 int partIndex = fSubset - parts; in range()
37 ++fSubset; in subset()
/external/skqp/bench/
DBitmapRegionDecoderBench.cpp19 , fSubset(subset) in BitmapRegionDecoderBench()
47 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
/external/skia/bench/
DBitmapRegionDecoderBench.cpp21 , fSubset(subset) in BitmapRegionDecoderBench()
49 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
/external/skia/src/gpu/effects/
DGrTextureEffect.cpp680 const auto& s = te.fSubset; in onSetData()
743 if (fSubset != that.fSubset) { in onIsEqual()
765 , fSubset(sampling.fShaderSubset) in GrTextureEffect()
770 SkASSERT(fShaderModes[0] != ShaderMode::kNone || (fSubset.fLeft == 0 && fSubset.fRight == 0));
771 SkASSERT(fShaderModes[1] != ShaderMode::kNone || (fSubset.fTop == 0 && fSubset.fBottom == 0));
780 , fSubset(src.fSubset) in GrTextureEffect()
/external/skqp/include/codec/
DSkAndroidCodec.h194 , fSubset(nullptr) in AndroidOptions()
215 SkIRect* fSubset; member

123