Home
last modified time | relevance | path

Searched refs:_width (Results 1 – 25 of 4145) sorted by relevance

12345678910>>...166

/dports/graphics/blender/blender-2.91.0/extern/quadriflow/3rd/lemon-1.3.1/lemon/
H A Dgrid_graph.h139 return Edge(u._id / _width * (_width - 1) +
146 return Edge(v._id / _width * (_width - 1) +
159 return Arc(((u._id / _width * (_width - 1) +
166 return Arc((v._id / _width * (_width - 1) +
254 if (node._id % _width < _width - 1) { in firstOut()
309 if (node._id % _width < _width - 1) { in firstIn()
364 if (node._id % _width < _width - 1) { in firstInc()
366 (node._id / _width) * (_width - 1); in firstInc()
377 (node._id / _width) * (_width - 1) - 1; in firstInc()
403 (nid / _width) * (_width - 1) - 1; in nextInc()
[all …]
/dports/math/lemon/lemon-1.3.1/lemon/
H A Dgrid_graph.h139 return Edge(u._id / _width * (_width - 1) +
146 return Edge(v._id / _width * (_width - 1) +
159 return Arc(((u._id / _width * (_width - 1) +
166 return Arc((v._id / _width * (_width - 1) +
254 if (node._id % _width < _width - 1) { in firstOut()
309 if (node._id % _width < _width - 1) { in firstIn()
364 if (node._id % _width < _width - 1) { in firstInc()
366 (node._id / _width) * (_width - 1); in firstInc()
377 (node._id / _width) * (_width - 1) - 1; in firstInc()
403 (nid / _width) * (_width - 1) - 1; in nextInc()
[all …]
/dports/misc/openmvg/openMVG-2.0/src/third_party/lemon/lemon/
H A Dgrid_graph.h139 return Edge(u._id / _width * (_width - 1) +
146 return Edge(v._id / _width * (_width - 1) +
159 return Arc(((u._id / _width * (_width - 1) +
166 return Arc((v._id / _width * (_width - 1) +
254 if (node._id % _width < _width - 1) { in firstOut()
309 if (node._id % _width < _width - 1) { in firstIn()
364 if (node._id % _width < _width - 1) { in firstInc()
366 (node._id / _width) * (_width - 1); in firstInc()
377 (node._id / _width) * (_width - 1) - 1; in firstInc()
403 (nid / _width) * (_width - 1) - 1; in nextInc()
[all …]
/dports/graphics/zbar/zbar-0.23.90/zbar/qrcode/
H A Dbinarize.c50 for(x=-4;x<_width;x++){
60 g=_img[QR_CLAMPI(0,y+i,_height-1)*_width+QR_CLAMPI(0,x+j,_width-1)];
130 for(x=-2;x<_width;x++){
140 g=_img[QR_CLAMPI(0,y+i,_height-1)*_width+QR_CLAMPI(0,x+j,_width-1)];
207 if(_width>0&&_height>0){
230 for(x=0;x<_width;x++){
292 if(x+1<_width){
383 if(!_mask[y*_width+x])g=_img[y*_width+x];
391 if(x+1<_width){
456 _mask[y*_width+x]=(unsigned char)(-(g-_img[y*_width+x]>thresh[g])&0xFF);
[all …]
/dports/graphics/py-zbar-py/zbar-py-1.0.4/Source/zbar/qrcode/
H A Dbinarize.c49 for(x=-4;x<_width;x++){
59 g=_img[QR_CLAMPI(0,y+i,_height-1)*_width+QR_CLAMPI(0,x+j,_width-1)];
129 for(x=-2;x<_width;x++){
139 g=_img[QR_CLAMPI(0,y+i,_height-1)*_width+QR_CLAMPI(0,x+j,_width-1)];
206 if(_width>0&&_height>0){
229 for(x=0;x<_width;x++){
291 if(x+1<_width){
382 if(!_mask[y*_width+x])g=_img[y*_width+x];
390 if(x+1<_width){
455 _mask[y*_width+x]=(unsigned char)(-(g-_img[y*_width+x]>thresh[g])&0xFF);
[all …]
/dports/graphics/wdune/wdune-1.926/vcglib/img/
H A Dimg_image.h33 int _width;
67 assert(image._width > 0); in Image()
75 _width = image._width; in Image()
94 assert(image._width > 0); in Image()
102 _width = image._width; in Image()
165 _width = image._width;
196 _width = arg_width; in setZero()
215 _width = 0; in deleteData()
312 getPixel(x<0?0:(x<_width?x:_width-1), y<0?0:(y<_height?y:_height-1), ret_pixel); in getPixelAsClamped()
383 return _width; in width()
[all …]
/dports/devel/vcglib/vcglib-2020.09/img/
H A Dimg_image.h33 int _width;
67 assert(image._width > 0); in Image()
75 _width = image._width; in Image()
94 assert(image._width > 0); in Image()
102 _width = image._width; in Image()
165 _width = image._width;
196 _width = arg_width; in setZero()
215 _width = 0; in deleteData()
312 getPixel(x<0?0:(x<_width?x:_width-1), y<0?0:(y<_height?y:_height-1), ret_pixel); in getPixelAsClamped()
383 return _width; in width()
[all …]
/dports/games/pipewalker/pipewalker-0.9.4/src/
H A Dimage.cpp30 : _width(0), _height(0), in image()
269 assert(w > _width); in increase_canvas()
273 img._width = w; in increase_canvas()
285 _width * BPP); in increase_canvas()
296 if (x > _width || x + w > _width || y > _height || y + h > _height) in sub_image()
300 img._width = w; in sub_image()
316 img._width = w; in resize()
352 &img._data[(img._width - y - 1) * BPP + x * img._width * BPP], in rotate()
370 img._width = _width; in rotate()
386 img._width = _width; in rotate()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/libdepixelize/priv/
H A Dpixelgraph.h95 const int _width; variable
160 return _width; in width()
184 return n - _width; in nodeTop()
189 return n + _width; in nodeBottom()
224 return n - _width; in nodeTop()
229 return n + _width; in nodeBottom()
265 int _width; variable
396 if ( _width > 2 ) { in connectAllNeighbors()
435 if ( _width > 1 ) { in connectAllNeighbors()
473 if ( _width > 1 ) in connectAllNeighbors()
[all …]
/dports/audio/drumgizmo/drumgizmo-0.9.19/plugingui/
H A Dimage.cc60 : _width(other._width) in Image()
66 other._width = 0; in Image()
80 _width = other._width; in operator =()
84 other._width = 0; in operator =()
96 _width = _height = 0u; in setError()
116 _width = iw; in setError()
120 image_data.reserve(_width * _height); in setError()
155 _width = iw; in load()
183 return _width; in width()
193 if(x > _width || y > _height) in getPixel()
[all …]
/dports/games/wop/wop-0.4.3/sdlwidgets/
H A Dborderwidget.cpp31 _width = widget->getWidth() + 2; in BorderWidget()
50 Graphics::drawLine( surface, offset_x + _width - 1, offset_y, in draw()
59 _width = width; in setWidth()
61 _widget->setPosition( ( _width - _widget->getWidth() ) / 2, in setWidth()
74 _widget->setPosition( ( _width - _widget->getWidth() ) / 2, in setHeight()
79 _width = _widget->getWidth() + 2; in doLayout()
85 _widget->setPosition( ( _width - _widget->getWidth() ) / 2, in layoutContent()
93 _width = widget->getWidth() + 4; in Border3DWidget()
135 _width = width; in setWidth()
136 _widget->setWidth( _width - 4 ); in setWidth()
[all …]
/dports/games/yadex/yadex-1.7.0/src/
H A Drgbbmp.h54 _width = 0; in Rgbbmp()
61 _width = width; in resize()
85 return _width; in width()
101 r = pixel[y * _width + x].r; in get()
102 g = pixel[y * _width + x].g; in get()
103 b = pixel[y * _width + x].b; in get()
123 pixel[y * _width + x].r = r; in set()
124 pixel[y * _width + x].g = g; in set()
125 pixel[y * _width + x].b = b; in set()
130 pixel[y * _width + x].r = r; in set_r()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/video/
H A Ddxa_decoder.cpp234 b2 += _width; in decode12()
245 b2 += _width; in decode12()
254 b2 += _width; in decode12()
269 b1 += _width; in decode12()
270 b2 += _width; in decode12()
330 b2 += _width; in decode13()
341 b2 += _width; in decode13()
521 memcpy(&_scaledBuffer[2 * cy * _width], &_frameBuffer1[cy * _width], _width); in decodeNextFrame()
522 memset(&_scaledBuffer[((2 * cy) + 1) * _width], 0, _width); in decodeNextFrame()
528 memcpy(&_scaledBuffer[2 * cy * _width], &_frameBuffer1[cy * _width], _width); in decodeNextFrame()
[all …]
/dports/games/residualvm/residualvm-0.3.1/video/
H A Ddxa_decoder.cpp234 b2 += _width; in decode12()
245 b2 += _width; in decode12()
254 b2 += _width; in decode12()
269 b1 += _width; in decode12()
270 b2 += _width; in decode12()
330 b2 += _width; in decode13()
341 b2 += _width; in decode13()
521 memcpy(&_scaledBuffer[2 * cy * _width], &_frameBuffer1[cy * _width], _width); in decodeNextFrame()
522 memset(&_scaledBuffer[((2 * cy) + 1) * _width], 0, _width); in decodeNextFrame()
528 memcpy(&_scaledBuffer[2 * cy * _width], &_frameBuffer1[cy * _width], _width); in decodeNextFrame()
[all …]
/dports/games/scummvm/scummvm-2.5.1/video/
H A Ddxa_decoder.cpp234 b2 += _width; in decode12()
245 b2 += _width; in decode12()
254 b2 += _width; in decode12()
269 b1 += _width; in decode12()
270 b2 += _width; in decode12()
330 b2 += _width; in decode13()
341 b2 += _width; in decode13()
522 memcpy(&_scaledBuffer[2 * cy * _width], &_frameBuffer1[cy * _width], _width); in decodeNextFrame()
523 memset(&_scaledBuffer[((2 * cy) + 1) * _width], 0, _width); in decodeNextFrame()
529 memcpy(&_scaledBuffer[2 * cy * _width], &_frameBuffer1[cy * _width], _width); in decodeNextFrame()
[all …]
/dports/devel/boost-docs/boost_1_72_0/boost/gil/
H A Diterator_from_2d.hpp72 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
73 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
83 if (_coords.x>=_width) { in increment()
86 _p+=point_t(-_width,1); in increment()
93 _coords.x=_width-1; in decrement()
95 _p+=point_t(_width,-1); in decrement()
104 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
106 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
107 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
115 if (_width==0) return 0; in distance_to()
[all …]
/dports/devel/hyperscan/boost_1_75_0/boost/gil/
H A Diterator_from_2d.hpp72 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
73 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
83 if (_coords.x>=_width) { in increment()
86 _p+=point_t(-_width,1); in increment()
93 _coords.x=_width-1; in decrement()
95 _p+=point_t(_width,-1); in decrement()
104 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
106 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
107 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
115 if (_width==0) return 0; in distance_to()
[all …]
/dports/games/frogatto/frogatto-1.3.1/MacOSJet/boost/include/boost/gil/
H A Diterator_from_2d.hpp82 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
83 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
92 if (_coords.x>=_width) { in increment()
95 _p+=point_t(-_width,1); in increment()
102 _coords.x=_width-1; in decrement()
104 _p+=point_t(_width,-1); in decrement()
113 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
115 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
116 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
124 if (_width==0) return 0; in distance_to()
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/boost/gil/
H A Diterator_from_2d.hpp82 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
83 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
92 if (_coords.x>=_width) { in increment()
95 _p+=point_t(-_width,1); in increment()
102 _coords.x=_width-1; in decrement()
104 _p+=point_t(_width,-1); in decrement()
113 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
115 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
116 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
124 if (_width==0) return 0; in distance_to()
[all …]
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/gil/
H A Diterator_from_2d.hpp72 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
73 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
83 if (_coords.x>=_width) { in increment()
86 _p+=point_t(-_width,1); in increment()
93 _coords.x=_width-1; in decrement()
95 _p+=point_t(_width,-1); in decrement()
104 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
106 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
107 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
115 if (_width==0) return 0; in distance_to()
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/gil/
H A Diterator_from_2d.hpp72 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
73 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
83 if (_coords.x>=_width) { in increment()
86 _p+=point_t(-_width,1); in increment()
93 _coords.x=_width-1; in decrement()
95 _p+=point_t(_width,-1); in decrement()
104 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
106 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
107 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
115 if (_width==0) return 0; in distance_to()
[all …]
/dports/databases/percona57-server/boost_1_59_0/boost/gil/
H A Diterator_from_2d.hpp82 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
83 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
92 if (_coords.x>=_width) { in increment()
95 _p+=point_t(-_width,1); in increment()
102 _coords.x=_width-1; in decrement()
104 _p+=point_t(_width,-1); in decrement()
113 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
115 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
116 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
124 if (_width==0) return 0; in distance_to()
[all …]
/dports/databases/xtrabackup/boost_1_59_0/boost/gil/
H A Diterator_from_2d.hpp82 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
83 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
92 if (_coords.x>=_width) { in increment()
95 _p+=point_t(-_width,1); in increment()
102 _coords.x=_width-1; in decrement()
104 _p+=point_t(_width,-1); in decrement()
113 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
115 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
116 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
124 if (_width==0) return 0; in distance_to()
[all …]
/dports/databases/percona57-client/boost_1_59_0/boost/gil/
H A Diterator_from_2d.hpp82 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
83 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
92 if (_coords.x>=_width) { in increment()
95 _p+=point_t(-_width,1); in increment()
102 _coords.x=_width-1; in decrement()
104 _p+=point_t(_width,-1); in decrement()
113 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
115 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
116 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
124 if (_width==0) return 0; in distance_to()
[all …]
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/boost-for-react-native/boost/gil/
H A Diterator_from_2d.hpp82 …iterator_from_2d(const iterator_from_2d& pit) : _coords(pit._coords), _width(pit._width), _p(pit._… in iterator_from_2d()
83 …r_from_2d(const iterator_from_2d<Loc>& pit) : _coords(pit._coords), _width(pit._width), _p(pit._p)… in iterator_from_2d()
92 if (_coords.x>=_width) { in increment()
95 _p+=point_t(-_width,1); in increment()
102 _coords.x=_width-1; in decrement()
104 _p+=point_t(_width,-1); in decrement()
113 delta.y=(_coords.x+(std::ptrdiff_t)d)/_width; in advance()
115 delta.x=(_coords.x+(std::ptrdiff_t)d*(1-_width))%_width -_coords.x; in advance()
116 delta.y=-(_width-_coords.x-(std::ptrdiff_t)d-1)/_width; in advance()
124 if (_width==0) return 0; in distance_to()
[all …]

12345678910>>...166