/third_party/skia/src/effects/imagefilters/ |
H A D | SkBlurImageFilter.cpp | 60 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, SkIPoint* offset) const; 692 SkIRect srcBounds, SkIRect dstBounds) { in copy_image_with_bounds() 706 srcBounds.offset(-dstBounds.x(), -dstBounds.y()); in copy_image_with_bounds() 707 dstBounds.offset(-dstBounds.x(), -dstBounds.y()); in copy_image_with_bounds() 710 dstW = dstBounds.width(), in copy_image_with_bounds() 711 dstH = dstBounds.height(); in copy_image_with_bounds() 721 // dstBounds in copy_image_with_bounds() 690 copy_image_with_bounds( const SkImageFilter_Base::Context& ctx, const sk_sp<SkSpecialImage> &input, SkIRect srcBounds, SkIRect dstBounds) copy_image_with_bounds() argument 756 cpu_blur( const SkImageFilter_Base::Context& ctx, SkVector sigma, const sk_sp<SkSpecialImage> &input, SkIRect srcBounds, SkIRect dstBounds) cpu_blur() argument 911 SkIRect dstBounds; onFilterImage() local 960 gpuFilter( const Context& ctx, SkVector sigma, const sk_sp<SkSpecialImage> &input, SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, SkIPoint* offset) const gpuFilter() argument [all...] |
H A D | SkMatrixConvolutionImageFilter.cpp | 339 SkIRect dstBounds; in onFilterImage() local 340 input = this->applyCropRectAndPad(this->mapContext(ctx), input.get(), &inputOffset, &dstBounds); in onFilterImage() 348 SkIRect srcBounds = this->onFilterNodeBounds(dstBounds, ctx.ctm(), kReverse_MapDirection, in onFilterImage() 355 if (!srcBounds.intersect(dstBounds)) { in onFilterImage() 376 offset->fX = dstBounds.left(); in onFilterImage() 377 offset->fY = dstBounds.top(); in onFilterImage() 378 dstBounds.offset(-inputOffset); in onFilterImage() 402 // Must also map the dstBounds since it is used as the src rect in DrawWithFP when in onFilterImage() 403 // evaluating the FP, and the dst rect just uses the size of dstBounds. in onFilterImage() 404 dstBounds in onFilterImage() [all...] |
H A D | SkImageImageFilter.cpp | 105 const SkRect dstBounds = ctx.ctm().mapRect(fDstRect); in onFilterImage() local 106 const SkIRect dstIBounds = dstBounds.roundOut(); in onFilterImage() 119 const bool passthroughDstOffsets = SkScalarIsInt(dstBounds.fLeft) && in onFilterImage() 120 SkScalarIsInt(dstBounds.fTop); in onFilterImage() 122 SkScalarIsInt(fSrcRect.width()) && fSrcRect.width() == dstBounds.width() && in onFilterImage() 123 SkScalarIsInt(fSrcRect.height()) && fSrcRect.height() == dstBounds.height(); in onFilterImage()
|
/third_party/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 103 const SkIRect& dstBounds, in convolve_gaussian_2d() 117 rContext, srcColorType, std::move(finalCS), dstFit, dstBounds.size(), SkSurfaceProps(), in convolve_gaussian_2d() 141 // 'dstBounds' is actually in 'srcView' proxy space. It represents the blurred area from src in convolve_gaussian_2d() 145 SkRect::Make(dstBounds.size()), SkRect::Make(dstBounds)); in convolve_gaussian_2d() 156 SkIRect dstBounds, in convolve_gaussian() 166 // and then capturing the 'dstBounds' portion in a new RTC where the top left of 'dstBounds' is in convolve_gaussian() 172 rContext, srcColorType, std::move(finalCS), fit, dstBounds.size(), SkSurfaceProps(), 1, in convolve_gaussian() 178 auto rtcToSrcOffset = dstBounds in convolve_gaussian() 98 convolve_gaussian_2d( GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, const SkIRect& srcBounds, const SkIRect& dstBounds, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, SkTileMode mode, sk_sp<SkColorSpace> finalCS, SkBackingFit dstFit) convolve_gaussian_2d() argument 150 convolve_gaussian( GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, SkIRect srcBounds, SkIRect dstBounds, Direction direction, int radius, float sigma, SkTileMode mode, sk_sp<SkColorSpace> finalCS, SkBackingFit fit) convolve_gaussian() argument 342 two_pass_gaussian( GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, sk_sp<SkColorSpace> colorSpace, SkIRect srcBounds, SkIRect dstBounds, float sigmaX, float sigmaY, int radiusX, int radiusY, SkTileMode mode, SkBackingFit fit) two_pass_gaussian() argument 454 GaussianBlur(GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, sk_sp<SkColorSpace> colorSpace, SkIRect dstBounds, SkIRect srcBounds, float sigmaX, float sigmaY, SkTileMode mode, SkBackingFit fit) GaussianBlur() argument [all...] |
H A D | SkMatrixImageFilter.cpp | 87 SkIRect dstBounds; in onFilterImage() local 88 dstRect.roundOut(&dstBounds); in onFilterImage() 90 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(dstBounds.size())); in onFilterImage() 100 canvas->translate(-SkIntToScalar(dstBounds.x()), -SkIntToScalar(dstBounds.y())); in onFilterImage() 109 offset->fX = dstBounds.fLeft; in onFilterImage() 110 offset->fY = dstBounds.fTop; in onFilterImage()
|
H A D | SkSDFFilter.cpp | 123 GrSurfaceProxyView srcView, GrColorType srcColorType, const SkIRect& srcBounds, const SkIRect& dstBounds, in sdf_2d() 128 rContext, srcColorType, std::move(finalCS), dstFit, dstBounds.size(), SkSurfaceProps(), in sdf_2d() 152 sk_sp<SkColorSpace> colorSpace, SkIRect dstBounds, SkIRect srcBounds, float noxFormedSigma, in SDFBlur() 163 if (dstBounds.width() > maxRenderTargetSize || dstBounds.height() > maxRenderTargetSize) { in SDFBlur() 167 return sdf_2d(rContext, std::move(srcView), srcColorType, srcBounds, dstBounds, noxFormedSigma, mode, in SDFBlur() 122 sdf_2d(GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, const SkIRect& srcBounds, const SkIRect& dstBounds, float noxFormedSigma, SkTileMode mode, sk_sp<SkColorSpace> finalCS, SkBackingFit dstFit, const SkMatrix& viewMatrix, const SkRRect& srcRRect) sdf_2d() argument 150 SDFBlur(GrRecordingContext* rContext, GrSurfaceProxyView srcView, GrColorType srcColorType, SkAlphaType srcAlphaType, sk_sp<SkColorSpace> colorSpace, SkIRect dstBounds, SkIRect srcBounds, float noxFormedSigma, SkTileMode mode, const SkMatrix& viewMatrix, const SkRRect& srcRRect, SkBackingFit fit) SDFBlur() argument
|
H A D | SkSDFFilter.h | 51 sk_sp<SkColorSpace> colorSpace, SkIRect dstBounds, SkIRect srcBounds, float noxFormedSigma,
|
H A D | SkGpuBlurUtils.h | 42 * @param dstBounds The destination bounds, relative to the source texture. 57 SkIRect dstBounds,
|
H A D | SkImageFilter.cpp | 379 SkIRect* dstBounds) const { in applyCropRect() 381 fCropRect.applyTo(tmpDst, ctx.ctm(), this->onAffectsTransparentBlack(), dstBounds); in applyCropRect() 387 return dstBounds->intersect(ctx.clipBounds()); in applyCropRect()
|
H A D | SkImageFilter_Base.h | 268 * "dstBounds" are computed by transforming the crop rect by the context's 271 * intersecting the initial bounds with "dstBounds", to ensure that we never 279 bool applyCropRect(const Context&, const SkIRect& srcBounds, SkIRect* dstBounds) const;
|
H A D | SkDraw.cpp | 1065 const SkRect* dstBounds, const SkSamplingOptions& sampling, in drawBitmap() 1124 if (dstBounds) { in drawBitmap() 1125 this->drawRect(srcBounds, paintWithShader, &prematrix, dstBounds); in drawBitmap() 1064 drawBitmap(const SkBitmap& bitmap, const SkMatrix& prematrix, const SkRect* dstBounds, const SkSamplingOptions& sampling, const SkPaint& origPaint) const drawBitmap() argument
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkOpsRenderPass.cpp | 134 void adjust_bounds_to_granularity(SkIRect* dstBounds, in adjust_bounds_to_granularity() argument 146 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity() 147 if (dstBounds->fRight > maxWidth) { in adjust_bounds_to_granularity() 148 dstBounds->fRight = maxWidth; in adjust_bounds_to_granularity() 149 dstBounds->fLeft = 0; in adjust_bounds_to_granularity() 151 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity() 154 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity() 155 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity() 165 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity() 166 if (dstBounds in adjust_bounds_to_granularity() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_resample.cpp | 511 const dng_rect &dstBounds, 534 const dng_rect &dstBounds, in dng_resample_task() 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() 840 dstBounds, in ResampleImage() 844 dstBounds); in ResampleImage() 531 dng_resample_task(const dng_image &srcImage, dng_image &dstImage, const dng_rect &srcBounds, const dng_rect &dstBounds, const dng_resample_function &kernel) dng_resample_task() argument 829 ResampleImage(dng_host &host, const dng_image &srcImage, dng_image &dstImage, const dng_rect &srcBounds, const dng_rect &dstBounds, const dng_resample_function &kernel) ResampleImage() argument
|
H A D | dng_resample.h | 286 const dng_rect &dstBounds,
|