Home
last modified time | relevance | path

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

/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp61 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset,
392 SkIRect srcBounds, SkIRect dstBounds) { in copy_image_with_bounds() argument
406 srcBounds.offset(-dstBounds.x(), -dstBounds.y()); in copy_image_with_bounds()
407 dstBounds.offset(-dstBounds.x(), -dstBounds.y()); in copy_image_with_bounds()
410 dstW = dstBounds.width(), in copy_image_with_bounds()
411 dstH = dstBounds.height(); in copy_image_with_bounds()
441 for (;x < dstBounds.right(); x++) { in copy_image_with_bounds()
446 for (;y < dstBounds.bottom(); y++) { in copy_image_with_bounds()
450 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(dstBounds.width(), in copy_image_with_bounds()
451 dstBounds.height()), in copy_image_with_bounds()
[all …]
DSkMatrixConvolutionImageFilter.cpp317 SkIRect dstBounds; in onFilterImage() local
318 input = this->applyCropRectAndPad(this->mapContext(ctx), input.get(), &inputOffset, &dstBounds); in onFilterImage()
326 SkIRect srcBounds = this->onFilterNodeBounds(dstBounds, ctx.ctm(), kReverse_MapDirection, in onFilterImage()
333 if (!srcBounds.intersect(dstBounds)) { in onFilterImage()
353 offset->fX = dstBounds.left(); in onFilterImage()
354 offset->fY = dstBounds.top(); in onFilterImage()
355 dstBounds.offset(-inputOffset); in onFilterImage()
371 return DrawWithFP(context, std::move(fp), dstBounds, ctx.outputProperties()); in onFilterImage()
393 const SkImageInfo info = SkImageInfo::MakeN32(dstBounds.width(), dstBounds.height(), in onFilterImage()
401 offset->fX = dstBounds.fLeft; in onFilterImage()
[all …]
/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp61 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset,
392 SkIRect srcBounds, SkIRect dstBounds) { in copy_image_with_bounds() argument
406 srcBounds.offset(-dstBounds.x(), -dstBounds.y()); in copy_image_with_bounds()
407 dstBounds.offset(-dstBounds.x(), -dstBounds.y()); in copy_image_with_bounds()
410 dstW = dstBounds.width(), in copy_image_with_bounds()
411 dstH = dstBounds.height(); in copy_image_with_bounds()
441 for (;x < dstBounds.right(); x++) { in copy_image_with_bounds()
446 for (;y < dstBounds.bottom(); y++) { in copy_image_with_bounds()
450 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(dstBounds.width(), in copy_image_with_bounds()
451 dstBounds.height()), in copy_image_with_bounds()
[all …]
DSkMatrixConvolutionImageFilter.cpp317 SkIRect dstBounds; in onFilterImage() local
318 input = this->applyCropRectAndPad(this->mapContext(ctx), input.get(), &inputOffset, &dstBounds); in onFilterImage()
326 SkIRect srcBounds = this->onFilterNodeBounds(dstBounds, ctx.ctm(), kReverse_MapDirection, in onFilterImage()
333 if (!srcBounds.intersect(dstBounds)) { in onFilterImage()
353 offset->fX = dstBounds.left(); in onFilterImage()
354 offset->fY = dstBounds.top(); in onFilterImage()
355 dstBounds.offset(-inputOffset); in onFilterImage()
371 return DrawWithFP(context, std::move(fp), dstBounds, ctx.outputProperties()); in onFilterImage()
393 const SkImageInfo info = SkImageInfo::MakeN32(dstBounds.width(), dstBounds.height(), in onFilterImage()
401 offset->fX = dstBounds.fLeft; in onFilterImage()
[all …]
/external/skia/src/core/
DSkMatrixImageFilter.cpp72 SkIRect dstBounds; in onFilterImage() local
73 dstRect.roundOut(&dstBounds); in onFilterImage()
75 sk_sp<SkSpecialSurface> surf(input->makeSurface(ctx.outputProperties(), dstBounds.size())); in onFilterImage()
85 canvas->translate(-SkIntToScalar(dstBounds.x()), -SkIntToScalar(dstBounds.y())); in onFilterImage()
95 offset->fX = dstBounds.fLeft; in onFilterImage()
96 offset->fY = dstBounds.fTop; in onFilterImage()
DSkGpuBlurUtils.cpp457 const SkIRect& dstBounds, in GaussianBlur() argument
472 const SkImageInfo finalDestII = SkImageInfo::Make(dstBounds.width(), dstBounds.height(), in GaussianBlur()
482 SkIPoint srcOffset = SkIPoint::Make(-dstBounds.x(), -dstBounds.y()); in GaussianBlur()
DSkGpuBlurUtils.h42 const SkIRect& dstBounds,
DSkImageFilter.cpp306 SkIRect* dstBounds) const { in applyCropRect()
308 fCropRect.applyTo(tmpDst, ctx.ctm(), this->affectsTransparentBlack(), dstBounds); in applyCropRect()
314 return dstBounds->intersect(ctx.clipBounds()); in applyCropRect()
DSkDraw.cpp1065 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap() argument
1122 if (dstBounds) { in drawBitmap()
1123 this->drawRect(srcBounds, paintWithShader, &prematrix, dstBounds); in drawBitmap()
/external/skqp/src/core/
DSkMatrixImageFilter.cpp72 SkIRect dstBounds; in onFilterImage() local
73 dstRect.roundOut(&dstBounds); in onFilterImage()
75 sk_sp<SkSpecialSurface> surf(input->makeSurface(ctx.outputProperties(), dstBounds.size())); in onFilterImage()
85 canvas->translate(-SkIntToScalar(dstBounds.x()), -SkIntToScalar(dstBounds.y())); in onFilterImage()
95 offset->fX = dstBounds.fLeft; in onFilterImage()
96 offset->fY = dstBounds.fTop; in onFilterImage()
DSkGpuBlurUtils.cpp455 const SkIRect& dstBounds, in GaussianBlur() argument
470 const SkImageInfo finalDestII = SkImageInfo::Make(dstBounds.width(), dstBounds.height(), in GaussianBlur()
480 SkIPoint srcOffset = SkIPoint::Make(-dstBounds.x(), -dstBounds.y()); in GaussianBlur()
DSkGpuBlurUtils.h42 const SkIRect& dstBounds,
DSkImageFilter.cpp303 SkIRect* dstBounds) const { in applyCropRect()
305 fCropRect.applyTo(tmpDst, ctx.ctm(), this->affectsTransparentBlack(), dstBounds); in applyCropRect()
311 return dstBounds->intersect(ctx.clipBounds()); in applyCropRect()
DSkDraw.cpp1065 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap() argument
1122 if (dstBounds) { in drawBitmap()
1123 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/skqp/src/gpu/vk/
DGrVkGpu.cpp2201 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds, in adjust_bounds_to_granularity() argument
2210 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity()
2211 if (dstBounds->fRight > maxWidth) { in adjust_bounds_to_granularity()
2212 dstBounds->fRight = maxWidth; in adjust_bounds_to_granularity()
2213 dstBounds->fLeft = 0; in adjust_bounds_to_granularity()
2215 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
2218 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity()
2219 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity()
2229 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity()
2230 if (dstBounds->fBottom > maxHeight) { in adjust_bounds_to_granularity()
[all …]
/external/skia/src/gpu/vk/
DGrVkGpu.cpp2249 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds, in adjust_bounds_to_granularity() argument
2258 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity()
2259 if (dstBounds->fRight > maxWidth) { in adjust_bounds_to_granularity()
2260 dstBounds->fRight = maxWidth; in adjust_bounds_to_granularity()
2261 dstBounds->fLeft = 0; in adjust_bounds_to_granularity()
2263 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
2266 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity()
2267 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity()
2277 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity()
2278 if (dstBounds->fBottom > maxHeight) { in adjust_bounds_to_granularity()
[all …]
/external/skqp/include/core/
DSkImageFilter.h405 bool applyCropRect(const Context&, const SkIRect& srcBounds, SkIRect* dstBounds) const;
/external/skia/include/core/
DSkImageFilter.h405 bool applyCropRect(const Context&, const SkIRect& srcBounds, SkIRect* dstBounds) const;