/external/skqp/bench/ |
ImageFilterDAGBench.cpp | 65 SkIRect subset = SkIRect::MakeSize(fImage->dimensions()); variable 77 image = image->makeWithFilter(mergeFilter.get(), subset, subset, &discardSubset,
|
/external/skia/src/codec/ |
SkAndroidCodec.cpp | 316 SkISize SkAndroidCodec::getSampledSubsetDimensions(int sampleSize, const SkIRect& subset) const { 321 // We require that the input subset is a subset that is supported by SkAndroidCodec. 323 // are made to the subset. 324 SkIRect copySubset = subset; 325 if (!this->getSupportedSubset(©Subset) || copySubset != subset) { 329 // If the subset is the entire image, for consistency, use getSampledDimensions(). 330 if (fInfo.dimensions() == subset.size()) { 336 return {get_scaled_dimension(subset.width(), sampleSize), 337 get_scaled_dimension(subset.height(), sampleSize)} [all...] |
/external/skia/src/image/ |
SkImage_Raster.cpp | 237 sk_sp<SkImage> SkImage_Raster::onMakeSubset(GrRecordingContext*, const SkIRect& subset) const { 238 SkImageInfo info = fBitmap.info().makeWH(subset.width(), subset.height()); 245 void* src = fBitmap.getAddr(subset.x(), subset.y()); 252 subset.height());
|
SkSurface_Base.h | 41 * If a subset is specified, the the impl must make a copy, rather than try to wait 44 virtual sk_sp<SkImage> onNewImageSnapshot(const SkIRect* subset = nullptr) { return nullptr; }
|
SkSurface_Gpu.h | 31 sk_sp<SkImage> onNewImageSnapshot(const SkIRect* subset) override;
|
/external/skqp/src/codec/ |
SkAndroidCodec.cpp | 320 SkISize SkAndroidCodec::getSampledSubsetDimensions(int sampleSize, const SkIRect& subset) const { 325 // We require that the input subset is a subset that is supported by SkAndroidCodec. 327 // are made to the subset. 328 SkIRect copySubset = subset; 329 if (!this->getSupportedSubset(©Subset) || copySubset != subset) { 333 // If the subset is the entire image, for consistency, use getSampledDimensions(). 334 if (fInfo.dimensions() == subset.size()) { 340 return {get_scaled_dimension(subset.width(), sampleSize), 341 get_scaled_dimension(subset.height(), sampleSize)} [all...] |
/external/skqp/src/image/ |
SkImage_Raster.cpp | 234 sk_sp<SkImage> SkImage_Raster::onMakeSubset(const SkIRect& subset) const { 235 SkImageInfo info = fBitmap.info().makeWH(subset.width(), subset.height()); 242 void* src = fBitmap.getAddr(subset.x(), subset.y()); 249 subset.height());
|
SkSurface_Base.h | 41 * If a subset is specified, the the impl must make a copy, rather than try to wait 44 virtual sk_sp<SkImage> onNewImageSnapshot(const SkIRect* subset = nullptr) { return nullptr; }
|
SkSurface_Gpu.h | 31 sk_sp<SkImage> onNewImageSnapshot(const SkIRect* subset) override;
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
image.py | 176 subset: Subset of data (`"training"` or `"validation"`) if 200 subset=None, 225 subset=subset, 256 subset: Subset of data (`"training"` or `"validation"`) if 270 subset=None, 290 subset=subset, [all...] |
/external/skia/gm/ |
imagemasksubset.cpp | 68 // Checks whether subset SkImages preserve the original color type (A8 in this case). 79 sk_sp<SkImage> subset = image->makeSubset(kSubset); local 80 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
|
drawbitmaprect.cpp | 103 SkBitmap subset; local 104 if (bm.extractSubset(&subset, srcR)) { 105 canvas->drawBitmapRect(subset, dstR, paint); 121 if (sk_sp<SkImage> subset = image->makeSubset(srcR)) { 122 canvas->drawImageRect(subset, dstR, paint); 238 DEF_GM( return new DrawBitmapRectGM(bitmapsubsetproc, "-subset"); ) 240 DEF_GM( return new DrawBitmapRectGM(imagesubsetproc , "-imagerect-subset"); )
|
/external/skia/src/gpu/ |
GrBitmapTextureMaker.cpp | 28 SkIRect subset = SkIRect::MakeXYWH(origin.fX, origin.fY, bitmap.width(), local 30 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
|
/external/skia/src/pdf/ |
SkPDFShader.cpp | 171 SkIRect subset = SkIRect::MakeXYWH(0, 0, 1, bitmap.height()); local 174 SkAssertResult(bitmap.extractSubset(&left, subset)); 191 subset.offset(bitmap.width() - 1, 0); 192 SkAssertResult(bitmap.extractSubset(&right, subset)); 210 SkIRect subset = SkIRect::MakeXYWH(0, 0, bitmap.width(), 1); local 213 SkAssertResult(bitmap.extractSubset(&top, subset)); 230 subset.offset(0, bitmap.height() - 1); 231 SkAssertResult(bitmap.extractSubset(&bottom, subset));
|
/external/skqp/gm/ |
imagemasksubset.cpp | 68 // Checks whether subset SkImages preserve the original color type (A8 in this case). 79 sk_sp<SkImage> subset = image->makeSubset(kSubset); local 80 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
|
drawbitmaprect.cpp | 103 SkBitmap subset; local 104 if (bm.extractSubset(&subset, srcR)) { 105 canvas->drawBitmapRect(subset, dstR, paint); 121 if (sk_sp<SkImage> subset = image->makeSubset(srcR)) { 122 canvas->drawImageRect(subset, dstR, paint); 238 DEF_GM( return new DrawBitmapRectGM(bitmapsubsetproc, "-subset"); ) 240 DEF_GM( return new DrawBitmapRectGM(imagesubsetproc , "-imagerect-subset"); )
|
/external/skqp/src/gpu/ |
GrBitmapTextureMaker.cpp | 27 SkIRect subset = SkIRect::MakeXYWH(origin.fX, origin.fY, bitmap.width(), local 29 GrMakeKeyFromImageID(&fOriginalKey, bitmap.pixelRef()->getGenerationID(), subset);
|
/external/skqp/src/pdf/ |
SkPDFShader.cpp | 171 SkIRect subset = SkIRect::MakeXYWH(0, 0, 1, bitmap.height()); local 174 SkAssertResult(bitmap.extractSubset(&left, subset)); 191 subset.offset(bitmap.width() - 1, 0); 192 SkAssertResult(bitmap.extractSubset(&right, subset)); 210 SkIRect subset = SkIRect::MakeXYWH(0, 0, bitmap.width(), 1); local 213 SkAssertResult(bitmap.extractSubset(&top, subset)); 230 subset.offset(0, bitmap.height() - 1); 231 SkAssertResult(bitmap.extractSubset(&bottom, subset));
|
/external/skia/src/core/ |
SkBitmapCache.h | 28 SkIRect fSubset; // always set to a valid rect (entire or subset) 37 static SkBitmapCacheDesc Make(uint32_t genID, const SkIRect& subset);
|
SkPixmap.cpp | 62 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { 65 if (!r.intersect(srcRect, subset)) { 152 bool SkPixmap::erase(SkColor color, const SkIRect& subset) const { 153 return this->erase(SkColor4f::FromColor(color), &subset); 156 bool SkPixmap::erase(const SkColor4f& color, const SkIRect* subset) const { 162 if (subset && !clip.intersect(*subset)) {
|
/external/skqp/src/core/ |
SkBitmapCache.h | 28 SkIRect fSubset; // always set to a valid rect (entire or subset) 37 static SkBitmapCacheDesc Make(uint32_t genID, const SkIRect& subset);
|
SkPixmap.cpp | 62 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { 65 if (!r.intersect(srcRect, subset)) { 151 bool SkPixmap::erase(SkColor color, const SkIRect& subset) const { 152 return this->erase(SkColor4f::FromColor(color), &subset); 155 bool SkPixmap::erase(const SkColor4f& color, const SkIRect* subset) const { 161 if (subset && !clip.intersect(*subset)) {
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
PathDescription.java | 266 TreeSet<String> subset = new TreeSet<String>(); local 267 subset.add(attribute); 268 attributeList.add(subset); 270 Set<String> subset = attributeList.get(i); local 271 subset.add(attribute);
|
/external/skia/include/core/ |
SkImage.h | 151 subset allows selecting a portion of the full image. Pass nullptr to select the entire 152 image; otherwise, subset must be contained by image bounds. 160 @param subset bounds of returned SkImage; may be nullptr 164 const SkIRect* subset = nullptr); 167 subset allows selecting a portion of the full image. Pass nullptr to select the entire 168 image; otherwise, subset must be contained by image bounds. 174 @param subset bounds of returned SkImage; may be nullptr 177 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr); [all...] |
/external/skqp/include/core/ |
SkImage.h | 151 subset allows selecting a portion of the full image. Pass nullptr to select the entire 152 image; otherwise, subset must be contained by image bounds. 160 @param subset bounds of returned SkImage; may be nullptr 164 const SkIRect* subset = nullptr); 167 subset allows selecting a portion of the full image. Pass nullptr to select the entire 168 image; otherwise, subset must be contained by image bounds. 174 @param subset bounds of returned SkImage; may be nullptr 177 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr); [all...] |