/external/skia/src/core/ |
D | SkBitmapCache.h | 28 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()
|
D | SkSpecialSurface.h | 37 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
|
D | SkSpecialImage.h | 55 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
|
D | SkSpecialSurface.cpp | 47 , fSubset(subset) { in SkSpecialSurface() 48 SkASSERT(fSubset.width() > 0); in SkSpecialSurface() 49 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
|
/external/skqp/src/core/ |
D | SkBitmapCache.h | 28 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()
|
D | SkSpecialSurface.h | 37 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
|
D | SkSpecialImage.h | 51 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
|
D | SkSpecialSurface.cpp | 46 , fSubset(subset) { in SkSpecialSurface() 47 SkASSERT(fSubset.width() > 0); in SkSpecialSurface() 48 SkASSERT(fSubset.height() > 0); in SkSpecialSurface()
|
/external/skqp/src/codec/ |
D | SkSampledCodec.cpp | 80 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()
|
D | SkCodec.cpp | 243 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 …]
|
D | SkJpegCodec.cpp | 515 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 …]
|
D | SkAndroidCodecAdapter.cpp | 28 codecOptions.fSubset = options.fSubset; in onGetAndroidPixels()
|
/external/skia/src/pdf/ |
D | SkBitmapKey.h | 13 SkIRect fSubset; member 16 return fID == rhs.fID && fSubset == rhs.fSubset;
|
/external/skqp/src/pdf/ |
D | SkBitmapKey.h | 13 SkIRect fSubset; member 16 return fID == rhs.fID && fSubset == rhs.fSubset;
|
D | SkKeyedImage.cpp | 38 img.fKey = {subset.makeOffset(fKey.fSubset.x(), fKey.fSubset.y()), fKey.fID}; in subset()
|
/external/skia/src/codec/ |
D | SkSampledCodec.cpp | 76 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 = ⊂ in sampledDecode()
|
D | SkJpegCodec.cpp | 465 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 …]
|
D | SkCodec.cpp | 301 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 …]
|
D | SkAndroidCodec.cpp | 339 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/ |
D | SubsetPath.cpp | 14 , 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/ |
D | SubsetPath.cpp | 13 , 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/ |
D | BitmapRegionDecoderBench.cpp | 19 , fSubset(subset) in BitmapRegionDecoderBench() 47 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
|
/external/skia/bench/ |
D | BitmapRegionDecoderBench.cpp | 21 , fSubset(subset) in BitmapRegionDecoderBench() 49 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, ct, false, cs)); in onDraw()
|
/external/skia/src/gpu/effects/ |
D | GrTextureEffect.cpp | 680 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/ |
D | SkAndroidCodec.h | 194 , fSubset(nullptr) in AndroidOptions() 215 SkIRect* fSubset; member
|