/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Graphics/Bitmap_fonts/ |
H A D | glyph_shrink.cpp | 94 else middle= first- ((xfactor-rest)>>1); in get_hor_shift() 166 int X1= my_div (x1, xfactor); in shrink() 167 int X2= my_div (x2+xfactor-1, xfactor); in shrink() 174 int frac_x= (dx- gl->xoff- X1*xfactor); in shrink() 176 SI off_x = (((-X1) *xfactor+ dx)*PIXEL + ((tx*PIXEL)>>1))/xfactor; in shrink() 193 int X, Y, sum, nr= xfactor*yfactor; in shrink() 201 indey= ((Y-Y1)*ww+ (X-X1))*xfactor; in shrink() 203 for (i=0; i<xfactor; i++) in shrink() 219 int nr= xfactor*yfactor; in shrink() 224 int tx= xfactor/3; in shrink() [all …]
|
/dports/graphics/svgalib/svgalib-1.4.3/gl/ |
H A D | scale.c | 53 int xfactor; in gl_scalebox() local 125 sx += xfactor; in gl_scalebox() 127 sx += xfactor; in gl_scalebox() 129 sx += xfactor; in gl_scalebox() 131 sx += xfactor; in gl_scalebox() 133 sx += xfactor; in gl_scalebox() 135 sx += xfactor; in gl_scalebox() 137 sx += xfactor; in gl_scalebox() 139 sx += xfactor; in gl_scalebox() 145 sx += xfactor; in gl_scalebox() [all …]
|
/dports/graphics/libcaca/libcaca-0.99.beta19/src/ |
H A D | cacaview.c | 59 float xfactor = 1.0, yfactor = 1.0, dx = 0.5, dy = 0.5; variable 266 if(xfactor > 1.0) dx -= PAD_STEP / xfactor; in main() 273 if(xfactor > 1.0) dx += PAD_STEP / xfactor; in main() 376 xdelta = (xfactor > 1.0) ? dx : 0.5; in main() 379 draw_checkers(ww * (1.0 - xfactor) / 2, in main() 381 ww * xfactor, height * yfactor); in main() 492 xfactor = (zoom < 0) ? 1.0 / zoomtab[-zoom] : zoomtab[zoom]; in set_zoom() 493 yfactor = xfactor * ww / height * im->h / im->w in set_zoom() 497 if(yfactor > xfactor) in set_zoom() 499 float tmp = xfactor; in set_zoom() [all …]
|
/dports/misc/gpsim/gpsim-0.31.0/extras/lcd/ |
H A D | raw_lcd.cc | 189 float xfactor, temp_xpts[4]; in build_segments() local 229 xfactor = w - 2 * spacer - h / slope - segxw; in build_segments() 237 pts[2].x = pts[5].x + xfactor; in build_segments() 240 pts[3].x = temp_xpts[0] + xfactor - dx3; in build_segments() 244 pts[1].x = pts[0].x - segxw + xfactor; in build_segments() 248 pts[2].x = pts[5].x + xfactor; in build_segments() 259 pts[2].x = pts[5].x + xfactor; in build_segments() 260 pts[3].x = spacer + xfactor + dx3; in build_segments() 295 pts[1].x = temp_xpts[3] + xfactor + dx1; in build_segments() 296 pts[2].x = seg_pts[MIDDLE][0].x + xfactor; in build_segments() [all …]
|
/dports/graphics/povray36/povray-3.6.1/scenes/animations/boing/ |
H A D | boing1.pov | 7 #declare xfactor = clock*4; 9 #switch (xfactor) 12 #declare spherex = 50*xfactor; 16 #declare spherex = 50*(2-xfactor); 20 #declare spherex = -50*(4-xfactor);
|
H A D | glsbng.pov | 8 #declare xfactor = clock*4; 10 #switch (xfactor) 13 #declare spherex = 50*xfactor; 17 #declare spherex = 50*(2-xfactor); 21 #declare spherex = -50*(4-xfactor);
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 842 jint xfactor, yfactor; in BicubicInterp() local 844 xfactor = URShift(xfract, 32-8); in BicubicInterp() 847 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 848 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 849 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 850 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 851 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 852 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 842 jint xfactor, yfactor; in BicubicInterp() local 844 xfactor = URShift(xfract, 32-8); in BicubicInterp() 847 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 848 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 849 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 850 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 851 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 852 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 842 jint xfactor, yfactor; in BicubicInterp() local 844 xfactor = URShift(xfract, 32-8); in BicubicInterp() 847 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 848 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 849 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 850 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 851 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 852 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/native/libawt/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/java2d/loops/ |
H A D | TransformHelper.c | 673 jint xfactor; in BilinearInterp() local 675 xfactor = URShift(xfract, 32-8); in BilinearInterp() 847 jint xfactor, yfactor; in BicubicInterp() local 849 xfactor = URShift(xfract, 32-8); in BicubicInterp() 852 BC_ACCUM(0, yfactor+256, xfactor+256); in BicubicInterp() 853 BC_ACCUM(1, yfactor+256, xfactor+ 0); in BicubicInterp() 854 BC_ACCUM(2, yfactor+256, 256-xfactor); in BicubicInterp() 855 BC_ACCUM(3, yfactor+256, 512-xfactor); in BicubicInterp() 856 BC_ACCUM(4, yfactor+ 0, xfactor+256); in BicubicInterp() 857 BC_ACCUM(5, yfactor+ 0, xfactor+ 0); in BicubicInterp() [all …]
|
/dports/astro/nightfall/nightfall-1.92/ |
H A D | LightGnuplot.c | 316 xfactor = 1.0/tr[1]; in cpgcont() 356 j/xfactor + xstart, i/yfactor + ystart, in cpgcont() 359 (1+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 362 (2+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 365 (3+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 368 (4+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 371 (5+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 374 (6+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 377 (7+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() 380 (8+j)/xfactor + xstart, i/yfactor + ystart, in cpgcont() [all …]
|
/dports/misc/gpsim/gpsim-0.31.0/modules/ |
H A D | led.cc | 221 float xfactor, temp_xpts[4]; in build_segments() local 261 xfactor = w - 2 * spacer - h / slope - segxw; in build_segments() 269 pts[2].x = pts[5].x + xfactor; in build_segments() 272 pts[3].x = temp_xpts[0] + xfactor - dx3; in build_segments() 276 pts[1].x = pts[0].x - segxw + xfactor; in build_segments() 280 pts[2].x = pts[5].x + xfactor; in build_segments() 291 pts[2].x = pts[5].x + xfactor; in build_segments() 292 pts[3].x = spacer + xfactor + dx3; in build_segments() 327 pts[1].x = temp_xpts[3] + xfactor + dx1; in build_segments() 328 pts[2].x = seg_pts[MIDDLE][0].x + xfactor; in build_segments() [all …]
|
/dports/misc/openmvg/openMVG-2.0/src/openMVG/multiview/ |
H A D | conditioning.cpp | 39 double xfactor = sqrt(2.0 / variance(0)); in PreconditionerFromPoints() local 45 xfactor = mean(0) = 1.0; in PreconditionerFromPoints() 49 (*T) << xfactor, 0, -xfactor * mean(0), in PreconditionerFromPoints()
|
/dports/graphics/blender/blender-2.91.0/intern/libmv/libmv/multiview/ |
H A D | conditioning.cc | 31 double xfactor = sqrt(2.0 / variance(0)); in PreconditionerFromPoints() local 37 xfactor = mean(0) = 1.0; in PreconditionerFromPoints() 41 *T << xfactor, 0, -xfactor * mean(0), in PreconditionerFromPoints()
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/sfm/src/libmv_light/libmv/multiview/ |
H A D | conditioning.cc | 31 double xfactor = sqrt(2.0 / variance(0)); in PreconditionerFromPoints() local 37 xfactor = mean(0) = 1.0; in PreconditionerFromPoints() 41 *T << xfactor, 0, -xfactor * mean(0), in PreconditionerFromPoints()
|
/dports/java/java3d/java3d-1.5.2/j3d-core-utils/src/classes/share/com/sun/j3d/utils/behaviors/vp/ |
H A D | OrbitBehavior.java | 575 rotXFactor = xfactor; in setRotFactors() 577 rotXMul = NOMINAL_ROT_FACTOR * xfactor; in setRotFactors() 604 public synchronized void setRotXFactor(double xfactor) { in setRotXFactor() argument 605 rotXFactor = xfactor; in setRotXFactor() 606 rotXMul = NOMINAL_ROT_FACTOR * xfactor; in setRotXFactor() 655 public synchronized void setTransFactors(double xfactor, in setTransFactors() argument 657 transXFactor = xfactor; in setTransFactors() 659 transXMul = NOMINAL_TRANS_FACTOR * xfactor; in setTransFactors() 686 public synchronized void setTransXFactor(double xfactor) { in setTransXFactor() argument 687 transXFactor = xfactor; in setTransXFactor() [all …]
|
/dports/biology/infernal/infernal-1.1.3/hmmer/src/ |
H A D | generic_null2.c | 71 float xfactor; in p7_GNull2_ByExpectation() local 102 xfactor = XMX(0,p7G_N); in p7_GNull2_ByExpectation() 103 xfactor = p7_FLogsum(xfactor, XMX(0,p7G_C)); in p7_GNull2_ByExpectation() 104 xfactor = p7_FLogsum(xfactor, XMX(0,p7G_J)); in p7_GNull2_ByExpectation() 114 null2[x] = p7_FLogsum(null2[x], xfactor); in p7_GNull2_ByExpectation() 171 float xfactor; in p7_GNull2_ByTrace() local 196 xfactor = XMX(0,p7G_N) + XMX(0,p7G_C) + XMX(0,p7G_J); in p7_GNull2_ByTrace() 205 null2[x] += xfactor; in p7_GNull2_ByTrace()
|
/dports/biology/hmmer/hmmer-3.3/src/ |
H A D | generic_null2.c | 71 float xfactor; in p7_GNull2_ByExpectation() local 102 xfactor = XMX(0,p7G_N); in p7_GNull2_ByExpectation() 103 xfactor = p7_FLogsum(xfactor, XMX(0,p7G_C)); in p7_GNull2_ByExpectation() 104 xfactor = p7_FLogsum(xfactor, XMX(0,p7G_J)); in p7_GNull2_ByExpectation() 114 null2[x] = p7_FLogsum(null2[x], xfactor); in p7_GNull2_ByExpectation() 171 float xfactor; in p7_GNull2_ByTrace() local 196 xfactor = XMX(0,p7G_N) + XMX(0,p7G_C) + XMX(0,p7G_J); in p7_GNull2_ByTrace() 205 null2[x] += xfactor; in p7_GNull2_ByTrace()
|
/dports/print/photoprint/photoprint-0.4.2-pre2/imagesource/ |
H A D | imagesource_bilinear.cpp | 76 float xfactor=(i*source->width); in GetRow() local 77 xfactor/=width; in GetRow() 78 xfactor-=x1; in GetRow() 88 double t=(1.0-xfactor)*s1+xfactor*s2; in GetRow()
|