/dports/astro/openuniverse/openuniverse-1.0beta3/src/ |
H A D | astrolib.cpp | 337 sumL = sumB = sumR = 0.0; in PlutoPos() 524 sumR += (-16 * sa) + ca; in PlutoPos() 545 sumR += (2 * sa) + (9 * ca); in PlutoPos() 552 sumR += (12 * sa) + (5 * ca); in PlutoPos() 559 sumR += sa - 3.0 * ca; in PlutoPos() 566 sumR += sa; in PlutoPos() 573 sumR += (9 * sa) + (5 * ca); in PlutoPos() 580 sumR += (2 * sa) - ca; in PlutoPos() 628 sumR += 7 * sa; in PlutoPos() 680 sumL = sumB = sumR = 0.0; in MoonPos() [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/airwindows/src/ |
H A D | BassDriveProc.cpp | 21 double sumR; in processReplacing() local 37 sumR = 0.0; in processReplacing() 138 sumR += midOutAR[6]; in processReplacing() 169 sumR += lowOutAR[6]; in processReplacing() 270 sumR += midOutBR[6]; in processReplacing() 301 sumR += lowOutBR[6]; in processReplacing() 345 double sumR; in processDoubleReplacing() local 361 sumR = 0.0; in processDoubleReplacing() 462 sumR += midOutAR[6]; in processDoubleReplacing() 493 sumR += lowOutAR[6]; in processDoubleReplacing() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/xphoto/src/ |
H A D | grayworld_white_balance.cpp | 73 uint sumB = 0, sumG = 0, sumR = 0; in balanceWhite() local 74 calculateChannelSums(sumB, sumG, sumR, src.ptr<uchar>(), N3, thresh); in balanceWhite() 77 dsumR = (double)sumR; in balanceWhite() 81 uint64 sumB = 0, sumG = 0, sumR = 0; in balanceWhite() local 85 dsumR = (double)sumR; in balanceWhite() 105 sumB = sumG = sumR = 0; in calculateChannelSums() 152 sumR = v_reduce_sum(v_SR); in calculateChannelSums() 163 sumR += src_data[i + 2]; in calculateChannelSums() 172 sumB = sumG = sumR = 0; in calculateChannelSums() 224 sumR = sum_arr[0] + sum_arr[1]; in calculateChannelSums() [all …]
|
H A D | learning_based_color_balance.cpp | 262 uint sumB = 0, sumG = 0, sumR = 0; in getAverageAndBrightestColorChromaticity() local 313 sumR = v_reduce_sum(v_SR); in getAverageAndBrightestColorChromaticity() 337 sumR += src_ptr[3 * i + 2]; in getAverageAndBrightestColorChromaticity() 347 double maxRGB = (double)max(sumR, max(sumG, sumB)); in getAverageAndBrightestColorChromaticity() 348 …getChromaticity(average_chromaticity, (float)(sumR / maxRGB), (float)(sumG / maxRGB), (float)(sumB… in getAverageAndBrightestColorChromaticity() 353 uint64 sumB = 0, sumG = 0, sumR = 0; in getAverageAndBrightestColorChromaticity() local 409 sumR = sum_arr[0] + sum_arr[1]; in getAverageAndBrightestColorChromaticity() 433 sumR += src_ptr[3 * i + 2]; in getAverageAndBrightestColorChromaticity() 443 double maxRGB = (double)max(sumR, max(sumG, sumB)); in getAverageAndBrightestColorChromaticity() 444 …getChromaticity(average_chromaticity, (float)(sumR / maxRGB), (float)(sumG / maxRGB), (float)(sumB… in getAverageAndBrightestColorChromaticity()
|
/dports/graphics/nurbs++/nurbs++-3.0.11/matrix/ |
H A D | matrix_complex.cpp | 32 double sumR, sumI, maxsum; in norm() local 38 sumR = 0.0 ; in norm() 41 sumR += real(*ptr)*real(*ptr) ; in norm() 45 maxsum = (maxsum>(sumR+sumI)) ? maxsum : (sumR+sumI); in norm() 47 maxsum = (sumR+sumI) ; in norm()
|
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/ |
H A D | bgrafilterblur.pas | 289 IncExt(ex.sumR, TExtendedRowValue(sumR)*w); 305 inc(total.sumR, (sumR*w+addDiv2) shr horizontalWeightShift ); 318 inc(total.sumR, sumR*w ); 340 v := round(sum.sumR/sum.rgbDiv); 768 sumR, sumG, sumB, 777 sumR := 0; 851 sumR := 0; 942 sumR, sumG, sumB, sumA, Adiv : int64; 949 sumR := 0; 1059 sumR, sumG, sumB, sumA, Adiv : single; [all …]
|
H A D | bgrafilterscanner.pas | 347 sumR, sumG, sumB, sumA, nbA: UInt32or64; 357 sumR := 0; 365 …with PTop[0] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(sum… 366 …with PTop[1] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(sum… 367 …with PTop[2] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(sum… 368 …with PMiddle[0] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 369 …with PMiddle[2] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 370 …with PBottom[0] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 371 …with PBottom[1] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 372 …with PBottom[2] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… [all …]
|
H A D | multishapeline.inc | 28 inc(sumR,ec.red*w); 53 inc(sumR,ec.red*w);
|
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/ |
H A D | bgrafilterblur.pas | 289 IncExt(ex.sumR, TExtendedRowValue(sumR)*w); 305 inc(total.sumR, (sumR*w+addDiv2) shr horizontalWeightShift ); 318 inc(total.sumR, sumR*w ); 340 v := round(sum.sumR/sum.rgbDiv); 768 sumR, sumG, sumB, 777 sumR := 0; 851 sumR := 0; 942 sumR, sumG, sumB, sumA, Adiv : int64; 949 sumR := 0; 1059 sumR, sumG, sumB, sumA, Adiv : single; [all …]
|
H A D | bgrafilterscanner.pas | 347 sumR, sumG, sumB, sumA, nbA: UInt32or64; 357 sumR := 0; 365 …with PTop[0] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(sum… 366 …with PTop[1] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(sum… 367 …with PTop[2] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(sum… 368 …with PMiddle[0] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 369 …with PMiddle[2] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 370 …with PBottom[0] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 371 …with PBottom[1] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… 372 …with PBottom[2] do if alpha <> 0 then begin inc(sumR, red * alpha); inc(sumG, green * alpha); inc(… [all …]
|
H A D | multishapeline.inc | 28 inc(sumR,ec.red*w); 53 inc(sumR,ec.red*w);
|
/dports/graphics/hugin/hugin-2020.0.0/src/celeste/ |
H A D | GaborJet.cpp | 115 float sumI, sumR; // sum of imaginary and of real parts in Filter() local 126 sumR = 0.0; in Filter() 148 sumR += image[gy][gx] * mFilters[a][f].GetReal(i,j); in Filter() 152 mFiducials[h] = sqrt( sumR*sumR + sumI*sumI ); in Filter()
|
/dports/math/spooles-mpich/spooles.2.2_SHARED/ILUMtx/src/ |
H A D | solve.c | 288 double LI, LR, sumI, sumR, yI, yR, *ent ; in ILUMtx_solveVector() local 295 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 299 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 302 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 312 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 316 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 319 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 433 double sumI, sumR, UI, UR, xI, xR, *ent ; in ILUMtx_solveVector() local 439 sumR = sumI = 0.0 ; in ILUMtx_solveVector() 443 sumR += xR*UR - xI*UI ; in ILUMtx_solveVector() [all …]
|
/dports/math/spooles-mpich/spooles.2.2/ILUMtx/src/ |
H A D | solve.c | 288 double LI, LR, sumI, sumR, yI, yR, *ent ; in ILUMtx_solveVector() local 295 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 299 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 302 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 312 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 316 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 319 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 433 double sumI, sumR, UI, UR, xI, xR, *ent ; in ILUMtx_solveVector() local 439 sumR = sumI = 0.0 ; in ILUMtx_solveVector() 443 sumR += xR*UR - xI*UI ; in ILUMtx_solveVector() [all …]
|
/dports/math/spooles/spooles.2.2_SHARED/ILUMtx/src/ |
H A D | solve.c | 288 double LI, LR, sumI, sumR, yI, yR, *ent ; in ILUMtx_solveVector() local 295 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 299 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 302 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 312 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 316 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 319 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 433 double sumI, sumR, UI, UR, xI, xR, *ent ; in ILUMtx_solveVector() local 439 sumR = sumI = 0.0 ; in ILUMtx_solveVector() 443 sumR += xR*UR - xI*UI ; in ILUMtx_solveVector() [all …]
|
/dports/math/spooles/spooles.2.2/ILUMtx/src/ |
H A D | solve.c | 288 double LI, LR, sumI, sumR, yI, yR, *ent ; in ILUMtx_solveVector() local 295 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 299 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 302 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 312 sumI = sumR = 0.0 ; in ILUMtx_solveVector() 316 sumR += yR*LR - yI*LI ; in ILUMtx_solveVector() 319 work[2*ieqn] -= sumR ; in ILUMtx_solveVector() 433 double sumI, sumR, UI, UR, xI, xR, *ent ; in ILUMtx_solveVector() local 439 sumR = sumI = 0.0 ; in ILUMtx_solveVector() 443 sumR += xR*UR - xI*UI ; in ILUMtx_solveVector() [all …]
|
/dports/multimedia/shotcut/shotcut-21.03.21/src/qmltypes/ |
H A D | colorpickeritem.cpp | 56 int sumR = 0; in grabColor() local 63 sumR += color.red(); in grabColor() 69 QColor avgColor(sumR / numPixel, sumG / numPixel, sumB / numPixel); in grabColor()
|
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/ |
H A D | PolicyPrototype.cpp | 199 ResType sumR = sumSet(rSet); in main() local 202 bool test1 = (sumP < sumR && sumR < sumI); in main() 213 bool test2 = (sumSet(totIndSet) == (sumP + sumR + sumI)); in main()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/filters/fx/ |
H A D | blurfxfilter.cpp | 155 int sumR, sumG, sumB, nCount=0; in zoomBlurMultithreaded() local 175 sumR = sumG = sumB = nCount = 0; in zoomBlurMultithreaded() 197 sumR += color.red(); in zoomBlurMultithreaded() 215 color.setRed(sumR / nCount); in zoomBlurMultithreaded() 310 int sumR, sumG, sumB, nw, nh; in radialBlurMultithreaded() local 353 sumR += color.red(); in radialBlurMultithreaded() 371 color.setRed(sumR / nCount); in radialBlurMultithreaded() 532 sumR = sumG = sumB = 0; in motionBlurMultithreaded() 545 sumR += color.red(); in motionBlurMultithreaded() 1148 int sumR, sumG, sumB, nCount; in smartBlurStage1Multithreaded() local [all …]
|
/dports/editors/calligra/calligra-3.2.1/plugins/shapefiltereffects/ |
H A D | ConvolveMatrixEffect.cpp | 165 qreal sumA, sumR, sumG, sumB; in processImage() local 179 sumA = sumR = sumG = sumB = 0; in processImage() 218 sumR += qRed(s) * k; in processImage() 223 dst[dstPixel] = qRgba( qBound(0, static_cast<int>(sumR / divisor + m_bias), 255), in processImage() 228 dst[dstPixel] = qRgba( qBound(0, static_cast<int>(sumR / divisor + m_bias), 255), in processImage()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bvgl/ |
H A D | bvgl_volume_of_intersection.hxx | 47 T sumR = r0 + r1; in bvgl_volume_of_intersection() local 48 if (d > difR && d < sumR) in bvgl_volume_of_intersection()
|
/dports/astro/kstars/kstars-3.5.6/kstars/skyobjects/ |
H A D | ksmoon.cpp | 157 double sumL, sumR, sumB; in findGeocentricPosition() local 186 sumR = 0.0; in findGeocentricPosition() 202 sumR += E * mlrd.Ri * cos(mlrd.nd * D + mlrd.nm * M + mlrd.nm1 * M1 + mlrd.nf * F); in findGeocentricPosition() 227 Rearth = (385000.56 + sumR / 1000.0) / AU_KM; //distance from Earth, in AU in findGeocentricPosition()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dimg/ |
H A D | dimg_props.cpp | 477 float sumR = 0.0; in getSubPixelColor() local 500 sumR += d * src.red(); in getSubPixelColor() 507 col.setRed(normalizeAndClamp(norm, sumR, max)); in getSubPixelColor() 523 int sumR = 0; in getSubPixelColor() local 553 sumR += d * src.red(); in getSubPixelColor() 560 col.setRed(normalizeAndClamp(norm, sumR, max)); in getSubPixelColor()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/ogl/ |
H A D | intersect.cl | 28 float sumR = r0 + r1; 29 if (d > difR && d < sumR)
|
/dports/math/openturns/openturns-1.18/lib/src/Uncertainty/Algorithm/MetaModel/TensorApproximation/ |
H A D | CanonicalTensorEvaluation.cxx | 202 Scalar sumR = 0.0; in operator ()() local 205 sumR += prodI[i]; in operator ()() 208 const Point outP(1, sumR); in operator ()()
|