/dports/misc/gpsim/gpsim-0.31.0/extras/lcd/ |
H A D | raw_lcd.cc | 186 float spacer, hskip, fslope, bslope, midpt, seg_width, segxw; in build_segments() local 203 fslope = 1 / (segxw / seg_width + 1 / slope); in build_segments() 209 invsinphi = sqrt(1 + fslope * fslope) / fslope; in build_segments() 210 invcosphi = sqrt(1 + 1 / (fslope * fslope)) * fslope; in build_segments() 214 dx1 = hskip * invsinphi / (slope / fslope - 1); in build_segments() 215 dy1 = hskip * invcosphi / (1 - fslope / slope); in build_segments() 220 dx5 = hskip * invsinpsi / (1 - fslope / bslope); in build_segments() 221 dy5 = hskip * invcospsi / (bslope / fslope - 1); in build_segments()
|
/dports/misc/gpsim/gpsim-0.31.0/modules/ |
H A D | led.cc | 218 float spacer, hskip, fslope, bslope, midpt, seg_width, segxw; in build_segments() local 235 fslope = 1 / (segxw / seg_width + 1 / slope); in build_segments() 241 invsinphi = sqrt(1 + fslope * fslope) / fslope; in build_segments() 242 invcosphi = sqrt(1 + 1 / (fslope * fslope)) * fslope; in build_segments() 246 dx1 = hskip * invsinphi / (slope / fslope - 1); in build_segments() 247 dy1 = hskip * invcosphi / (1 - fslope / slope); in build_segments() 252 dx5 = hskip * invsinpsi / (1 - fslope / bslope); in build_segments() 253 dy5 = hskip * invcospsi / (bslope / fslope - 1); in build_segments()
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/ |
H A D | p_slopes.c | 248 pslope_t *fslope = NULL, *cslope = NULL; in line_SpawnViaLine() local 317 fslope = line->frontsector->f_slope = in line_SpawnViaLine() 325 fslope->zangle = R_PointToAngle2(0, origin.z, extent, point.z); in line_SpawnViaLine() 326 fslope->xydirection = R_PointToAngle2(origin.x, origin.y, point.x, point.y); in line_SpawnViaLine() 328 P_CalculateSlopeNormal(fslope); in line_SpawnViaLine() 331 P_AddDynSlopeThinker(fslope, DP_FRONTFLOOR, line, extent, NULL, NULL); in line_SpawnViaLine() 379 fslope = line->backsector->f_slope = in line_SpawnViaLine() 382 fslope->zangle = R_PointToAngle2(0, origin.z, extent, point.z); in line_SpawnViaLine() 383 fslope->xydirection = R_PointToAngle2(origin.x, origin.y, point.x, point.y); in line_SpawnViaLine() 385 P_CalculateSlopeNormal(fslope); in line_SpawnViaLine() [all …]
|
/dports/graphics/mozjpeg/mozjpeg-4.0.3/ |
H A D | jcdctmgr.c | 438 DCTELEM f1, f2, l1, l2, fslope, lslope; in preprocess_deringing() local 464 fslope = MAX(f1-f2, maxsample-f1); in preprocess_deringing() 469 fslope = lslope; in preprocess_deringing() 472 lslope = fslope; in preprocess_deringing() 481 …DCTELEM tmp = ceilf(catmull_rom(maxsample - fslope, maxsample, maxsample, maxsample - lslope, posi… in preprocess_deringing() 520 FAST_FLOAT f1, f2, l1, l2, fslope, lslope; in float_preprocess_deringing() local 538 fslope = MAX(f1-f2, maxsample-f1); in float_preprocess_deringing() 542 fslope = lslope; in float_preprocess_deringing() 545 lslope = fslope; in float_preprocess_deringing() 553 …FAST_FLOAT tmp = catmull_rom(maxsample - fslope, maxsample, maxsample, maxsample - lslope, positio… in float_preprocess_deringing()
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/mozjpeg-sys-1.0.1/vendor/ |
H A D | jcdctmgr.c | 438 DCTELEM f1, f2, l1, l2, fslope, lslope; in preprocess_deringing() local 464 fslope = MAX(f1-f2, maxsample-f1); in preprocess_deringing() 469 fslope = lslope; in preprocess_deringing() 472 lslope = fslope; in preprocess_deringing() 481 …DCTELEM tmp = ceilf(catmull_rom(maxsample - fslope, maxsample, maxsample, maxsample - lslope, posi… in preprocess_deringing() 520 FAST_FLOAT f1, f2, l1, l2, fslope, lslope; in float_preprocess_deringing() local 538 fslope = MAX(f1-f2, maxsample-f1); in float_preprocess_deringing() 542 fslope = lslope; in float_preprocess_deringing() 545 lslope = fslope; in float_preprocess_deringing() 553 …FAST_FLOAT tmp = catmull_rom(maxsample - fslope, maxsample, maxsample, maxsample - lslope, positio… in float_preprocess_deringing()
|
/dports/x11-clocks/dclock/dclock/ |
H A D | Dclock.c | 850 float spacer, hskip, fslope, bslope, midpt, seg_width, segxw; local 862 fslope = 1 / (segxw/seg_width + 1/slope); 870 invsinphi = sqrt(1 + fslope * fslope) / fslope; 871 invcosphi = sqrt(1 + 1/(fslope * fslope)) * fslope; 877 dx1 = hskip * invsinphi / (slope/fslope - 1); 878 dy1 = hskip * invcosphi / (1 - fslope/slope); 883 dx5 = hskip * invsinpsi / (1 - fslope/bslope); 884 dy5 = hskip * invcospsi / (bslope/fslope - 1);
|
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/BhobUGens/ |
H A D | BhobFilt.cpp | 1499 float fslope = CALCSLOPE(nextf, f); in MultiFilt_next_kk() local 1522 f += fslope; in MultiFilt_next_kk() 1549 f += fslope; in MultiFilt_next_kk() 1725 float fslope = CALCSLOPE(nextf, f); in MultiFilt_next_ka() local 1747 f += fslope; in MultiFilt_next_ka()
|
/dports/graphics/argyllcms/Argyll_V1.9.2/scanin/ |
H A D | scanrd.c | 4173 double fslope; /* slope of line */ local 4231 fslope = (double)dy/(double)dx; 4232 fPoinc = sqrt(1.0/(1.0 + (fslope * fslope))); 4234 Painc = FLOAT_TO_FX(fPoinc * fslope);
|
/dports/graphics/argyllcms/Argyll_V1.9.2/spectro/ |
H A D | munki_imp.c | 5256 double *fslope; /* Filtered slope */ in munki_extract_patches_multimeas() local 5324 fslope = dvectorz(0, nummeas-1); in munki_extract_patches_multimeas() 5512 fslope[i] = sum/twt; in munki_extract_patches_multimeas() 5513 if (fslope[i] > fmaxslope) in munki_extract_patches_multimeas() 5514 fmaxslope = fslope[i]; in munki_extract_patches_multimeas() 5521 if (fslope[i] > fmaxslope/4.0) in munki_extract_patches_multimeas() 5522 slope[i] = slope[i]/fslope[i]; in munki_extract_patches_multimeas() 5576 free_dvector(fslope, 0, nummeas-1); in munki_extract_patches_multimeas()
|
H A D | i1pro_imp.c | 6440 double *fslope; /* Filtered slope */ local 6513 fslope = dvectorz(0, nummeas-1); 6700 fslope[i] = sum/twt; 6701 if (fslope[i] > fmaxslope) 6702 fmaxslope = fslope[i]; 6709 if (fslope[i] > fmaxslope/4.0) 6710 slope[i] = slope[i]/fslope[i]; 6764 free_dvector(fslope, 0, nummeas-1);
|
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | engine.cpp | 5804 float const fslope = (float)slope; in classicDrawSprite() local 5826 sgzx = sg_f2.y*fslope*(1.f/256.f) + (1-globalhoriz)*sgzd*(1.f/1024.f); in classicDrawSprite() 5827 sgz = sg_f.y*fslope*(1.f/65536.f); in classicDrawSprite() 5847 … sdaz = fslope*(fsinang*float(rxi[0])+fcosang*float(rzi[0]))*(1.f/262144.f) + float(daz)*256.f; in classicDrawSprite()
|