Home
last modified time | relevance | path

Searched refs:inputBounds (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp57 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, SkIPoint* offset) const;
541 SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.fX, inputOffset.fY, in onFilterImage() local
546 if (!this->applyCropRect(this->mapContext(ctx), inputBounds, &dstBounds)) { in onFilterImage()
549 if (!inputBounds.intersect(dstBounds)) { in onFilterImage()
557 inputBounds.offset(-inputOffset); in onFilterImage()
572 result = this->gpuFilter(ctx, sigma, input, inputBounds, dstBounds, inputOffset, in onFilterImage()
594 result = cpu_blur(ctx, sigma, input, inputBounds, dstBounds); in onFilterImage()
606 const Context& ctx, SkVector sigma, const sk_sp<SkSpecialImage> &input, SkIRect inputBounds, in gpuFilter() argument
610 offset->fX = inputBounds.x() + inputOffset.fX; in gpuFilter()
611 offset->fY = inputBounds.y() + inputOffset.fY; in gpuFilter()
[all …]
DSkColorFilterImageFilter.cpp91 SkIRect inputBounds; in onFilterImage() local
94 inputBounds = ctx.clipBounds(); in onFilterImage()
98 inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage()
103 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkTileImageFilter.cpp118 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in onFilterImage() local
120 if (!SkIRect::Intersects(srcIRect, inputBounds)) { in onFilterImage()
126 if (inputBounds.contains(srcIRect)) { in onFilterImage()
DSkMergeImageFilter.cpp80 const SkIRect inputBounds = SkIRect::MakeXYWH(offsets[i].fX, offsets[i].fY, in onFilterImage() local
82 bounds.join(inputBounds); in onFilterImage()
DSkDropShadowImageFilter.cpp116 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
119 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkMagnifierImageFilter.cpp105 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
109 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkAlphaThresholdImageFilter.cpp137 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
141 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkLightingImageFilter.cpp499 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in filterImageGPU() local
510 const SkIRect* pSrcBounds = inputBounds.contains(offsetBounds) ? nullptr : &inputBounds; in filterImageGPU()
1255 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
1258 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
1390 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
1393 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp61 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset,
574 SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.fX, inputOffset.fY, in onFilterImage() local
579 if (!this->applyCropRect(this->mapContext(ctx), inputBounds, &dstBounds)) { in onFilterImage()
582 if (!inputBounds.intersect(dstBounds)) { in onFilterImage()
590 inputBounds.offset(-inputOffset); in onFilterImage()
605 result = this->gpuFilter(source, sigma, input, inputBounds, dstBounds, inputOffset, in onFilterImage()
610 result = cpu_blur(sigma, source, input, inputBounds, dstBounds); in onFilterImage()
623 SkIRect inputBounds, SkIRect dstBounds, SkIPoint inputOffset, in gpuFilter() argument
627 offset->fX = inputBounds.x() + inputOffset.fX; in gpuFilter()
628 offset->fY = inputBounds.y() + inputOffset.fY; in gpuFilter()
[all …]
DSkColorFilterImageFilter.cpp67 SkIRect inputBounds; in onFilterImage() local
70 inputBounds = ctx.clipBounds(); in onFilterImage()
74 inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage()
79 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkTileImageFilter.cpp68 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in onFilterImage() local
70 if (!SkIRect::Intersects(srcIRect, inputBounds)) { in onFilterImage()
76 if (inputBounds.contains(srcIRect)) { in onFilterImage()
DSkMergeImageFilter.cpp51 const SkIRect inputBounds = SkIRect::MakeXYWH(offsets[i].fX, offsets[i].fY, in onFilterImage() local
53 bounds.join(inputBounds); in onFilterImage()
DSkMagnifierImageFilter.cpp84 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
88 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkDropShadowImageFilter.cpp75 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
78 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkAlphaThresholdFilter.cpp154 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
158 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
DSkLightingImageFilter.cpp486 const SkIRect inputBounds = SkIRect::MakeWH(input->width(), input->height()); in filterImageGPU() local
497 const SkIRect* pSrcBounds = inputBounds.contains(offsetBounds) ? nullptr : &inputBounds; in filterImageGPU()
1301 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
1304 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()
1448 const SkIRect inputBounds = SkIRect::MakeXYWH(inputOffset.x(), inputOffset.y(), in onFilterImage() local
1451 if (!this->applyCropRect(ctx, inputBounds, &bounds)) { in onFilterImage()