Home
last modified time | relevance | path

Searched refs:dstBounds (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/effects/
DSkBlurImageFilter.cpp87 SkIRect dstBounds; in onFilterImageDeprecated() local
88 if (!this->applyCropRect(this->mapContext(ctx), srcBounds, &dstBounds)) { in onFilterImageDeprecated()
91 if (!srcBounds.intersect(dstBounds)) { in onFilterImageDeprecated()
118 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(dstBounds.width(), dstBounds.height())); in onFilterImageDeprecated()
132 offset->fX = dstBounds.fLeft; in onFilterImageDeprecated()
133 offset->fY = dstBounds.fTop; in onFilterImageDeprecated()
136 int w = dstBounds.width(), h = dstBounds.height(); in onFilterImageDeprecated()
138 srcBounds.offset(-dstBounds.x(), -dstBounds.y()); in onFilterImageDeprecated()
139 dstBounds.offset(-dstBounds.x(), -dstBounds.y()); in onFilterImageDeprecated()
141 SkIRect dstBoundsT = SkIRect::MakeWH(dstBounds.height(), dstBounds.width()); in onFilterImageDeprecated()
[all …]
DSkGpuBlurUtils.cpp167 const SkRect& dstBounds, in GaussianBlur() argument
179 SkPoint srcOffset = SkPoint::Make(-dstBounds.x(), -dstBounds.y()); in GaussianBlur()
180 SkRect localDstBounds = SkRect::MakeWH(dstBounds.width(), dstBounds.height()); in GaussianBlur()
205 desc.fWidth = SkScalarFloorToInt(dstBounds.width()); in GaussianBlur()
206 desc.fHeight = SkScalarFloorToInt(dstBounds.height()); in GaussianBlur()
DSkGpuBlurUtils.h40 const SkRect& dstBounds,
/external/skia/src/core/
DSkMatrixImageFilter.cpp61 SkIRect srcBounds, dstBounds; in onFilterImageDeprecated() local
72 dstRect.roundOut(&dstBounds); in onFilterImageDeprecated()
74 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(dstBounds.width(), dstBounds.height())); in onFilterImageDeprecated()
80 canvas.translate(-SkIntToScalar(dstBounds.x()), -SkIntToScalar(dstBounds.y())); in onFilterImageDeprecated()
89 offset->fX = dstBounds.fLeft; in onFilterImageDeprecated()
90 offset->fY = dstBounds.fTop; in onFilterImageDeprecated()
DSkImageFilter.cpp381 SkIRect* dstBounds) const { in applyCropRect()
382 this->onFilterNodeBounds(srcBounds, ctx.ctm(), dstBounds, kForward_MapDirection); in applyCropRect()
383 fCropRect.applyTo(*dstBounds, ctx.ctm(), dstBounds); in applyCropRect()
389 return dstBounds->intersect(ctx.clipBounds()); in applyCropRect()
398 SkIRect dstBounds; in applyCropRectDeprecated() local
399 this->onFilterNodeBounds(srcBounds, ctx.ctm(), &dstBounds, kForward_MapDirection); in applyCropRectDeprecated()
400 fCropRect.applyTo(dstBounds, ctx.ctm(), bounds); in applyCropRectDeprecated()
DSkDraw.cpp1268 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap() argument
1325 if (dstBounds) { in drawBitmap()
1326 this->drawRect(srcBounds, paintWithShader, &prematrix, dstBounds); in drawBitmap()
/external/dng_sdk/source/
Ddng_resample.cpp511 const dng_rect &dstBounds,
534 const dng_rect &dstBounds, in dng_resample_task() argument
541 , fDstBounds (dstBounds) in dng_resample_task()
545 , fRowScale ((srcBounds.H () != 0) ? dstBounds.H () / (real64) srcBounds.H () : 0) in dng_resample_task()
546 , fColScale ((srcBounds.W () != 0) ? dstBounds.W () / (real64) srcBounds.W () : 0) in dng_resample_task()
833 const dng_rect &dstBounds, in ResampleImage() argument
840 dstBounds, in ResampleImage()
844 dstBounds); in ResampleImage()
Ddng_resample.h286 const dng_rect &dstBounds,
/external/skia/include/core/
DSkImageFilter.h406 bool applyCropRect(const Context&, const SkIRect& srcBounds, SkIRect* dstBounds) const;