Home
last modified time | relevance | path

Searched refs:fRadius (Results 1 – 25 of 68) sorted by relevance

123

/external/skqp/bench/
DMorphologyBench.cpp31 SkScalar fRadius; member in MorphologyBench
38 fRadius = rad; in MorphologyBench()
63 r.offset(fRadius, fRadius); in onDraw()
65 if (fRadius > 0) { in onDraw()
69 mf = SkDilateImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
70 SkScalarFloorToInt(fRadius), in onDraw()
74 mf = SkErodeImageFilter::Make(SkScalarFloorToInt(fRadius), in onDraw()
75 SkScalarFloorToInt(fRadius), in onDraw()
DBlurBench.cpp32 SkScalar fRadius; member in BlurBench
38 fRadius = rad; in BlurBench()
64 r.offset(fRadius, fRadius); in onDraw()
66 if (fRadius > 0) { in onDraw()
68 SkBlurMask::ConvertRadiusToSigma(fRadius))); in onDraw()
DBlurRectBench.cpp25 SkScalar fRadius; member in BlurRectBench
30 fRadius = rad; in BlurRectBench()
32 if (fRadius > SkIntToScalar(25)) { in BlurRectBench()
34 } else if (fRadius > SkIntToScalar(5)) { in BlurRectBench()
47 return fRadius; in radius()
60 SkScalar pad = fRadius*3/2 + SK_Scalar1; in onDraw()
DBlurRectsBench.cpp19 fRadius = radius; in BlurRectsBench()
34 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, fRadius)); in onDraw()
49 SkScalar fRadius; member in BlurRectsBench
/external/skia/bench/
DMorphologyBench.cpp31 SkScalar fRadius; member in MorphologyBench
38 fRadius = rad; in MorphologyBench()
63 r.offset(fRadius, fRadius); in onDraw()
65 if (fRadius > 0) { in onDraw()
70 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
74 SkScalarFloorToInt(fRadius), SkScalarFloorToInt(fRadius), nullptr); in onDraw()
DBlurBench.cpp32 SkScalar fRadius; member in BlurBench
38 fRadius = rad; in BlurBench()
64 r.offset(fRadius, fRadius); in onDraw()
66 if (fRadius > 0) { in onDraw()
68 SkBlurMask::ConvertRadiusToSigma(fRadius))); in onDraw()
DBlurRectBench.cpp25 SkScalar fRadius; member in BlurRectBench
30 fRadius = rad; in BlurRectBench()
32 if (fRadius > SkIntToScalar(25)) { in BlurRectBench()
34 } else if (fRadius > SkIntToScalar(5)) { in BlurRectBench()
47 return fRadius; in radius()
60 SkScalar pad = fRadius*3/2 + SK_Scalar1; in onDraw()
DBlurRectsBench.cpp19 fRadius = radius; in BlurRectsBench()
34 paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, fRadius)); in onDraw()
49 SkScalar fRadius; member in BlurRectsBench
/external/dng_sdk/source/
Ddng_resample.h112 uint32 fRadius;
131 return fRadius; in Radius()
136 return fRadius * 2; in Width()
141 return 1 - (int32) fRadius; in Offset()
196 uint32 fRadius;
215 return fRadius; in Radius()
220 return fRadius * 2; in Width()
225 return 1 - (int32) fRadius; in Offset()
Ddng_resample.cpp138 : fRadius (0) in dng_resample_weights()
171 fRadius = (uint32) (kernel.Extent () / scale + 0.9999); in Initialize()
175 uint32 width = fRadius * 2; in Initialize()
234 int32 k = (int32) j - (int32) fRadius + 1; in Initialize()
277 w16 [fRadius - (fract >= 0.5 ? 0 : 1)] += (int16) (16384 - t16); in Initialize()
289 : fRadius (0) in dng_resample_weights_2d()
317 fRadius = (uint32) (kernel.Extent () + 0.9999); in Initialize()
325 if (!SafeUint32Mult (fRadius, 2, &width) || in Initialize()
396 int32 yInt = ((int32) i) - (int32) fRadius + 1; in Initialize()
402 int32 xInt = ((int32) j) - (int32) fRadius + 1; in Initialize()
[all …]
/external/skia/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.cpp68 int width = SkGpuBlurUtils::LinearKernelWidth(ce.fRadius); in emitCode()
134 int width = SkGpuBlurUtils::LinearKernelWidth(conv.fRadius); in onSetData()
151 b->add32(conv.fRadius); in GenKey()
220 , fRadius(radius) in GrGaussianConvolutionFragmentProcessor()
224 SkGpuBlurUtils::Compute1DLinearGaussianKernel(fKernel, fOffsets, gaussianSigma, fRadius); in GrGaussianConvolutionFragmentProcessor()
231 , fRadius(that.fRadius) in GrGaussianConvolutionFragmentProcessor()
234 memcpy(fKernel, that.fKernel, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor()
235 memcpy(fOffsets, that.fOffsets, SkGpuBlurUtils::LinearKernelWidth(fRadius) * sizeof(float)); in GrGaussianConvolutionFragmentProcessor()
251 return fRadius == that.fRadius && fDirection == that.fDirection && in onIsEqual()
252 … std::equal(fKernel, fKernel + SkGpuBlurUtils::LinearKernelWidth(fRadius), that.fKernel) && in onIsEqual()
[all …]
/external/skia/modules/skottie/src/effects/
DSphereEffect.cpp163 SG_ATTRIBUTE(Radius , float , fRadius)
219 SkMatrix::Scale(fRadius, fRadius); in buildEffectShader()
239 return SkRect::MakeLTRB(fCenter.fX - fRadius, in onRevalidate()
240 fCenter.fY - fRadius, in onRevalidate()
241 fCenter.fX + fRadius, in onRevalidate()
242 fCenter.fY + fRadius); in onRevalidate()
246 if (fRadius <= 0) { in onRender()
254 canvas->drawCircle(fCenter, fRadius, sphere_paint); in onRender()
268 float fRadius = 0; member in skottie::internal::__anonf9de11940111::SphereNode
314 .bind( kRadius_Index, fRadius ) in SphereAdapter()
[all …]
/external/skia/samplecode/
DSample3D.cpp19 SkScalar fRadius; member
21 VSphere(SkV2 center, SkScalar radius) : fCenter(center), fRadius(radius) {} in VSphere()
24 return (v - fCenter).length() <= fRadius; in contains()
29 if (v.length() > fRadius) { in pinLoc()
30 v *= (fRadius / v.length()); in pinLoc()
36 v = (v - fCenter) * (1 / fRadius); in computeUnitV3()
151 SkScalar fRadius; member
161 canvas->drawCircle(fLoc.x, fLoc.y, fRadius + 2, paint); in draw()
163 canvas->drawCircle(fLoc.x, fLoc.y, fRadius, paint); in draw()
307 canvas->drawCircle(fSphere.fCenter.x, fSphere.fCenter.y, fSphere.fRadius, paint); in onDrawContent()
[all …]
/external/skqp/src/shaders/gradients/
DSkRadialGradient.cpp32 , fRadius(radius) { in SkRadialGradient()
39 info->fRadius[0] = fRadius; in asAGradient()
59 buffer.writeScalar(fRadius); in flatten()
64 return SkGradientShader::MakeRadial(fCenter, fRadius, xformedColors.fColors.get(), fOrigPos, in onMakeColorSpace()
/external/skia/gm/
Ddrawglyphs.cpp38 fRadius = fLength / SK_FloatPI; in onOnceBeforeDraw()
46 xform = SkRSXform::Make(sin, cos, fRadius*cos, -fRadius*sin); in onOnceBeforeDraw()
73 {50 + fLength / 2, 160 + fRadius}, fFont, SkPaint{}); in onDraw()
85 SkScalar fRadius; member in DrawGlyphsGM
/external/skqp/src/gpu/effects/
DGrGaussianConvolutionFragmentProcessor.h39 int radius() const { return fRadius; } in radius()
40 int width() const { return 2 * fRadius + 1; } in width()
52 fRadius, in dumpInfo()
96 int fRadius; variable
DGrCircleEffect.h20 float radius() const { return fRadius; } in radius()
41 , fRadius(radius) {} in GrCircleEffect()
48 float fRadius; variable
DGrCircleEffect.cpp97 if (fRadius != that.fRadius) return false; in onIsEqual()
104 , fRadius(src.fRadius) {} in GrCircleEffect()
/external/skqp/src/pdf/
DSkPDFGradientShader.h44 && u.fRadius[0] == v.fRadius[0]
45 && u.fRadius[1] == v.fRadius[1]
/external/skia/src/shaders/gradients/
DSkRadialGradient.cpp31 , fRadius(radius) { in SkRadialGradient()
38 info->fRadius[0] = fRadius; in asAGradient()
58 buffer.writeScalar(fRadius); in flatten()
/external/skia/src/pdf/
DSkPDFGradientShader.h44 && u.fRadius[0] == v.fRadius[0]
45 && u.fRadius[1] == v.fRadius[1]
/external/skia/modules/skottie/src/layers/shapelayer/
DRoundCorners.cpp27 this->bind(abuilder, jround["r"], fRadius); in RoundCornersAdapter()
32 this->node()->setRadius(fRadius); in onSync()
35 ScalarValue fRadius = 0; member in skottie::internal::__anonf8f6ce710111::RoundCornersAdapter
/external/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp47 , fRadius(SkSize::Make(radiusX, radiusY)) {} in SkMorphologyImageFilter()
68 SkVector radiusVector = SkVector::Make(fRadius.width(), fRadius.height()); in mappedRadius()
80 SkSize fRadius; member in __anon946db6880111::SkMorphologyImageFilter
138 buffer.writeScalar(fRadius.fWidth); in flatten()
139 buffer.writeScalar(fRadius.fHeight); in flatten()
163 bounds.outset(fRadius.width(), fRadius.height()); in computeFastBounds()
208 int fRadius; member in GrMorphologyEffect
251 int width = 2 * me.fRadius + 1; in onMakeProgramImpl()
256 fragBuilder->codeAppendf("coord.%c -= %d;", dir, me.fRadius); in onMakeProgramImpl()
296 uint32_t key = static_cast<uint32_t>(fRadius); in onGetGLSLProcessorKey()
[all …]
/external/skia/src/effects/
DSkCornerPathEffect.cpp20 fRadius = radius; in SkCornerPathEffect()
40 if (fRadius <= 0) { in onFilterPath()
76 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); in onFilterPath()
155 buffer.writeScalar(fRadius); in flatten()
/external/skqp/src/effects/
DSkCornerPathEffect.cpp20 fRadius = radius; in SkCornerPathEffect()
40 if (fRadius <= 0) { in onFilterPath()
76 bool drawSegment = ComputeStep(pts[0], pts[1], fRadius, &step); in onFilterPath()
155 buffer.writeScalar(fRadius); in flatten()

123