/external/skia/src/pdf/ |
D | SkBitmapKey.h | 15 SkIRect fSubset; member 18 return fID == rhs.fID && fSubset == rhs.fSubset; 31 fSubset = {0, 0, 0, 0}; in fImage() 37 fSubset = fImage->bounds(); in fImage() 39 SkASSERT(!fSubset.isEmpty()); in fImage() 41 fSubset = subset; in fImage() 42 if (!fSubset.intersect(fImage->bounds())) { in fImage() 44 fSubset = {0, 0, 0, 0}; in fImage() 56 SkISize dimensions() const { return fSubset.size(); } in dimensions() 59 return fSubset == fImage->bounds() ? fImage : fImage->makeSubset(fSubset); in makeImage() [all …]
|
/external/skia/src/codec/ |
D | SkCodec.cpp | 202 } else if (options->fSubset) { in getPixels() 203 SkIRect subset(*options->fSubset); in getPixels() 204 if (!this->onGetValidSubset(&subset) || subset != *options->fSubset) { in getPixels() 241 fOptions.fSubset = nullptr; in getPixels() 280 } else if (options->fSubset) { in startIncrementalDecode() 282 if (!size.contains(*options->fSubset)) { in startIncrementalDecode() 286 const int top = options->fSubset->top(); in startIncrementalDecode() 287 const int bottom = options->fSubset->bottom(); in startIncrementalDecode() 333 } else if (options->fSubset) { in startScanlineDecode() 335 if (!size.contains(*options->fSubset)) { in startScanlineDecode() [all …]
|
D | SkWebpAdapterCodec.cpp | 31 if (!options.fSubset) { in onGetAndroidPixels() 34 supportedSize = this->getSampledSubsetDimensions(options.fSampleSize, *options.fSubset); in onGetAndroidPixels() 42 codecOptions.fSubset = options.fSubset; in onGetAndroidPixels()
|
D | SkSampledCodec.cpp | 80 SkIRect* subset = options.fSubset; in onGetAndroidPixels() 113 codecOptions.fSubset = &incrementalSubset; in onGetAndroidPixels() 140 codecOptions.fSubset = &scanlineSubset; in onGetAndroidPixels() 187 if (options.fSubset) { in sampledDecode() 191 const SkIRect* subsetPtr = options.fSubset; in sampledDecode() 204 sampledOptions.fSubset = ⊂ in sampledDecode() 225 if (sampledOptions.fSubset) { in sampledDecode() 228 incrementalSubset.fLeft = sampledOptions.fSubset->fLeft; in sampledDecode() 229 incrementalSubset.fRight = sampledOptions.fSubset->fRight; in sampledDecode() 230 incrementalOptions.fSubset = &incrementalSubset; in sampledDecode()
|
D | SkJpegCodec.cpp | 504 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); in readRows() 571 if (options.fSubset) { in onGetPixels() 652 if (options.fSubset) { in initializeSwizzler() 656 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && in initializeSwizzler() 657 fSwizzlerSubset.width() == options.fSubset->width()); in initializeSwizzler() 658 swizzlerOptions.fSubset = &fSwizzlerSubset; in initializeSwizzler() 709 if (options.fSubset) { in onStartScanlineDecode() 710 uint32_t startX = options.fSubset->x(); in onStartScanlineDecode() 711 uint32_t width = options.fSubset->width(); in onStartScanlineDecode() 720 SkASSERT(startX <= (uint32_t) options.fSubset->x()); in onStartScanlineDecode() [all …]
|
D | SkRawAdapterCodec.cpp | 26 codecOptions.fSubset = options.fSubset; in onGetAndroidPixels()
|
D | SkAndroidCodec.cpp | 267 } else if (options->fSubset) { in getAndroidPixels() 268 if (!is_valid_subset(*options->fSubset, fInfo.dimensions())) { in getAndroidPixels() 272 if (SkIRect::MakeSize(fInfo.dimensions()) == *options->fSubset) { in getAndroidPixels() 277 defaultOptions.fSubset = nullptr; in getAndroidPixels()
|
D | SkWebpCodec.cpp | 231 if (options.fSubset) { in onGetPixels() 232 SkIRect subset = *options.fSubset; in onGetPixels() 235 SkASSERT(this->getValidSubset(&subset) && subset == *options.fSubset); in onGetPixels() 268 SkISize srcSize = options.fSubset ? options.fSubset->size() : this->getInfo().dimensions(); in onGetPixels()
|
D | SkWbmpCodec.cpp | 127 if (options.fSubset) { in onGetPixels() 193 if (options.fSubset) { in onStartScanlineDecode()
|
D | SkPngCodec.cpp | 1021 if (skipFormatConversion && !options.fSubset) { in initializeXforms() 1124 if (options.fSubset) { in onGetPixels() 1145 if (options.fSubset) { in onStartIncrementalDecode() 1146 firstRow = options.fSubset->top(); in onStartIncrementalDecode() 1147 lastRow = options.fSubset->bottom() - 1; in onStartIncrementalDecode()
|
D | SkBmpMaskCodec.cpp | 33 if (opts.fSubset) { in onGetPixels()
|
D | SkBmpRLECodec.cpp | 40 if (opts.fSubset) { in onGetPixels() 246 if (options.fSubset) { in onPrepareToDecode()
|
D | SkMaskSwizzler.cpp | 524 if (options.fSubset) { in CreateMaskSwizzler() 525 srcOffset = options.fSubset->left(); in CreateMaskSwizzler() 526 srcWidth = options.fSubset->width(); in CreateMaskSwizzler()
|
/external/skia/src/core/ |
D | SkBitmapCache.h | 25 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 | 36 int width() const { return fSubset.width(); } in width() 37 int height() const { return fSubset.height(); } in height() 89 const SkIRect& subset() const { return fSubset; } in subset() 93 const SkIRect fSubset; variable
|
D | SkBitmapCache.cpp | 107 fDesc.fSubset.x(), fDesc.fSubset.y(), fDesc.fSubset.width(), fDesc.fSubset.height()); in dump() 175 , fSubset(subset) in MipMapKey() 180 sizeof(fImageID) + sizeof(fColorMode) + sizeof(fSubset)); in MipMapKey() 185 SkIRect fSubset; member 233 MipMapKey key(desc.fImageID, desc.fSubset, colorMode); in FindAndRef()
|
D | SkSpecialImage.h | 53 int width() const { return fSubset.width(); } in width() 54 int height() const { return fSubset.height(); } in height() 55 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/skia/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()
|
D | SubsetPath.h | 47 int fSubset; variable
|
/external/skia/bench/ |
D | BitmapRegionDecoderBench.cpp | 19 , fSubset(subset) in BitmapRegionDecoderBench() 45 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, fColorType, false)); in onDraw()
|
D | BitmapRegionDecoderBench.h | 42 const SkIRect fSubset; variable
|
/external/skia/include/codec/ |
D | SkAndroidCodec.h | 156 , fSubset(nullptr) in AndroidOptions() 179 SkIRect* fSubset; member
|
D | SkCodec.h | 249 , fSubset(nullptr) in Options() 273 const SkIRect* fSubset; member
|
/external/skia/src/android/ |
D | SkBitmapRegionCodec.cpp | 114 options.fSubset = ⊂ in decodeRegion()
|