Home
last modified time | relevance | path

Searched refs:num_knots (Results 1 – 25 of 43) sorted by relevance

12

/dports/audio/sox/sox-14.4.2/src/
H A Dfirfit.c30 int num_knots, n; member
52 lsx_valloc(log_freqs , p->num_knots); in make_filter()
53 lsx_valloc(gains, p->num_knots); in make_filter()
54 lsx_valloc(d , p->num_knots); in make_filter()
55 for (i = 0; i < p->num_knots; ++i) { in make_filter()
68 f > p->knots[p->num_knots - 1].f? gains[p->num_knots - 1] : in make_filter()
94 &p->knots[p->num_knots].f, &p->knots[p->num_knots].gain); in read_knots()
96 if (p->num_knots && p->knots[p->num_knots].f <= p->knots[p->num_knots - 1].f) { in read_knots()
100 lsx_revalloc(p->knots, ++p->num_knots + 1); in read_knots()
104 lsx_report("%i knots", p->num_knots); in read_knots()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/exporter/
H A Dabc_writer_curves.cc139 const size_t num_knots = KNOTSU(nurbs); in do_write() local
143 knots.resize(num_knots + 2); in do_write()
145 for (int i = 0; i < num_knots; i++) { in do_write()
151 knots[num_knots - 1] = nurbs->knotsu[num_knots - 1]; in do_write()
155 knots[num_knots - 1] = (2.0f * nurbs->knotsu[num_knots - 1] - in do_write()
156 nurbs->knotsu[num_knots - 2]); in do_write()
H A Dabc_writer_nurbs.cc104 static void get_knots(std::vector<float> &knots, const int num_knots, float *nu_knots) in get_knots() argument
106 if (num_knots <= 1) { in get_knots()
112 knots.reserve(num_knots + 2); in get_knots()
116 for (int i = 0; i < num_knots; i++) { in get_knots()
121 knots.push_back(2.0f * knots[num_knots] - knots[num_knots - 1]); in get_knots()
/dports/cad/opencascade/opencascade-7.6.0/src/Convert/
H A DConvert_ConicToBSplineCurve.cxx344 num_knots = 1, in BuildCosAndSin() local
392 num_knots = 2 ; in BuildCosAndSin()
399 num_knots = 3 ; in BuildCosAndSin()
405 num_knots = 2 ; in BuildCosAndSin()
473 KnotsPtr->SetValue(num_knots, ULast) ; in BuildCosAndSin()
475 MultsPtr->SetValue(num_knots,order) ; in BuildCosAndSin()
591 KnotsPtr->SetValue(num_knots, 1.); in BuildCosAndSin()
593 MultsPtr->SetValue(num_knots, num_poles); in BuildCosAndSin()
634 num_knots, in BuildCosAndSin() local
688 num_knots = 5 ; in BuildCosAndSin()
[all …]
/dports/cad/libredwg/libredwg-0.12.4/test/unit-testing/
H A Dhelix.c27 BITCODE_BL num_knots; in api_process() local
63 CHK_ENTITY_TYPE (helix, HELIX, num_knots, BL); in api_process()
91 for (i = 0; i < num_knots; i++) in api_process()
102 if (num_knots >= 10) in api_process()
107 if (num_knots) in api_process()
H A Dspline.c24 BITCODE_BL num_knots; in api_process() local
48 CHK_ENTITY_TYPE_W_OLD (spline, SPLINE, num_knots, BL); in api_process()
97 for (BITCODE_BL i = 0; i < num_knots; i++) in api_process()
111 if (num_knots) in api_process()
H A Dhatch.c144 CHK_SUBCLASS_TYPE (paths[i].segs[j], HATCH_PathSeg, num_knots, BL); in api_process()
H A Dmpolygon.c139 CHK_SUBCLASS_TYPE (paths[i].segs[j], HATCH_PathSeg, num_knots, BL); in api_process()
/dports/cad/opencascade/opencascade-7.6.0/src/GeomLib/
H A DGeomLib_Interpolate.cxx45 num_knots, in GeomLib_Interpolate() local
69 num_knots = NumPoints + 2 * order - 2 ; in GeomLib_Interpolate()
70 num_controls = num_knots - order ; in GeomLib_Interpolate()
71 TColStd_Array1OfReal flat_knots(1,num_knots) ; in GeomLib_Interpolate()
/dports/cad/opencascade/opencascade-7.6.0/src/BSplCLib/
H A DBSplCLib_2.cxx579 num_knots, in MovePointAndTangent() local
614 num_knots = FlatKnots.Length() ; in MovePointAndTangent()
615 num_poles = num_knots - order ; in MovePointAndTangent()
1158 num_knots ; in MergeBSplineKnots() local
1182 num_knots = 0 ; in MergeBSplineKnots()
1189 num_knots += 1 ; in MergeBSplineKnots()
1195 num_knots += 1 ; in MergeBSplineKnots()
1201 num_knots = 1 ; in MergeBSplineKnots()
1210 num_knots += 1 ; in MergeBSplineKnots()
1225 num_knots += 1 ; in MergeBSplineKnots()
[all …]
/dports/math/R-cran-recipes/recipes/R/
H A Dns.R97 num_knots <- args$df - degree - intercept functionVar
99 knots <- unname(quantile(x[ok], seq_len(num_knots) / (num_knots + 1L)))
H A Dbs.R102 num_knots <- args$df - degree - intercept functionVar
104 knots <- unname(quantile(x[ok], seq_len(num_knots) / (num_knots + 1L)))
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/intern/
H A Dabc_reader_nurbs.cc81 const size_t num_knots = knots->size() - 2; in set_knots() local
82 nu_knots = static_cast<float *>(MEM_callocN(num_knots * sizeof(float), "abc_setsplineknotsu")); in set_knots()
84 for (size_t i = 0; i < num_knots; i++) { in set_knots()
/dports/graphics/rawstudio/rawstudio-2.0/librawstudio/
H A Drs-dcp-file.c282 gint num_knots = entry->count / 2; in rs_dcp_file_get_tonecurve() local
288 ret = rs_spline_new(knots, num_knots, NATURAL); in rs_dcp_file_get_tonecurve()
/dports/cad/libredwg/libredwg-0.12.4/test/xmlsuite/
H A Dtestsuite.c689 if (spline->num_knots) in add_spline()
691 int bufsize = spline->num_knots * 16; in add_spline()
696 for (unsigned i = 0; i < MIN(6,spline->num_knots); i++) in add_spline()
711 if (spline->num_knots > 6) in add_spline()
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/testsuite/spline/
H A Dtest.osl66 // array length == num_knots). Bug fixed 19-Dec-2013.
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/testsuite/spline/
H A Dtest.osl66 // array length == num_knots). Bug fixed 19-Dec-2013.
/dports/cad/opencascade/opencascade-7.6.0/src/Approx/
H A DApprox_SameParameter.cxx409 Standard_Integer num_knots = aData.myNbPnt + 7; in Build() local
412 TColStd_Array1OfReal FlatKnots(1 ,num_knots); in Build()
488 Standard_Integer num_knots = aData.myNbPnt + 7; in Build() local
491 TColStd_Array1OfReal FlatKnots(1 ,num_knots); in Build()
/dports/cad/opencascade/opencascade-7.6.0/src/ProjLib/
H A DProjLib_ProjectOnPlane.cxx545 Standard_Integer num_knots ; in Load() local
631 num_knots = NewCurvePtr->NbKnots() ; in Load()
632 TColStd_Array1OfReal BsplineKnots(1,num_knots) ; in Load()
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/dgn/
H A Ddgnlib.h485 short num_knots; /*!< number of knots */ member
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/dgn/
H A Ddgnlib.h488 short num_knots; /*!< number of knots */ member
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/dgn/
H A Ddgnlib.h488 short num_knots; /*!< number of knots */
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/dgn/
H A Ddgnlib.h488 short num_knots; /*!< number of knots */ member
/dports/graphics/rawstudio/rawstudio-2.0/plugins/dcp/
H A Ddcp.c1409 gint num_knots = adobe_default_table_size; in read_profile() local
1417 dcp->tone_curve = rs_spline_new(knots, num_knots, NATURAL); in read_profile()
/dports/cad/libredwg/libredwg-0.12.4/src/
H A Ddwg.spec4164 SUB_FIELD_BL (segs[rcount2], num_knots, 95);
4166 if (FIELD_VALUE (segs[rcount2].num_knots > 10000))
4169 _obj->segs[rcount2].num_knots);
4170 _obj->segs[rcount2].num_knots = 0;
4176 segs[rcount2].num_knots, 40);
4373 SUB_FIELD_BL (segs[rcount2], num_knots, 95);
4378 _obj->segs[rcount2].num_knots);
4379 _obj->segs[rcount2].num_knots = 0;
4385 segs[rcount2].num_knots, 40);
10783 FIELD_VECTOR (knots, BD, num_knots, 40); \
[all …]

12