Searched refs:inputBM (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 230 SkBitmap inputBM; in onFilterImage() local 232 if (!input->getROPixels(&inputBM)) { in onFilterImage() 236 if ((inputBM.colorType() != kN32_SkColorType) || in onFilterImage() 237 (fSrcRect.width() >= inputBM.width()) || (fSrcRect.height() >= inputBM.height())) { in onFilterImage() 241 SkASSERT(inputBM.getPixels()); in onFilterImage() 242 if (!inputBM.getPixels() || inputBM.width() <= 0 || inputBM.height() <= 0) { in onFilterImage() 284 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage() 285 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage() 287 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
|
D | SkMatrixConvolutionImageFilter.cpp | 434 SkBitmap inputBM; in onFilterImage() local 435 if (!input->getROPixels(&inputBM)) { in onFilterImage() 439 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage() 443 if (!fConvolveAlpha && !inputBM.isOpaque()) { in onFilterImage() 446 inputBM.readPixels(inputBM.info().makeAlphaType(kUnpremul_SkAlphaType), in onFilterImage() 447 inputBM.getPixels(), inputBM.rowBytes(), 0,0); in onFilterImage() 450 if (!inputBM.getPixels()) { in onFilterImage() 455 inputBM.alphaType()); in onFilterImage() 490 this->filterBorderPixels(inputBM, &dst, dstContentOffset, top, srcBounds); in onFilterImage() 491 this->filterBorderPixels(inputBM, &dst, dstContentOffset, left, srcBounds); in onFilterImage() [all …]
|
D | SkAlphaThresholdImageFilter.cpp | 261 SkBitmap inputBM; in onFilterImage() local 263 if (!input->getROPixels(&inputBM)) { in onFilterImage() 267 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage() 271 if (!inputBM.getPixels() || inputBM.width() <= 0 || inputBM.height() <= 0) { in onFilterImage() 295 const SkColor* sptr = inputBM.getAddr32(srcOffset.fX, srcOffset.fY+y); in onFilterImage()
|
D | SkBlurImageFilter.cpp | 736 SkBitmap inputBM; in copy_image_with_bounds() local 737 if (!input->getROPixels(&inputBM)) { in copy_image_with_bounds() 741 if (inputBM.colorType() != kN32_SkColorType) { in copy_image_with_bounds() 746 inputBM.extractSubset(&src, srcBounds); in copy_image_with_bounds() 756 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in copy_image_with_bounds() 827 SkBitmap inputBM; in cpu_blur() local 829 if (!input->getROPixels(&inputBM)) { in cpu_blur() 833 if (inputBM.colorType() != kN32_SkColorType) { in cpu_blur() 838 inputBM.extractSubset(&src, srcBounds); in cpu_blur() 849 SkImageInfo dstInfo = inputBM.info().makeWH(dstW, dstH); in cpu_blur()
|
D | SkMorphologyImageFilter.cpp | 717 SkBitmap inputBM; in onFilterImage() local 719 if (!input->getROPixels(&inputBM)) { in onFilterImage() 723 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage() 727 SkImageInfo info = SkImageInfo::Make(bounds.size(), inputBM.colorType(), inputBM.alphaType()); in onFilterImage() 750 call_proc_X(procX, inputBM, &tmp, width, srcBounds); in onFilterImage() 756 call_proc_X(procX, inputBM, &dst, width, srcBounds); in onFilterImage() 759 inputBM.getAddr32(srcBounds.left(), srcBounds.top()), in onFilterImage() 760 inputBM.rowBytesAsPixels(), in onFilterImage()
|
D | SkLightingImageFilter.cpp | 1337 SkBitmap inputBM; in onFilterImage() local 1339 if (!input->getROPixels(&inputBM)) { in onFilterImage() 1343 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage() 1347 if (!inputBM.getPixels()) { in onFilterImage() 1366 inputBM, in onFilterImage() 1480 SkBitmap inputBM; in onFilterImage() local 1482 if (!input->getROPixels(&inputBM)) { in onFilterImage() 1486 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage() 1490 if (!inputBM.getPixels()) { in onFilterImage() 1510 inputBM, in onFilterImage()
|