Home
last modified time | relevance | path

Searched refs:patchWidth (Results 1 – 25 of 96) sorted by relevance

1234

/dports/graphics/appleseed/appleseed-2.1.0-beta/src/thirdparty/bcd/bcd/
H A DSpikeRemovalFilter.cpp34 const int patchWidth = 2 * patchRadius + 1; in filter() local
35 const int nbOfNeighbors = patchWidth * patchWidth; in filter()
86 int medianLine = patchCenterLine - patchRadius + (medianIndex / patchWidth); in filter()
87 int medianColumn = patchCenterColumn - patchRadius + (medianIndex % patchWidth); in filter()
103 const int patchWidth = 2 * patchRadius + 1; in filter() local
104 const int nbOfNeighbors = patchWidth * patchWidth; in filter()
152 int medianLine = patchCenterLine - patchRadius + (medianIndex / patchWidth); in filter()
153 int medianColumn = patchCenterColumn - patchRadius + (medianIndex % patchWidth); in filter()
/dports/graphics/ebsynth/ebsynth-2f5c97c0c21a/src/
H A Debsynth_cpu.cpp22 const int patchWidth) in nnfInit() argument
28 NNF[xy] = V2i(patchWidth+rand()%(sizeB(0)-2*patchWidth), in nnfInit()
29 patchWidth+rand()%(sizeB(1)-2*patchWidth)); in nnfInit()
472 const int r = patchWidth/2; in updateOmega()
477 for(int j=0;j<patchWidth;j++) in updateOmega()
490 const int r = patchWidth/2; in patchOmega()
497 for(int j=0;j<patchWidth;j++) in patchOmega()
513 …const float curOcc = (float(patchOmega(patchWidth,N(axy),Omega))/float(patchWidth*patchWidth))/ome… in tryPatch()
514 …const float newOcc = (float(patchOmega(patchWidth, bxy,Omega))/float(patchWidth*patchWidth))/ome… in tryPatch()
542 const int w = patchWidth; in patchmatch()
[all …]
H A Debsynth_cuda.cu80 __global__ void krnlEvalErrorPass(const int patchWidth, in krnlEvalErrorPass() argument
97 const int r = patchWidth/2; in updateOmega()
111 const int r = patchWidth/2; in patchOmega()
130 const int patchWidth, in tryPatch() argument
141 float(sizeB(0)*sizeB(1))) * float(patchWidth*patchWidth); in tryPatch()
143 …const float curOcc = (float(patchOmega(patchWidth,nbest(0),nbest(1),Omega))/float(patchWidth*patch… in tryPatch()
144 …const float newOcc = (float(patchOmega(patchWidth, bx, by,Omega))/float(patchWidth*patch… in tryPatch()
151 updateOmega(Omega,patchWidth, bx, by,+1); in tryPatch()
173 const int hpw = patchWidth/2; in tryNeighborsOffset()
235 const int hpw = patchWidth/2; in tryRandomOffsetInRadius()
[all …]
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/imaging/
H A DossimTilePatch.cpp338 long patchWidth = patchRect.width(); in fillTileTemplate() local
339 long patchCenterOffset = (long)(patchWidth*startDelta.y + startDelta.x); in fillTileTemplate()
340 long patchConvolutionOffsetDelta = patchWidth*convolutionOffsetY + convolutionOffsetX; in fillTileTemplate()
364 patchWidth, in fillTileTemplate()
378 patchLineStartOffset += patchWidth; in fillTileTemplate()
389 patchCenterOffset = (long)(patchWidth*startDelta.y + startDelta.x); in fillTileTemplate()
401 patchWidth, in fillTileTemplate()
409 patchLineStartOffset += patchWidth; in fillTileTemplate()
427 long patchWidth = thePatchData->getWidth(); in fillTileTemplate() local
453 if( (xPixel >=0) && (xPixel < patchWidth) && in fillTileTemplate()
[all …]
H A DossimConvolutionSource.cpp294 long patchWidth = patchRect.width(); in convolve() local
311 convolutionCenterOffset = patchWidth*(startDelta.y + y) + startDelta.x; in convolve()
312 …convolutionTopLeftOffset = patchWidth*(startDelta.y + y - convolutionOffsetY) + startDelta.x-convo… in convolve()
323 patchWidth, in convolve()
356 …convolutionTopLeftOffset = patchWidth*(startDelta.y + y - convolutionOffsetY) + startDelta.x-convo… in convolve()
361 patchWidth, in convolve()
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake3/q3map2/
H A Dtjunction.c282 for ( i = 0 ; i < ds->patchWidth - 2; i+=2 ) { in AddPatchEdges()
292 v1 = ds->verts[ ( ds->patchHeight - 1 ) * ds->patchWidth + i ].xyz; in AddPatchEdges()
293 v2 = ds->verts[ ( ds->patchHeight - 1 ) * ds->patchWidth + i + 1 ].xyz; in AddPatchEdges()
294 v3 = ds->verts[ ( ds->patchHeight - 1 ) * ds->patchWidth + i + 2 ].xyz; in AddPatchEdges()
303 v1 = ds->verts[ i * ds->patchWidth ].xyz; in AddPatchEdges()
304 v2 = ds->verts[ ( i + 1 ) * ds->patchWidth ].xyz; in AddPatchEdges()
305 v3 = ds->verts[ ( i + 2 ) * ds->patchWidth ].xyz; in AddPatchEdges()
312 v1 = ds->verts[ ( ds->patchWidth - 1 ) + i * ds->patchWidth ].xyz; in AddPatchEdges()
313 v2 = ds->verts[ ( ds->patchWidth - 1 ) + ( i + 1 ) * ds->patchWidth ].xyz; in AddPatchEdges()
314 v3 = ds->verts[ ( ds->patchWidth - 1 ) + ( i + 2 ) * ds->patchWidth ].xyz; in AddPatchEdges()
H A Dlightmaps.c111 mesh.width = ds->patchWidth; in AllocateLightmapForPatch()
164 for ( i = 0 ; i < ds->patchWidth ; i++ ) { in AllocateLightmapForPatch()
182 verts[i + j * ds->patchWidth].lightmap[0] = ( s + 0.5 ) / LIGHTMAP_WIDTH; in AllocateLightmapForPatch()
183 verts[i + j * ds->patchWidth].lightmap[1] = ( t + 0.5 ) / LIGHTMAP_HEIGHT; in AllocateLightmapForPatch()
H A Dbspfile_ibsp.c167 int patchWidth; member
220 out->patchWidth = in->patchWidth; in CopyDrawSurfacesLump()
265 out->patchWidth = in->patchWidth; in AddDrawSurfacesLump()
H A Dconvert_map.c242 fprintf( f, "\t\t\t( %d %d 0 0 0 )\n", ds->patchWidth, ds->patchHeight ); in ConvertPatch()
246 for( x = 0; x < ds->patchWidth; x++ ) in ConvertPatch()
255 dv = &bspDrawVerts[ ds->firstVert + (y * ds->patchWidth) + x ]; in ConvertPatch()
H A Dsurface_foliage.c216 srcMesh.width = src->patchWidth; in Foliage()
291 ds->patchWidth = ds->numFoliageInstances; in Foliage()
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/q3map2/
H A Dtjunction.c277 for ( i = 0 ; i < ds->patchWidth - 2; i += 2 ) { in AddPatchEdges()
287 v1 = ds->verts[ ( ds->patchHeight - 1 ) * ds->patchWidth + i ].xyz; in AddPatchEdges()
288 v2 = ds->verts[ ( ds->patchHeight - 1 ) * ds->patchWidth + i + 1 ].xyz; in AddPatchEdges()
289 v3 = ds->verts[ ( ds->patchHeight - 1 ) * ds->patchWidth + i + 2 ].xyz; in AddPatchEdges()
298 v1 = ds->verts[ i * ds->patchWidth ].xyz; in AddPatchEdges()
299 v2 = ds->verts[ ( i + 1 ) * ds->patchWidth ].xyz; in AddPatchEdges()
300 v3 = ds->verts[ ( i + 2 ) * ds->patchWidth ].xyz; in AddPatchEdges()
307 v1 = ds->verts[ ( ds->patchWidth - 1 ) + i * ds->patchWidth ].xyz; in AddPatchEdges()
308 v2 = ds->verts[ ( ds->patchWidth - 1 ) + ( i + 1 ) * ds->patchWidth ].xyz; in AddPatchEdges()
309 v3 = ds->verts[ ( ds->patchWidth - 1 ) + ( i + 2 ) * ds->patchWidth ].xyz; in AddPatchEdges()
H A Dbspfile_ibsp.c166 int patchWidth; member
218 out->patchWidth = in->patchWidth; in CopyDrawSurfacesLump()
262 out->patchWidth = in->patchWidth; in AddDrawSurfacesLump()
H A Dsurface.c1148 ds->patchWidth = mesh->width; in DrawSurfaceForMesh()
1150 ds->numVerts = ds->patchWidth * ds->patchHeight; in DrawSurfaceForMesh()
2259 for ( x = 0; x + 2 < ds->patchWidth; x += 2 ) in FilterPatchIntoTree()
2262 points[0] = &ds->verts[( y + 0 ) * ds->patchWidth + ( x + 0 )].xyz; in FilterPatchIntoTree()
2263 points[1] = &ds->verts[( y + 0 ) * ds->patchWidth + ( x + 1 )].xyz; in FilterPatchIntoTree()
2620 for ( i = 0; i < ( ds->patchWidth / 2 ); i++ ) in EmitPatchSurface()
2622 dv1 = &ds->verts[ j * ds->patchWidth + i ]; in EmitPatchSurface()
2623 dv2 = &ds->verts[ j * ds->patchWidth + ( ds->patchWidth - i - 1 ) ]; in EmitPatchSurface()
2666 out->patchWidth = ds->patchWidth; in EmitPatchSurface()
2881 out->patchWidth = ds->patchWidth; in EmitTriangleSurface()
[all …]
H A Dsurface_foliage.c221 srcMesh.width = src->patchWidth; in Foliage()
297 ds->patchWidth = ds->numFoliageInstances; in Foliage()
/dports/graphics/krita/krita-4.4.8/libs/ui/canvas/
H A Dkis_image_pyramid.cpp187 int patchWidth = config.updatePatchWidth(); in setImage() local
190 if (rc.width() * rc.height() <= patchWidth * patchHeight) { in setImage()
194 qint32 firstCol = rc.x() / patchWidth; in setImage()
197 qint32 lastCol = (rc.x() + rc.width()) / patchWidth; in setImage()
202 QRect maxPatchRect(j * patchWidth, in setImage()
204 patchWidth, patchHeight); in setImage()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudaoptflow/src/cuda/
H A Dpyrlk.cu911 const int patchWidth = blockDim.x + 2 * c_halfWin_x; in denseKernel() local
915 int* dIdx_patch = I_patch + patchWidth * patchHeight; in denseKernel()
916 int* dIdy_patch = dIdx_patch + patchWidth * patchHeight; in denseKernel()
923 for (int j = threadIdx.x; j < patchWidth; j += blockDim.x) in denseKernel()
928 I_patch[i * patchWidth + j] = tex2D(tex_If, x, y); in denseKernel()
957 int dIdx = dIdx_patch[(threadIdx.y + i) * patchWidth + (threadIdx.x + j)]; in denseKernel()
958 int dIdy = dIdy_patch[(threadIdx.y + i) * patchWidth + (threadIdx.x + j)]; in denseKernel()
1006 int I = I_patch[(threadIdx.y + i) * patchWidth + threadIdx.x + j]; in denseKernel()
1042 int I = I_patch[(threadIdx.y + i) * patchWidth + threadIdx.x + j]; in denseKernel()
1126 const int patchWidth = block.x + 2 * halfWin.x; in dense() local
[all …]
/dports/graphics/krita/krita-4.4.8/libs/flake/svg/
H A DSvgMeshArray.cpp57 qreal patchWidth = size.width() / ncols; in createDefaultMesh() local
61 patchWidth /= size.width(); in createDefaultMesh()
64 QRectF start(0, 0, patchWidth, patchHeight); in createDefaultMesh()
99 start.setWidth(patchWidth); in createDefaultMesh()
104 start.setSize({patchWidth, patchHeight}); in createDefaultMesh()
/dports/graphics/krita/krita-4.4.8/plugins/dockers/advancedcolorselector/
H A Dkis_shade_selector_line.cpp141 qreal patchWidth = (width()-patchSpacing*patchCount)/qreal(patchCount); in paintEvent() local
179 QRect patchRect(z * (patchWidth + patchSpacing), 0, patchWidth, m_lineHeight); in paintEvent()
/dports/graphics/colmap/colmap-3.6/lib/VLFeat/
H A Dcovdet.c2314 vl_index patchWidth = x1i - x0i + 1 ; in vl_covdet_extract_patch_helper() local
2325 float *dst = self->patch + (yi - y0i) * patchWidth ; in vl_covdet_extract_patch_helper()
2329 for ( ; xi < x0i + patchWidth ; ++xi) *dst++ = *src ; in vl_covdet_extract_patch_helper()
2333 memcpy(self->patch + yi * patchWidth, in vl_covdet_extract_patch_helper()
2334 self->patch + pady0 * patchWidth, in vl_covdet_extract_patch_helper()
2335 patchWidth * sizeof(float)) ; in vl_covdet_extract_patch_helper()
2338 memcpy(self->patch + yi * patchWidth, in vl_covdet_extract_patch_helper()
2339 self->patch + (patchHeight - pady1 - 1) * patchWidth, in vl_covdet_extract_patch_helper()
2340 patchWidth * sizeof(float)) ; in vl_covdet_extract_patch_helper()
2350 vl_pgm_write_f(name, patch, patchWidth, patchWidth) ; in vl_covdet_extract_patch_helper()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/image/
H A Dkis_image_config.cpp117 int patchWidth = m_config.readEntry("updatePatchWidth", 512); in updatePatchWidth() local
118 if (patchWidth <= 0) return 512; in updatePatchWidth()
119 return patchWidth; in updatePatchWidth()
/dports/games/gtkradiant/GPL/GtkRadiant/contrib/bobtoolz/
H A Dbsploader.h83 int patchWidth; member
/dports/games/netradiant/netradiant-20150621-src/contrib/bobtoolz/
H A Dbsploader.h86 int patchWidth; member
/dports/games/dhewm3/dhewm3-1.5.1/neo/idlib/geometry/
H A DSurface_Patch.h51 void SetSize( int patchWidth, int patchHeight );
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/
H A Dlodspheremesh.cpp498 float patchWidth = 1.0f / (float) width; in render() local
507 glTranslatef(-0.5f + j * patchWidth, in render()
516 glVertex3f(patchWidth, -patchHeight, 0.0f); in render()
517 glVertex3f(patchWidth, 0.0f, 0.0f); in render()
/dports/astro/celestia/celestia-1.6.1/src/celengine/
H A Dlodspheremesh.cpp498 float patchWidth = 1.0f / (float) width; in render() local
507 glTranslatef(-0.5f + j * patchWidth, in render()
516 glVertex3f(patchWidth, -patchHeight, 0.0f); in render()
517 glVertex3f(patchWidth, 0.0f, 0.0f); in render()

1234