/external/skia/src/pdf/ |
H A D | SkBitmapKey.h | 15 SkIRect fSubset; member in struct:SkBitmapKey 18 return fID == rhs.fID && fSubset == rhs.fSubset; 31 fSubset = {0, 0, 0, 0}; 37 fSubset = fImage->bounds(); 39 SkASSERT(!fSubset.isEmpty()); 41 fSubset = subset; 42 if (!fSubset.intersect(fImage->bounds())) { 44 fSubset = {0, 0, 0, 0}; 56 SkISize dimensions() const { return fSubset 72 SkIRect fSubset; member in class:SkImageSubset [all...] |
/external/skia/src/codec/ |
H A D | SkWebpAdapterCodec.cpp | 31 if (!options.fSubset) { 34 supportedSize = this->getSampledSubsetDimensions(options.fSampleSize, *options.fSubset); 42 codecOptions.fSubset = options.fSubset;
|
H A D | SkRawAdapterCodec.cpp | 26 codecOptions.fSubset = options.fSubset;
|
H A D | SkCodec.cpp | 202 } else if (options->fSubset) { 203 SkIRect subset(*options->fSubset); 204 if (!this->onGetValidSubset(&subset) || subset != *options->fSubset) { 241 fOptions.fSubset = nullptr; 280 } else if (options->fSubset) { 282 if (!size.contains(*options->fSubset)) { 286 const int top = options->fSubset->top(); 287 const int bottom = options->fSubset->bottom(); 333 } else if (options->fSubset) { 335 if (!size.contains(*options->fSubset)) { [all...] |
H A D | SkSampledCodec.cpp | 80 SkIRect* subset = options.fSubset; 113 codecOptions.fSubset = &incrementalSubset; 133 // codecOptions.fSubset will be reset below, so it will not continue to 140 codecOptions.fSubset = &scanlineSubset; 187 if (options.fSubset) { 191 const SkIRect* subsetPtr = options.fSubset; 204 sampledOptions.fSubset = ⊂ 225 if (sampledOptions.fSubset) { 228 incrementalSubset.fLeft = sampledOptions.fSubset->fLeft; 229 incrementalSubset.fRight = sampledOptions.fSubset [all...] |
H A D | SkJpegCodec.cpp | 504 int dstWidth = opts.fSubset ? opts.fSubset->width() : dstInfo.width(); 571 if (options.fSubset) { 652 if (options.fSubset) { 656 SkASSERT(!fSwizzlerSubset.isEmpty() && fSwizzlerSubset.x() <= options.fSubset->x() && 657 fSwizzlerSubset.width() == options.fSubset->width()); 658 swizzlerOptions.fSubset = &fSwizzlerSubset; 709 if (options.fSubset) { 710 uint32_t startX = options.fSubset->x(); 711 uint32_t width = options.fSubset [all...] |
H A D | SkAndroidCodec.cpp | 267 } else if (options->fSubset) { 268 if (!is_valid_subset(*options->fSubset, fInfo.dimensions())) { 272 if (SkIRect::MakeSize(fInfo.dimensions()) == *options->fSubset) { 277 defaultOptions.fSubset = nullptr;
|
H A D | SkWebpCodec.cpp | 231 if (options.fSubset) { 232 SkIRect subset = *options.fSubset; 235 SkASSERT(this->getValidSubset(&subset) && subset == *options.fSubset); 268 SkISize srcSize = options.fSubset ? options.fSubset->size() : this->getInfo().dimensions();
|
H A D | SkBmpMaskCodec.cpp | 33 if (opts.fSubset) {
|
H A D | SkWbmpCodec.cpp | 127 if (options.fSubset) { 193 if (options.fSubset) {
|
H A D | SkPngCodec.cpp | 1021 if (skipFormatConversion && !options.fSubset) { 1124 if (options.fSubset) { 1145 if (options.fSubset) { 1146 firstRow = options.fSubset->top(); 1147 lastRow = options.fSubset->bottom() - 1;
|
H A D | SkBmpRLECodec.cpp | 40 if (opts.fSubset) { 246 if (options.fSubset) {
|
/external/skia/src/core/ |
H A D | SkSpecialSurface.h | 36 int width() const { return fSubset.width(); } 37 int height() const { return fSubset.height(); } 89 const SkIRect& subset() const { return fSubset; } 93 const SkIRect fSubset; member in class:SkSpecialSurface
|
H A D | SkBitmapCache.h | 25 SkIRect fSubset; // always set to a valid rect (entire or subset) member in struct:SkBitmapCacheDesc 32 SkASSERT(fSubset.fLeft >= 0 && fSubset.fTop >= 0); 33 SkASSERT(fSubset.width() > 0 && fSubset.height() > 0);
|
H A D | SkSpecialImage.h | 53 int width() const { return fSubset.width(); } 54 int height() const { return fSubset.height(); } 55 const SkIRect& subset() const { return fSubset; } 155 const SkIRect fSubset; member in class:SkSpecialImage
|
H A D | SkBitmapCache.cpp | 107 fDesc.fSubset.x(), fDesc.fSubset.y(), fDesc.fSubset.width(), fDesc.fSubset.height()); 175 , fSubset(subset) 180 sizeof(fImageID) + sizeof(fColorMode) + sizeof(fSubset)); 185 SkIRect fSubset; member in struct:__anon16931::MipMapKey 233 MipMapKey key(desc.fImageID, desc.fSubset, colorMode);
|
H A D | SkSpecialSurface.cpp | 46 , fSubset(subset) { 47 SkASSERT(fSubset.width() > 0); 48 SkASSERT(fSubset.height() > 0);
|
/external/skia/bench/ |
H A D | BitmapRegionDecoderBench.cpp | 19 , fSubset(subset) 45 SkAssertResult(fBRD->decodeRegion(&bm, nullptr, fSubset, fSampleSize, fColorType, false));
|
H A D | BitmapRegionDecoderBench.h | 42 const SkIRect fSubset; member in class:BitmapRegionDecoderBench
|
/external/skia/tests/ |
H A D | SubsetPath.h | 47 int fSubset; member in class:SubsetPath
|
H A D | SubsetPath.cpp | 13 , fSubset(1) { 17 int leadingZero = SkCLZ(fSubset); 19 int partIndex = fSubset - parts; 37 ++fSubset; 39 // SkDebugf("%d s=%d e=%d t=%d\n", fSubset, start, end, fTries);
|
H A D | CodecTest.cpp | 136 options.fSubset = ⊂ 352 options.fSubset = ⊂ 380 opts.fSubset = ⊂ 1040 opts.fSubset = ⊂ 1051 opts.fSubset = nullptr; 1064 opts.fSubset = ⊂
|
/external/skia/include/codec/ |
H A D | SkAndroidCodec.h | 156 , fSubset(nullptr) 179 SkIRect* fSubset; member in struct:SkAndroidCodec::AndroidOptions 236 * using options->fSampleSize and options->fSubset. If NULL, the defaults (as specified above
|
H A D | SkCodec.h | 249 , fSubset(nullptr) 263 * exact rectangular subset specified by fSubset. 273 const SkIRect* fSubset; member in struct:SkCodec::Options
|
/external/skia/src/android/ |
H A D | SkBitmapRegionCodec.cpp | 114 options.fSubset = ⊂
|