Home
last modified time | relevance | path

Searched refs:sshape (Results 1 – 25 of 75) sorted by relevance

123

/dports/graphics/rawtherapee/rawtherapee-5.8/rtgui/
H A Dhsvequalizer.cc55sshape = static_cast<FlatCurveEditor*>(curveEditorG->addCurve(CT_Flat, M("TP_HSVEQUALIZER_SAT"))); in HSVEqualizer()
56 sshape->setEditID(EUID_HSV_S, BT_SINGLEPLANE_FLOAT); in HSVEqualizer()
57 sshape->setBottomBarBgGradient(bottomMilestones); in HSVEqualizer()
59 sshape->setCurveColorProvider(this, 2); in HSVEqualizer()
90 sshape->setUnChanged (!pedited->hsvequalizer.scurve); in read()
96 sshape->setCurve (pp->hsvequalizer.scurve); in read()
106 sshape->setEditProvider(provider); in setEditProvider()
116 active = sshape->openIfNonlinear(); in autoOpenCurve()
128 pp->hsvequalizer.scurve = sshape->getCurve (); in write()
134 pedited->hsvequalizer.scurve = !sshape->isUnChanged (); in write()
[all …]
/dports/graphics/panomatic/panomatic-0.9.4/vigra/include/vigra/
H A Dmulti_pointoperators.hxx204 if(sshape[0] == 1) in copyMultiArrayImpl()
210 copyLine(s, s + sshape[0], src, d, dest); in copyMultiArrayImpl()
221 if(sshape[N] == 1) in copyMultiArrayImpl()
372 vigra_precondition(sshape.size() == dshape.size(), in copyMultiArray()
374 for(unsigned int i=0; i<sshape.size(); ++i) in copyMultiArray()
375 vigra_precondition(sshape[i] == 1 || sshape[i] == dshape[i], in copyMultiArray()
442 SrcShape reduceShape = sshape; in transformMultiArrayImpl()
464 if(sshape[0] == 1) in transformMultiArrayExpandImpl()
483 if(sshape[N] == 1) in transformMultiArrayExpandImpl()
510 for(unsigned int i=0; i<sshape.size(); ++i) in transformMultiArrayImpl()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/mshadow/extension/
H A Dspatial_pool.h61 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(src_); in PoolingExp() local
62 CHECK(sshape[srcdim - 1] >= ksize_x && sshape[srcdim - 2] >= ksize_y) in PoolingExp()
64 this->src_height_ = sshape[srcdim - 2]; in PoolingExp()
65 this->src_width_ = sshape[srcdim - 1]; in PoolingExp()
66 this->shape_ = sshape; in PoolingExp()
75 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(src_); in PoolingExp() local
76 CHECK(sshape[srcdim - 1] >= ksize_x && sshape[srcdim - 2] >= ksize_y) in PoolingExp()
78 this->src_height_ = sshape[srcdim - 2]; in PoolingExp()
79 this->src_width_ = sshape[srcdim - 1]; in PoolingExp()
80 this->shape_ = sshape; in PoolingExp()
H A Dchannel_unpool.h69 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(data_src); in ChannelUnpoolingExp() local
74 CHECK_EQ(pshape[k], sshape[k]) in ChannelUnpoolingExp()
78 << sshape[k]; in ChannelUnpoolingExp()
81 this->shape_ = sshape; in ChannelUnpoolingExp()
H A Dspatial_unpool.h73 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(data_src); in UnPoolingExp() local
75 CHECK_EQ(pshape[k], sshape[k]) << "UnPoolingExp: pool and src shape mismatch"; in UnPoolingExp()
79 this->shape_ = sshape; in UnPoolingExp()
H A Dpack_col2patch.h68 Shape<2> sshape = ShapeCheck<2, SrcExp>::Check(src_); in PackColToPatchXExp() local
69 CHECK_EQ(sshape[1], o_height * o_width * imshape.ProdShape(0, dstdim - 3)) in PackColToPatchXExp()
71 CHECK_EQ(sshape[0], psize_y * psize_x * imshape[dstdim - 3]) in PackColToPatchXExp()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/3rdparty/mshadow/mshadow/extension/
H A Dspatial_pool.h61 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(src_); in PoolingExp() local
62 CHECK(sshape[srcdim - 1] >= ksize_x && sshape[srcdim - 2] >= ksize_y) in PoolingExp()
64 this->src_height_ = sshape[srcdim - 2]; in PoolingExp()
65 this->src_width_ = sshape[srcdim - 1]; in PoolingExp()
66 this->shape_ = sshape; in PoolingExp()
75 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(src_); in PoolingExp() local
76 CHECK(sshape[srcdim - 1] >= ksize_x && sshape[srcdim - 2] >= ksize_y) in PoolingExp()
78 this->src_height_ = sshape[srcdim - 2]; in PoolingExp()
79 this->src_width_ = sshape[srcdim - 1]; in PoolingExp()
80 this->shape_ = sshape; in PoolingExp()
H A Dchannel_unpool.h69 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(data_src); in ChannelUnpoolingExp() local
74 CHECK_EQ(pshape[k], sshape[k]) in ChannelUnpoolingExp()
78 << sshape[k]; in ChannelUnpoolingExp()
81 this->shape_ = sshape; in ChannelUnpoolingExp()
H A Dspatial_unpool.h73 Shape<srcdim> sshape = ShapeCheck<srcdim, SrcExp>::Check(data_src); in UnPoolingExp() local
75 CHECK_EQ(pshape[k], sshape[k]) << "UnPoolingExp: pool and src shape mismatch"; in UnPoolingExp()
79 this->shape_ = sshape; in UnPoolingExp()
H A Dpack_col2patch.h68 Shape<2> sshape = ShapeCheck<2, SrcExp>::Check(src_); in PackColToPatchXExp() local
69 CHECK_EQ(sshape[1], o_height * o_width * imshape.ProdShape(0, dstdim - 3)) in PackColToPatchXExp()
71 CHECK_EQ(sshape[0], psize_y * psize_x * imshape[dstdim - 3]) in PackColToPatchXExp()
/dports/graphics/art/ART-1.9.3/rtgui/
H A Dhslequalizer.cc70sshape = static_cast<FlatCurveEditor *>(curveEditorG->addCurve(CT_Flat, M("TP_HSVEQUALIZER_SAT"))); in HSLEqualizer()
71 sshape->setEditID(EUID_HSL_S, BT_SINGLEPLANE_FLOAT); in HSLEqualizer()
72 sshape->setBottomBarBgGradient(bottomMilestones); in HSLEqualizer()
73 sshape->setCurveColorProvider(this, 2); in HSLEqualizer()
113 sshape->setCurve(default_flat_curve_); in read()
117 sshape->setCurve(pp->hsl.sCurve); in read()
129 sshape->setEditProvider(provider); in setEditProvider()
153 sshape->openIfNonlinear(); in autoOpenCurve()
166 pp->hsl.sCurve = sshape->getCurve(); in write()
184 if (ce == sshape) { in curveChanged()
/dports/graphics/vigra/vigra-8acd73a/include/vigra/
H A Dmulti_resize.hxx53 SrcIterator si, Shape const & sshape, SrcAccessor src, in internalResizeMultiArrayOneDimension() argument
64 SNavigator snav( si, sshape, d ); in internalResizeMultiArrayOneDimension()
67 int ssize = sshape[d]; in internalResizeMultiArrayOneDimension()
232 SrcIterator si, Shape const & sshape, SrcAccessor src, in doxygen_overloaded_function()
242 detail::internalResizeMultiArrayOneDimension(si, sshape, src, in doxygen_overloaded_function()
248 Shape tmpShape(sshape); in doxygen_overloaded_function()
253 detail::internalResizeMultiArrayOneDimension(si, sshape, src, in doxygen_overloaded_function()
274 SrcIterator si, Shape const & sshape, SrcAccessor src, in resizeMultiArraySplineInterpolation() argument
277 resizeMultiArraySplineInterpolation(si, sshape, src, di, dshape, dest, BSpline<3, double>()); in resizeMultiArraySplineInterpolation()
H A Dmulti_pointoperators.hxx391 if(sshape[0] == 1) in copyMultiArrayImpl()
397 copyLine(s, s + sshape[0], src, d, dest); in copyMultiArrayImpl()
408 if(sshape[N] == 1) in copyMultiArrayImpl()
582 vigra_precondition(sshape.size() == dshape.size(), in copyMultiArray()
584 for(unsigned int i=0; i<sshape.size(); ++i) in copyMultiArray()
585 vigra_precondition(sshape[i] == 1 || sshape[i] == dshape[i], in copyMultiArray()
677 SrcShape reduceShape = sshape; in transformMultiArrayImpl()
699 if(sshape[0] == 1) in transformMultiArrayExpandImpl()
718 if(sshape[N] == 1) in transformMultiArrayExpandImpl()
745 for(unsigned int i=0; i<sshape.size(); ++i) in transformMultiArrayImpl()
[all …]
/dports/devel/fuzzylite/fuzzylite-6.0/fuzzylite/src/term/
H A DPiShape.cpp39 scalar sshape; in membership() local
41 sshape = 0.0; in membership()
43 sshape = 2.0 * std::pow((x - _bottomLeft) / (_topLeft - _bottomLeft), 2); in membership()
45 sshape = 1.0 - 2.0 * std::pow((x - _topLeft) / (_topLeft - _bottomLeft), 2); in membership()
46 else sshape = 1.0; in membership()
57 return Term::_height * sshape * zshape; in membership()
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/view_map/
H A DViewMapIO.cpp148 if (!vs || !vs->sshape()) { in load()
158 vs->sshape()->setId(Id(id1, id2)); in load()
163 vs->sshape()->setImportance(importance); in load()
185 vs->sshape()->AddNewVertex(sv); in load()
193 vs->sshape()->AddChain(fe); in load()
201 vs->sshape()->AddEdge(fe); in load()
369 sv->setShape(vs->sshape()); in load()
624 if (!vs || !vs->sshape()) { in save()
636 id = vs->sshape()->getId().getSecond(); in save()
663 tmp = vs->sshape()->getChains().size(); in save()
[all …]
H A DViewMap.cpp69 vector<FEdge *> &edges = (*vs)->sshape()->getEdgeList(); in Clean()
82 (*vs)->sshape()->RemoveEdge(*it); in Clean()
221 vshape->sshape()->RemoveEdgeFromChain(ioEdge->fedgeA()); in InsertViewVertex()
222 vshape->sshape()->RemoveEdgeFromChain(ioEdge->fedgeB()); in InsertViewVertex()
235 vshape->sshape()->AddChain(ioEdge->fedgeA()); in InsertViewVertex()
236 vshape->sshape()->AddChain(ioEdge->fedgeB()); in InsertViewVertex()
264 vshape->sshape()->AddChain(fbegin); in InsertViewVertex()
282 SShape *sshape = ioEdge->shape();
283 FEdge *newFEdge = sshape->SplitEdgeIn2(ioEdge, ioVertex);
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/random/
H A Dmultisample_op.h67 mxnet::TShape sshape = param.shape; in MultiSampleOpShape() local
68 for (int i = 0; i < sshape.ndim(); ++i) { in MultiSampleOpShape()
69 CHECK_GT(sshape[i], 0) << "shape parameter must be non-zero within each dimension"; in MultiSampleOpShape()
75 if (tshape.ndim() > sshape.ndim()) { in MultiSampleOpShape()
77 tshape = mxnet::TShape(tshape.begin(), tshape.begin()+(tshape.ndim()-sshape.ndim())); in MultiSampleOpShape()
89 cshape.insert(cshape.end(), sshape.begin(), sshape.end()); in MultiSampleOpShape()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/random/
H A Dmultisample_op.h67 mxnet::TShape sshape = param.shape; in MultiSampleOpShape() local
68 for (int i = 0; i < sshape.ndim(); ++i) { in MultiSampleOpShape()
69 CHECK_GT(sshape[i], 0) << "shape parameter must be non-zero within each dimension"; in MultiSampleOpShape()
75 if (tshape.ndim() > sshape.ndim()) { in MultiSampleOpShape()
77 tshape = mxnet::TShape(tshape.begin(), tshape.begin()+(tshape.ndim()-sshape.ndim())); in MultiSampleOpShape()
89 cshape.insert(cshape.end(), sshape.begin(), sshape.end()); in MultiSampleOpShape()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/
H A Dcount_sketch-inl.h79 const mxnet::TShape& sshape = in_data[CountSketch::kS].shape_; in Forward() local
83 Shape1(sshape.ProdShape(0, sshape.ndim())), s); in Forward()
106 const mxnet::TShape& sshape = in_data[CountSketch::kS].shape_; in Backward() local
110 Shape1(sshape.ProdShape(0, sshape.ndim())), s); in Backward()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/
H A Dcount_sketch-inl.h79 const mxnet::TShape& sshape = in_data[CountSketch::kS].shape_; in Forward() local
83 Shape1(sshape.ProdShape(0, sshape.ndim())), s); in Forward()
106 const mxnet::TShape& sshape = in_data[CountSketch::kS].shape_; in Backward() local
110 Shape1(sshape.ProdShape(0, sshape.ndim())), s); in Backward()
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/nn/
H A Dsoftmax-inl.h76 Shape<ndim> sshape = shape; in Softmax() local
77 sshape[axis] = 1; in Softmax()
83 index_t base = unravel_dot(i, sshape, stride); in Softmax()
122 index_t base = unravel_dot(i, sshape, stride); in Softmax()
192 Shape<ndim> sshape = shape; in SoftmaxGrad() local
193 sshape[axis] = 1; in SoftmaxGrad()
199 index_t base = unravel_dot(i, sshape, stride); in SoftmaxGrad()
409 Shape<ndim> sshape = shape; in Softmax() local
410 sshape[axis] = 1; in Softmax()
563 Shape<ndim> sshape = shape; in SoftmaxGrad() local
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/nn/
H A Dsoftmax-inl.h76 Shape<ndim> sshape = shape; in Softmax() local
77 sshape[axis] = 1; in Softmax()
83 index_t base = unravel_dot(i, sshape, stride); in Softmax()
122 index_t base = unravel_dot(i, sshape, stride); in Softmax()
192 Shape<ndim> sshape = shape; in SoftmaxGrad() local
193 sshape[axis] = 1; in SoftmaxGrad()
199 index_t base = unravel_dot(i, sshape, stride); in SoftmaxGrad()
409 Shape<ndim> sshape = shape; in Softmax() local
410 sshape[axis] = 1; in Softmax()
563 Shape<ndim> sshape = shape; in SoftmaxGrad() local
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/numpy/linalg/
H A Dbroadcast_reduce_customized-inl.h37 const Shape<ndim>& bshape, const Shape<ndim>& sshape, in seq_reduce_assign_wr() argument
40 Shape<ndim> coord = unravel(idx, sshape); in seq_reduce_assign_wr()
61 const Shape<ndim> sshape, const Shape<ndim> rshape, in seq_reduce_compute_wr() argument
67 bshape, sshape, rshape, rstride, reducer); in seq_reduce_compute_wr()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/numpy/linalg/
H A Dbroadcast_reduce_customized-inl.h37 const Shape<ndim>& bshape, const Shape<ndim>& sshape, in seq_reduce_assign_wr() argument
40 Shape<ndim> coord = unravel(idx, sshape); in seq_reduce_assign_wr()
61 const Shape<ndim> sshape, const Shape<ndim> rshape, in seq_reduce_compute_wr() argument
67 bshape, sshape, rshape, rstride, reducer); in seq_reduce_compute_wr()
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/xkb/
H A DxkbUtils.c1414 XkbShapePtr sshape = NULL, dshape = NULL; in _XkbCopyGeom() local
1575 if (sshape->num_outlines) { in _XkbCopyGeom()
1582 soutline = sshape->outlines, in _XkbCopyGeom()
1584 j < sshape->num_outlines; in _XkbCopyGeom()
1605 dshape->sz_outlines = sshape->num_outlines; in _XkbCopyGeom()
1606 dshape->name = sshape->name; in _XkbCopyGeom()
1607 dshape->bounds = sshape->bounds; in _XkbCopyGeom()
1610 if (sshape->approx && sshape->num_outlines > 0) { in _XkbCopyGeom()
1613 sshape->approx - sshape->outlines; in _XkbCopyGeom()
1625 if (sshape->primary && sshape->num_outlines > 0) { in _XkbCopyGeom()
[all …]

123