/external/skia/src/core/ |
D | SkRasterizer.cpp | 22 SkMask srcM, dstM; in rasterize() local 24 srcM.fFormat = SkMask::kA8_Format; in rasterize() 25 srcM.fBounds.set(0, 0, 1, 1); in rasterize() 26 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) { in rasterize()
|
D | SkMaskFilter.cpp | 263 SkMask srcM, dstM; in filterPath() local 265 if (!SkDraw::DrawToMask(devPath, &clip.getBounds(), this, &matrix, &srcM, in filterPath() 270 SkAutoMaskFreeImage autoSrc(srcM.fImage); in filterPath() 272 if (!this->filterMask(&dstM, srcM, matrix, nullptr)) { in filterPath() 349 SkMask srcM, dstM; in computeFastBounds() local 351 srcM.fBounds = src.roundOut(); in computeFastBounds() 352 srcM.fRowBytes = 0; in computeFastBounds() 353 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds() 356 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) { in computeFastBounds() 359 dst->set(srcM.fBounds); in computeFastBounds()
|
D | SkScalerContext.cpp | 535 SkMask srcM, dstM; in getImage() local 542 glyph->toMask(&srcM); in getImage() 543 if (SkMask::kARGB32_Format == srcM.fFormat) { in getImage() 546 srcM.fFormat = SkMask::kA8_Format; in getImage() 547 srcM.fRowBytes = SkAlign4(srcM.fBounds.width()); in getImage() 548 size_t size = srcM.computeImageSize(); in getImage() 550 srcM.fImage = (uint8_t*)a8storage.get(); in getImage() 551 extract_alpha(srcM, in getImage() 557 if (fMaskFilter->filterMask(&dstM, srcM, matrix, nullptr)) { in getImage() 582 applyLUTToA8Mask(srcM, fPreBlendForFilter.fG); in getImage()
|
D | SkBitmap.cpp | 1039 SkMask srcM, dstM; in extractAlpha() local 1041 srcM.fBounds.set(0, 0, this->width(), this->height()); in extractAlpha() 1042 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha() 1043 srcM.fFormat = SkMask::kA8_Format; in extractAlpha() 1050 if (!filter->filterMask(&dstM, srcM, identity, nullptr)) { in extractAlpha() 1056 tmpBitmap.setInfo(SkImageInfo::MakeA8(this->width(), this->height()), srcM.fRowBytes); in extractAlpha() 1063 GetBitmapAlpha(*this, tmpBitmap.getAddr8(0, 0), srcM.fRowBytes); in extractAlpha() 1070 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize()); in extractAlpha() 1071 SkAutoMaskFreeImage srcCleanup(srcM.fImage); in extractAlpha() 1073 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha() [all …]
|
D | SkDraw.cpp | 901 void SkDraw::drawDevMask(const SkMask& srcM, const SkPaint& paint) const { in drawDevMask() argument 902 if (srcM.fBounds.isEmpty()) { in drawDevMask() 906 const SkMask* mask = &srcM; in drawDevMask() 910 paint.getMaskFilter()->filterMask(&dstM, srcM, *fMatrix, nullptr)) { in drawDevMask() 1990 SkMask srcM, dstM; in compute_bounds() local 1992 srcM.fBounds = *bounds; in compute_bounds() 1993 srcM.fFormat = SkMask::kA8_Format; in compute_bounds() 1994 if (!filter->filterMask(&dstM, srcM, *filterMatrix, &margin)) { in compute_bounds()
|
/external/skia/src/effects/ |
D | SkBlurMaskFilter.cpp | 352 SkMask srcM, dstM; in filterRRectToNine() local 353 srcM.fBounds = rrect.rect().roundOut(); in filterRRectToNine() 354 srcM.fFormat = SkMask::kA8_Format; in filterRRectToNine() 355 srcM.fRowBytes = 0; in filterRRectToNine() 366 filterResult = this->filterMask(&dstM, srcM, matrix, &margin); in filterRRectToNine() 425 if (!draw_rrect_into_mask(smallRR, &srcM)) { in filterRRectToNine() 429 SkAutoMaskFreeImage amf(srcM.fImage); in filterRRectToNine() 431 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine() 471 SkMask srcM, dstM; in filterRectsToNine() local 472 srcM.fBounds = rects[0].roundOut(); in filterRectsToNine() [all …]
|
/external/skia/src/gpu/ |
D | GrBlurUtils.cpp | 58 SkMask srcM, dstM; in sw_draw_with_mask_filter() local 60 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter() 64 SkAutoMaskFreeImage autoSrc(srcM.fImage); in sw_draw_with_mask_filter() 66 if (!filter->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter()
|
/external/opencv3/modules/videostab/src/ |
D | motion_stabilizing.cpp | 647 const float srcM[] = in ensureInclusionConstraint() local 654 relaxMotion(srcM, t, curM); in ensureInclusionConstraint() 662 relaxMotion(srcM, t, curM); in ensureInclusionConstraint()
|
/external/opencv3/modules/imgproc/test/ |
D | test_imgwarp.cpp | 664 Mat srcM, dstM(3, 3, CV_64F, m); in prepare_to_validation() local 668 test_mat[INPUT][1].convertTo( srcM, CV_64F ); in prepare_to_validation() 669 cv::invert(srcM, dstM, CV_SVD); in prepare_to_validation()
|
/external/valgrind/VEX/priv/ |
D | guest_arm64_toIR.c | 8373 IRTemp srcM = newTempV128(); in dis_AdvSIMD_ZIP_UZP_TRN() local 8376 assign(srcM, getQReg128(mm)); in dis_AdvSIMD_ZIP_UZP_TRN() 8378 assign(res, binop(op2, binop(op1, mkexpr(srcM), mkexpr(srcM)), in dis_AdvSIMD_ZIP_UZP_TRN() 11734 IRTemp srcM = newTempV128(); in dis_AdvSIMD_three_same() local 11738 assign(srcM, getQReg128(mm)); in dis_AdvSIMD_three_same() 11740 srcM, srcN, isD, bitQ); in dis_AdvSIMD_three_same() 11757 IRTemp srcM = newTempV128(); in dis_AdvSIMD_three_same() local 11761 assign(srcM, getQReg128(mm)); in dis_AdvSIMD_three_same() 11763 srcM, srcN, isD, bitQ); in dis_AdvSIMD_three_same()
|
D | guest_arm_toIR.c | 8977 IRTemp srcM = newTemp(Ity_I32); in decode_V6MEDIA_instruction() local 8984 assign( srcM, binop(Iop_Sar32, in decode_V6MEDIA_instruction() 8988 assign( res, binop(Iop_Mul32, mkexpr(srcN), mkexpr(srcM)) ); in decode_V6MEDIA_instruction()
|