/external/skia/src/core/ |
H A D | SkGpuBlurUtils.h | 30 * @param srcBounds The source bounds, relative to the source texture. If non-null, 43 const SkIRect& srcBounds,
|
H A D | SkGpuBlurUtils.cpp | 101 const SkIRect& srcBounds, 111 std::move(proxy), srcBounds, size, 1.0, 0.0, kernelOffset, 126 const SkIRect& srcBounds, 137 SkIRect midRect = srcBounds, leftRect, rightRect; 141 bounds[0] = srcBounds.left(); 142 bounds[1] = srcBounds.right(); 152 bounds[0] = srcBounds.top(); 153 bounds[1] = srcBounds.bottom(); 172 // Blur radius covers srcBounds; use bounds over entire draw 193 const SkIRect& srcBounds, 92 convolve_gaussian_2d(GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkIRect& dstRect, const SkIPoint& srcOffset, sk_sp<GrTextureProxy> proxy, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, const SkIRect& srcBounds, GrTextureDomain::Mode mode) argument 119 convolve_gaussian(GrRenderTargetContext* renderTargetContext, const GrClip& clip, const SkIRect& srcRect, sk_sp<GrTextureProxy> proxy, Gr1DKernelEffect::Direction direction, int radius, float sigma, const SkIRect& srcBounds, const SkIPoint& srcOffset, GrTextureDomain::Mode mode) argument 189 GaussianBlur(GrContext* context, sk_sp<GrTextureProxy> srcProxy, sk_sp<SkColorSpace> colorSpace, const SkIRect& dstBounds, const SkIRect& srcBounds, float sigmaX, float sigmaY, GrTextureDomain::Mode mode, SkBackingFit fit) argument [all...] |
H A D | SkOpts.h | 29 typedef void (*BoxBlur)(const SkPMColor*, int, const SkIRect& srcBounds, SkPMColor*, int, int, int, int, int);
|
H A D | SkMatrixImageFilter.cpp | 65 const SkIRect srcBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), local 67 const SkRect srcRect = SkRect::Make(srcBounds);
|
H A D | SkImageFilter.cpp | 350 bool SkImageFilter::applyCropRect(const Context& ctx, const SkIRect& srcBounds, argument 352 SkIRect temp = this->onFilterNodeBounds(srcBounds, ctx.ctm(), kForward_MapDirection); 433 const SkIRect srcBounds = SkIRect::MakeXYWH(srcOffset->x(), srcOffset->y(), local 436 SkIRect dstBounds = this->onFilterNodeBounds(srcBounds, ctx.ctm(), kForward_MapDirection); 442 if (srcBounds.contains(*bounds)) {
|
H A D | SkBitmapDevice.cpp | 451 const SkIRect srcBounds = srcImage->bounds().makeOffset(x, y); local 454 if (!maskBounds.intersect(clipBounds.roundOut()) || !maskBounds.intersect(srcBounds)) { 471 if (!srcBounds.contains(clipBounds)) { 472 autoClipRestore.init(this, srcBounds);
|
H A D | SkDraw.cpp | 1278 const SkRect srcBounds = SkRect::MakeIWH(bitmap.width(), bitmap.height()); local 1280 this->drawRect(srcBounds, paintWithShader, &prematrix, dstBounds); 1282 draw.drawRect(srcBounds, paintWithShader);
|
/external/skia/src/gpu/ |
H A D | SkGpuDevice_drawTexture.cpp | 105 const SkRect srcBounds = SkRect::MakeIWH(producer->width(), producer->height()); local 109 dstRect = &srcBounds; 111 if (!srcBounds.contains(*srcRect)) { 113 if (!clippedSrcRect.intersect(srcBounds)) { 128 clippedSrcRect = srcBounds; 131 if (!srcToDstMatrix.setRectToRect(srcBounds, *dstRect, SkMatrix::kFill_ScaleToFit)) { 135 clippedDstRect = srcBounds;
|
/external/skia/src/opts/ |
H A D | SkBlurImageFilter_opts.h | 87 static int box_blur_double(const SkPMColor** src, int srcStride, const SkIRect& srcBounds, argument 103 int left = srcBounds.left(); 104 int right = srcBounds.right(); 105 int top = srcBounds.top(); 106 int bottom = srcBounds.bottom(); 188 top = box_blur_double<srcDirection, dstDirection>(&src, srcStride, srcBounds, &dst, \ 219 static void box_blur(const SkPMColor* src, int srcStride, const SkIRect& srcBounds, SkPMColor* dst, argument 221 int left = srcBounds.left(); 222 int right = srcBounds.right(); 223 int top = srcBounds [all...] |
/external/skia/src/effects/ |
H A D | SkLightingImageFilter.cpp | 291 SkIRect srcBounds = src.bounds(); local 296 m[4] = PixelFetcher::Fetch(src, x, y, srcBounds); 297 m[5] = PixelFetcher::Fetch(src, x + 1, y, srcBounds); 298 m[7] = PixelFetcher::Fetch(src, x, y + 1, srcBounds); 299 m[8] = PixelFetcher::Fetch(src, x + 1, y + 1, srcBounds); 306 m[5] = PixelFetcher::Fetch(src, x + 1, y, srcBounds); 307 m[8] = PixelFetcher::Fetch(src, x + 1, y + 1, srcBounds); 321 m[1] = PixelFetcher::Fetch(src, x, y - 1, srcBounds); 322 m[2] = PixelFetcher::Fetch(src, x + 1, y - 1, srcBounds); 323 m[4] = PixelFetcher::Fetch(src, x, y, srcBounds); 435 drawRect(GrRenderTargetContext* renderTargetContext, sk_sp<GrTextureProxy> srcProxy, const SkMatrix& matrix, const GrClip& clip, const SkRect& dstRect, BoundaryMode boundaryMode, const SkIRect* srcBounds, const SkIRect& bounds) const argument 625 Make(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 664 Make(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1362 makeFragmentProcessor( sk_sp<GrTextureProxy> proxy, const SkMatrix& matrix, const SkIRect* srcBounds, BoundaryMode boundaryMode) const argument 1519 makeFragmentProcessor( sk_sp<GrTextureProxy> proxy, const SkMatrix& matrix, const SkIRect* srcBounds, BoundaryMode boundaryMode) const argument 1671 create_domain(GrTextureProxy* proxy, const SkIRect* srcBounds, GrTextureDomain::Mode mode) argument 1681 GrLightingEffect(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1710 GrDiffuseLightingEffect(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar kd, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1775 SkIRect srcBounds = SkIRect::MakeXYWH(d->fRandom->nextRangeU(0, proxy->width()), local 1950 GrSpecularLightingEffect(sk_sp<GrTextureProxy> proxy, const SkImageFilterLight* light, SkScalar surfaceScale, const SkMatrix& matrix, SkScalar ks, SkScalar shininess, BoundaryMode boundaryMode, const SkIRect* srcBounds) argument 1997 SkIRect srcBounds = SkIRect::MakeXYWH(d->fRandom->nextRangeU(0, proxy->width()), local [all...] |
H A D | SkOffsetImageFilter.cpp | 46 SkIRect srcBounds = SkIRect::MakeWH(input->width(), input->height()); local 47 srcBounds.offset(srcOffset); 48 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
|
H A D | SkPaintImageFilter.cpp | 42 const SkIRect srcBounds = SkIRect::MakeWH(source->width(), source->height()); local 43 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
|
H A D | SkXfermodeImageFilter.cpp | 123 SkIRect srcBounds = SkIRect::EmptyIRect(); local 125 srcBounds = SkIRect::MakeXYWH(backgroundOffset.x(), backgroundOffset.y(), 129 srcBounds.join(foregroundBounds); 130 if (srcBounds.isEmpty()) { 135 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
|
H A D | SkMorphologyImageFilter.cpp | 558 SkIRect srcBounds = bounds; local 559 srcBounds.offset(-inputOffset); 564 return input->makeSubset(srcBounds); 579 sk_sp<SkSpecialImage> result(apply_morphology(context, input.get(), srcBounds, type, 624 call_proc_X(procX, inputBM, &tmp, width, srcBounds); 625 SkIRect tmpBounds = SkIRect::MakeWH(srcBounds.width(), srcBounds.height()); 630 call_proc_X(procX, inputBM, &dst, width, srcBounds); 633 inputBM.getAddr32(srcBounds.left(), srcBounds [all...] |
H A D | SkArithmeticImageFilter.cpp | 156 SkIRect srcBounds = SkIRect::EmptyIRect(); local 158 srcBounds = SkIRect::MakeXYWH(backgroundOffset.x(), backgroundOffset.y(), 162 srcBounds.join(foregroundBounds); 163 if (srcBounds.isEmpty()) { 168 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
|
H A D | SkDisplacementMapEffect.cpp | 250 const SkIRect srcBounds = SkIRect::MakeXYWH(colorOffset.x(), colorOffset.y(), local 256 if (!this->applyCropRect(ctx, srcBounds, &bounds)) {
|
/external/dng_sdk/source/ |
H A D | dng_resample.cpp | 510 const dng_rect &srcBounds, 533 const dng_rect &srcBounds, 540 , fSrcBounds (srcBounds) 545 , fRowScale ((srcBounds.H () != 0) ? dstBounds.H () / (real64) srcBounds.H () : 0) 546 , fColScale ((srcBounds.W () != 0) ? dstBounds.W () / (real64) srcBounds.W () : 0) 832 const dng_rect &srcBounds, 839 srcBounds, 531 dng_resample_task(const dng_image &srcImage, dng_image &dstImage, const dng_rect &srcBounds, const dng_rect &dstBounds, const dng_resample_function &kernel) 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) argument
|
H A D | dng_resample.h | 285 const dng_rect &srcBounds,
|
H A D | dng_render.cpp | 1269 dng_rect srcBounds = fNegative.DefaultCropArea (); local 1302 if (srcBounds.Size () != dstSize) 1312 srcBounds, 1318 srcBounds = tempImage->Bounds (); 1324 AutoPtr<dng_image> dstImage (fHost.Make_dng_image (srcBounds.Size (), 1332 srcBounds.TL ());
|
/external/skia/src/gpu/ops/ |
H A D | GrOp.h | 179 void setTransformedBounds(const SkRect& srcBounds, const SkMatrix& m, argument 181 m.mapRect(&fBounds, srcBounds);
|
/external/skia/src/gpu/vk/ |
H A D | GrVkGpu.cpp | 1911 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds, argument 1916 int rightAdj = srcBounds.fRight % granularity.width; 1920 dstBounds->fRight = srcBounds.fRight + rightAdj; 1925 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; 1928 dstBounds->fLeft = srcBounds.fLeft; 1929 dstBounds->fRight = srcBounds.fRight; 1935 int bottomAdj = srcBounds.fBottom % granularity.height; 1939 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; 1944 dstBounds->fTop = srcBounds [all...] |
/external/skia/include/core/ |
H A D | SkImageFilter.h | 362 /** Given a "srcBounds" rect, computes destination bounds for this filter. 365 * the context's clip bounds. "srcBounds" (if non-null) are computed by 370 bool applyCropRect(const Context&, const SkIRect& srcBounds, SkIRect* dstBounds) const;
|
/external/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 2257 SkRect srcBounds = src ? *src : bitmapBounds; local 2258 SkMatrix matrix = SkMatrix::MakeRectToRect(srcBounds, dst, SkMatrix::kFill_ScaleToFit); 2263 if (!srcBounds.intersect(bitmapBounds)) { 2266 matrix.mapRect(&actualDst, srcBounds);
|