Searched refs:fW (Results 1 - 25 of 33) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
H A DBracketFinder.java158 double fW;
160 fW = eval(func, w);
162 fW < fC :
163 fW > fC) {
167 fB = fW;
170 fW > fB :
171 fW < fB) {
173 fC = fW;
177 fW = eval(func, w);
180 fW
[all...]
/external/skia/bench/
H A DMipMapBench.cpp15 const int fW, fH; member in class:MipMapBench
21 : fW(w), fH(h), fColorMode(colorMode), fHalfFoat(halfFloat)
37 SkImageInfo info = fHalfFoat ? SkImageInfo::Make(fW, fH, kRGBA_F16_SkColorType,
40 : SkImageInfo::MakeS32(fW, fH, kPremul_SkAlphaType);
H A DGrMipMapBench.cpp19 const int fW, fH; member in class:GrMipMapBench
22 GrMipMapBench(int w, int h) : fW(w), fH(h) {
40 SkImageInfo info = SkImageInfo::Make(fW, fH, kN32_SkColorType, kPremul_SkAlphaType,
H A DHardStopGradientBench_SpecialHardStops.cpp39 fW = w;
43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind));
51 return SkIPoint::Make(fW, fH);
57 SkPoint::Make(fW+2.0f, fH/2.0f),
109 int fW; member in class:HardStopGradientBench_SpecialHardStops
H A DPathBench.cpp905 fRQ.fW = SkScalarCos(SK_ScalarPI/4);
982 conic->fW = rand.nextUScalar1();
984 conic->fW = 1 + rand.nextUScalar1() * 4;
/external/skia/tests/
H A DPathOpsConicIntersectionTest.cpp48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight));
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight));
84 conic.fW = c.fW;
85 chopped[0].fW = ch[0].fW;
86 chopped[1].fW = ch[1].fW;
101 path.conicTo(conic.fPts[1], conic.fPts[2], conic.fW);
106 path.conicTo(chopped[0].fPts[1], chopped[0].fPts[2], chopped[0].fW);
[all...]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTTrans.h114 @param[in] fW W coordinate of input vector (e.g. use 1 for position, 0 for normal)
127 const VERTTYPE fW = f2vt(1.0f));
H A DPVRTTrans.cpp226 VERTTYPE fX, fY, fZ, fW; local
252 fW = pMatrix->f[ 3]*pBoundingBox->Point[i].x +
257 if(fX < -fW)
259 else if(fX > fW)
262 if(fY < -fW)
264 else if(fY > fW)
352 @Input fW W coordinate of input vector (e.g. use 1 for position, 0 for normal)
365 const VERTTYPE fW)
375 VERTTYPEMUL(pMatrix->f[12], fW);
379 VERTTYPEMUL(pMatrix->f[13], fW);
360 PVRTTransformArray( PVRTVECTOR3 * const pTransformedVertex, const PVRTVECTOR3 * const pV, const int nNumberOfVertices, const PVRTMATRIX * const pMatrix, const VERTTYPE fW) argument
[all...]
/external/skia/src/core/
H A DSkGeometry.h188 fW = w;
192 fW = w;
196 SkScalar fW; member in struct:SkConic
200 fW = w;
207 fW = w;
309 Sk2s ww(conic.fW);
H A DSkGeometry.cpp946 ratquad_mapTo3D(fPts, fW, tmp);
967 dst[0].fW = tmp2[0].fZ / root;
968 dst[1].fW = tmp2[2].fZ / root;
1003 dst->fW = ww[0];
1020 Sk2s ww(fW);
1048 Sk2s scale = Sk2s(SkScalarInvert(SK_Scalar1 + fW));
1049 SkScalar newW = subdivide_w_value(fW);
1054 Sk2s ww(fW);
1065 dst[0].fW = dst[1].fW
[all...]
H A DSkPathMeasure.cpp85 dst->conicTo(conic.fPts[1], conic.fPts[2], conic.fW);
89 dst->conicTo(tmp[0].fPts[1], tmp[0].fPts[2], tmp[0].fW);
96 dst->conicTo(tmp1[1].fPts[1], tmp1[1].fPts[2], tmp1[1].fW);
101 dst->conicTo(tmp.fPts[1], tmp.fPts[2], tmp.fW);
377 fPts.append()->set(conic.fW, 0);
H A DSkStrokerPriv.cpp123 outer->conicTo(conics[i].fPts[1], conics[i].fPts[2], conics[i].fW);
/external/skia/gm/
H A Dshowmiplevels.cpp231 const int fW, fH; member in class:ShowMipLevels2
235 ShowMipLevels2(int w, int h) : fW(w), fH(h) { }
241 str.printf("showmiplevels2_%dx%d", fW, fH);
301 fBM[0] = sk_tool_utils::create_checkerboard_bitmap(fW, fH,
303 fBM[1] = make_bitmap(fW, fH);
304 fBM[2] = make_bitmap2(fW, fH);
305 fBM[3] = make_bitmap3(fW, fH);
H A Dbeziereffects.cpp381 int conicCnt2 = split_conic(dstTemp[0].fPts, dst, dstTemp[0].fW);
382 conicCnt = conicCnt2 + split_conic(dstTemp[1].fPts, &dst[conicCnt2], dstTemp[1].fW);
/external/skia/samplecode/
H A DSamplePatch.cpp59 void setBounds(int w, int h) { fW = w; fH = h; }
66 int fW, fH; member in class:Patch
164 const SkScalar ds = SK_Scalar1 * fW / nu;
177 colors[i*2 + 0] = make_color(s/fW, t/fH);
178 colors[i*2 + 1] = make_color(s/fW, (t + dt)/fH);
H A DSampleFatBits.cpp90 fW = width;
117 int fW, fH, fZoom; member in class:FatBits
172 for (int ix = 1; ix < fW; ++ix) {
201 for (int ix = 0; ix < fW; ++ix) {
H A DSampleQuadStroker.cpp128 int fW, fH, fZoom; member in class:QuadStrokerView
256 for (int ix = 1; ix < fW; ++ix) {
H A DSampleAAGeometry.cpp226 result.conicTo(chop[0].fPts[1], chop[0].fPts[2], chop[0].fW);
228 weight = chop[1].fW;
1366 conic_coverage(split[0].fPts, split[0].fW, distanceMap, w, h);
1367 conic_coverage(split[1].fPts, split[1].fW, distanceMap, w, h);
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
H A DPVRTPrint3DAPI.cpp249 float fW = m_fScreenScale[0] * 640.0f; local
252 PVRTMat4 mxOrtho = PVRTMat4::Ortho(0.0f, 0.0f, fW, -fH, -1.0f, 1.0f, PVRTMat4::OGL, m_bRotate);
255 PVRTMat4 mxTrans = PVRTMat4::Translation(-fH,fW,0.0f);
/external/skia/src/gpu/instanced/
H A DInstancedRenderingTypes.h108 float fX, fY, fZ, fW; member in struct:gr_instanced::ParamsTexel
/external/skia/src/pathops/
H A DSkOpEdgeBuilder.cpp254 fContourBuilder.addCurve(v1, curve1, pair[0].fW);
255 fContourBuilder.addCurve(v2, curve2, pair[1].fW);
H A DSkReduceOrder.cpp261 if (verb > SkPath::kLine_Verb && c.fW == 1) {
/external/skia/src/gpu/ops/
H A DGrAAHairLinePathRenderer.cpp162 int conicCnt2 = split_conic(dstTemp[0].fPts, dst, dstTemp[0].fW);
163 conicCnt = conicCnt2 + split_conic(dstTemp[1].fPts, &dst[conicCnt2], dstTemp[1].fW);
284 conicWeights->push_back() = dst[i].fW;
/external/skia/dm/
H A DDMSrcSink.cpp1593 , fW(w)
1609 const int xTiles = (size.width() + fW - 1) / fW,
1615 SkImageInfo info = canvas->imageInfo().makeWH(fW, fH);
1626 c->translate(SkIntToScalar(-i * fW),
1635 canvas->drawImage(image, SkIntToScalar(i*fW), SkIntToScalar(j*fH));
H A DDMSrcSink.h457 const int fW, fH; member in class:DM::ViaTiles

Completed in 592 milliseconds

12