Home
last modified time | relevance | path

Searched refs:inputBM (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp336 SkBitmap inputBM; in onFilterImage() local
338 if (!input->getROPixels(&inputBM)) { in onFilterImage()
342 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage()
346 if (!fConvolveAlpha && !inputBM.isOpaque()) { in onFilterImage()
347 inputBM = unpremultiply_bitmap(inputBM); in onFilterImage()
350 if (!inputBM.getPixels()) { in onFilterImage()
355 inputBM.alphaType()); in onFilterImage()
376 this->filterBorderPixels(inputBM, &dst, top, bounds); in onFilterImage()
377 this->filterBorderPixels(inputBM, &dst, left, bounds); in onFilterImage()
378 this->filterInteriorPixels(inputBM, &dst, interior, bounds); in onFilterImage()
[all …]
DSkMagnifierImageFilter.cpp374 SkBitmap inputBM; in onFilterImage() local
376 if (!input->getROPixels(&inputBM)) { in onFilterImage()
380 if ((inputBM.colorType() != kN32_SkColorType) || in onFilterImage()
381 (fSrcRect.width() >= inputBM.width()) || (fSrcRect.height() >= inputBM.height())) { in onFilterImage()
385 SkASSERT(inputBM.getPixels()); in onFilterImage()
386 if (!inputBM.getPixels() || inputBM.width() <= 0 || inputBM.height() <= 0) { in onFilterImage()
426 int x_val = SkTPin(bounds.x() + SkScalarFloorToInt(x_interp), 0, inputBM.width() - 1); in onFilterImage()
427 int y_val = SkTPin(bounds.y() + SkScalarFloorToInt(y_interp), 0, inputBM.height() - 1); in onFilterImage()
429 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
DSkAlphaThresholdFilter.cpp191 SkBitmap inputBM; in onFilterImage() local
193 if (!input->getROPixels(&inputBM)) { in onFilterImage()
197 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage()
201 if (!inputBM.getPixels() || inputBM.width() <= 0 || inputBM.height() <= 0) { in onFilterImage()
225 const SkColor* sptr = inputBM.getAddr32(srcOffset.fX, srcOffset.fY+y); in onFilterImage()
DSkMorphologyImageFilter.cpp590 SkBitmap inputBM; in onFilterImage() local
592 if (!input->getROPixels(&inputBM)) { in onFilterImage()
596 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage()
601 inputBM.colorType(), inputBM.alphaType()); in onFilterImage()
624 call_proc_X(procX, inputBM, &tmp, width, srcBounds); in onFilterImage()
630 call_proc_X(procX, inputBM, &dst, width, srcBounds); in onFilterImage()
633 inputBM.getAddr32(srcBounds.left(), srcBounds.top()), in onFilterImage()
634 inputBM.rowBytesAsPixels(), in onFilterImage()
DSkLightingImageFilter.cpp1303 SkBitmap inputBM; in onFilterImage() local
1305 if (!input->getROPixels(&inputBM)) { in onFilterImage()
1309 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage()
1313 if (!inputBM.getPixels()) { in onFilterImage()
1332 inputBM, in onFilterImage()
1458 SkBitmap inputBM; in onFilterImage() local
1460 if (!input->getROPixels(&inputBM)) { in onFilterImage()
1464 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage()
1468 if (!inputBM.getPixels()) { in onFilterImage()
1488 inputBM, in onFilterImage()
/external/skia/src/core/
DSkBlurImageFilter.cpp236 SkBitmap inputBM; in onFilterImage() local
238 if (!input->getROPixels(&inputBM)) { in onFilterImage()
242 if (inputBM.colorType() != kN32_SkColorType) { in onFilterImage()
247 inputBM.colorType(), inputBM.alphaType()); in onFilterImage()
259 const SkPMColor* s = inputBM.getAddr32(inputBounds.x() - inputOffset.x(), in onFilterImage()
266 int sw = int(inputBM.rowBytes() >> 2); in onFilterImage()