/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/ |
H A D | mat_pixel_affine.cpp | 497 if (sx < 0 || sx >= srcw || sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c1() 539 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c1() 581 if (sx < 0 || sx >= srcw || sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c1() 657 if (sx < 0 || sx >= srcw || sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c1() 946 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c1() 1166 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c2() 1595 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c2() 1822 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c3() 2272 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c3() 2506 if (sy1 < 0 || sy1 >= srch) in warpaffine_bilinear_c4() [all …]
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | imagedimensions.cc | 63 void ImageDimensions::transform(const PreviewProps& pp, int tran, int& sx1, int& sy1, int& sx2, int… in transform() argument 84 sy1 = ppy; in transform() 90 sy1 = height - ppy - pp.getHeight(); in transform() 92 sy2 = sy1 + pp.getHeight(); in transform() 95 sy1 = height - ppx - pp.getWidth(); in transform() 97 sy2 = sy1 + pp.getWidth(); in transform() 100 sy1 = ppx; in transform() 102 sy2 = sy1 + pp.getWidth(); in transform() 109 if (sy1 < 0) { in transform() 110 sy1 = 0; in transform()
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | imagedimensions.cc | 71 void ImageDimensions::transform(const PreviewProps& pp, int tran, int& sx1, int& sy1, int& sx2, int… in transform() argument 92 sy1 = ppy; in transform() 98 sy1 = height - ppy - pp.getHeight(); in transform() 100 sy2 = sy1 + pp.getHeight(); in transform() 103 sy1 = height - ppx - pp.getWidth(); in transform() 105 sy2 = sy1 + pp.getWidth(); in transform() 108 sy1 = ppx; in transform() 110 sy2 = sy1 + pp.getWidth(); in transform() 117 if (sy1 < 0) { in transform() 118 sy1 = 0; in transform()
|
/dports/math/py-sympy/sympy-1.9/sympy/physics/quantum/tests/ |
H A D | test_pauli.py | 12 sx1, sy1, sz1 = SigmaX(1), SigmaY(1), SigmaZ(1) variable 38 assert Commutator(sx1, sy1).doit() == 2 * I * sz1 39 assert Commutator(sy1, sz1).doit() == 2 * I * sx1 40 assert Commutator(sz1, sx1).doit() == 2 * I * sy1 47 assert Commutator(sy1, sz2).doit() == 0 69 assert Dagger(sy1) == sy1 73 assert Dagger(sy1) != sy2 95 assert qsimplify_pauli(sy1 * sy1) == 1 99 assert isinstance(sy1 * sy2, Mul) 102 assert qsimplify_pauli(sx1 * sy1 * sx2 * sy2) == - sz1 * sz2 [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 219 jint height = sy2-sy1; in OGLBlitSwToSurface() 457 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 474 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 488 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 490 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 503 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 579 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 215 jint height = sy2-sy1; in OGLBlitSwToSurface() 462 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 479 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 493 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 495 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 508 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 584 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/native/common/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 218 jint height = sy2-sy1; in OGLBlitSwToSurface() 456 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 473 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 487 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 489 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 502 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 578 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBlitLoops.c | 62 jint srch = sy2 - sy1; in OGLBlitSurfaceToSurface() 131 sy1 = srcOps->height - sy1; in OGLBlitTextureToSurface() 140 ty1 = (GLdouble)sy1; in OGLBlitTextureToSurface() 219 jint height = sy2-sy1; in OGLBlitSwToSurface() 457 jint sh = sy2 - sy1; in OGLBlitLoops_IsoBlit() 474 srcInfo.bounds.y1 = sy1; in OGLBlitLoops_IsoBlit() 488 if (srcInfo.bounds.y1 != sy1) { in OGLBlitLoops_IsoBlit() 490 sy1 = srcInfo.bounds.y1; in OGLBlitLoops_IsoBlit() 503 sx1, sy1, sx2, sy2); in OGLBlitLoops_IsoBlit() 579 jint sh = sy2 - sy1; in OGLBlitLoops_Blit() [all …]
|
/dports/cad/impact/Impact/src/j3d/ |
H A D | shpLine.java | 30 private float sx1,sx2,sy1,sy2,sz1,sz2; field in shpLine 55 sy1=y1; in shpLine() 69 sy1 += cor.y; in transform2D() 74 x1=sx1*t.xx+sy1*t.xy+sz1*t.xz+t.xo; in transform2D() 76 y1=sx1*t.yx+sy1*t.yy+sz1*t.yz+t.yo; in transform2D() 78 z_sort =((sx1+sx2)*t.zx+(sy1+sy2)*t.zy+(sz1+sz2)*t.zz)/2+t.zo; in transform2D() 82 sy1 -= cor.y; in transform2D() 127 b[2] = Math.max(sy1,sy2); in getBoundaries() 128 b[3] = Math.min(sy1,sy2); in getBoundaries() 149 gl.glVertex3f(sx1-rcx,sy1-rcy,sz1-rcz); in paintGL()
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/helpers/ |
H A D | Selection.cpp | 95 …EntityHandle handle, const CCamera& camera, int sx0, int sy0, int sx1, int sy1, bool allowEditorSe… in CheckEntityInRect() argument 121 return sx0 <= ix && ix <= sx1 && sy0 <= iy && iy <= sy1; in CheckEntityInRect() 133 return CheckEntityInRect(handle, camera, sx0, sy0, sx1, sy1, allowEditorSelectables); in CheckEntityVisibleAndInRect() 142 if (sy0 > sy1) in PickEntitiesInRect() 143 std::swap(sy0, sy1); in PickEntitiesInRect() 156 …ntManager.LookupEntityHandle(*it), cmpRangeManager, camera, sx0, sy0, sx1, sy1, owner, allowEditor… in PickEntitiesInRect() 165 …ect(it->second->GetEntityHandle(), cmpRangeManager, camera, sx0, sy0, sx1, sy1, owner, allowEditor… in PickEntitiesInRect() 173 …lation2& simulation, const CCamera& camera, int sx0, int sy0, int sx1, int sy1, bool allowEditorSe… in PickNonGaiaEntitiesInRect() argument 180 if (sy0 > sy1) in PickNonGaiaEntitiesInRect() 181 std::swap(sy0, sy1); in PickNonGaiaEntitiesInRect() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/include/opencv2/core/cuda/ |
H A D | filters.hpp | 197 int sy1 = __float2int_ru(fsy1); in operator ()() local 203 for(int dy = sy1; dy < sy2; ++dy) in operator ()() 235 int sy1 = __float2int_ru(fsy1); in operator ()() local 243 for (int dy = sy1; dy < sy2; ++dy) in operator ()() 255 if (sy1 > fsy1) in operator ()() 257 out = out + src( (sy1 - 1) , dx) * ((sy1 -fsy1) * scale); in operator ()() 263 if ((sy1 > fsy1) && (sx1 > fsx1)) in operator ()() 264 out = out + src( (sy1 - 1) , (sx1 - 1)) * ((sy1 -fsy1) * (sx1 -fsx1) * scale); in operator ()() 266 if ((sy1 > fsy1) && (sx2 < fsx2)) in operator ()() 267 out = out + src( (sy1 - 1) , sx2) * ((sy1 -fsy1) * (fsx2 -sx2) * scale); in operator ()()
|
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/ |
H A D | OgreImageResampler.h | 128 uint32 sy1 = temp >> 16; // src y #1 in scale() local 129 uint32 sy2 = std::min(sy1+1,src.getHeight()-1);// src y #2 in scale() 146 UNPACK(x1y1z1,sx1,sy1,sz1); UNPACK(x2y1z1,sx2,sy1,sz1); in scale() 148 UNPACK(x1y1z2,sx1,sy1,sz2); UNPACK(x2y1z2,sx2,sy1,sz2); in scale() 212 uint32 sy1 = temp >> 16; // src y #1 in scale() local 213 uint32 sy2 = std::min(sy1+1,src.getHeight()-1);// src y #2 in scale() 241 ACCUM3(sx1,sy1,sz1,(1.0f-sxf)*(1.0f-syf)*(1.0f-szf)); in scale() 242 ACCUM3(sx2,sy1,sz1, sxf *(1.0f-syf)*(1.0f-szf)); in scale() 311 uint32 sy1 = temp >> 12; in scale() local 312 uint32 sy2 = std::min(sy1+1, src.bottom-src.top-1); in scale() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/ |
H A D | OgreImageResampler.h | 128 uint32 sy1 = temp >> 16; // src y #1 in scale() local 146 UNPACK(x1y1z1,sx1,sy1,sz1); UNPACK(x2y1z1,sx2,sy1,sz1); in scale() 148 UNPACK(x1y1z2,sx1,sy1,sz2); UNPACK(x2y1z2,sx2,sy1,sz2); in scale() 212 uint32 sy1 = temp >> 16; // src y #1 in scale() local 241 ACCUM3(sx1,sy1,sz1,(1.0f-sxf)*(1.0f-syf)*(1.0f-szf)); in scale() 242 ACCUM3(sx2,sy1,sz1, sxf *(1.0f-syf)*(1.0f-szf)); in scale() 245 ACCUM3(sx1,sy1,sz2,(1.0f-sxf)*(1.0f-syf)* szf ); in scale() 246 ACCUM3(sx2,sy1,sz2, sxf *(1.0f-syf)* szf ); in scale() 311 uint32 sy1 = temp >> 12; in scale() local 312 uint32 sy2 = std::min(sy1+1, src.bottom-src.top-1); in scale() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 248 coords[3] = coords[5] = sy2 - sy1; in transformImage() 312 sx1, sy1, sx2-sx1, sy2-sy1); in tryCopyOrScale() 347 final int height = sy2 - sy1; in makeBufferedImage() 445 sy2 -= sy1; in renderImageXform() 446 sx1 = sy1 = 0; in renderImageXform() 471 sy2 -= sy1; in renderImageXform() 472 sx1 = sy1 = 0; in renderImageXform() 694 if (sy2 > sy1) { in scaleImage() 695 srcH = sy2-sy1; in scaleImage() 696 srcY = sy1; in scaleImage() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 248 coords[3] = coords[5] = sy2 - sy1; in transformImage() 312 sx1, sy1, sx2-sx1, sy2-sy1); in tryCopyOrScale() 347 final int height = sy2 - sy1; in makeBufferedImage() 445 sy2 -= sy1; in renderImageXform() 446 sx1 = sy1 = 0; in renderImageXform() 471 sy2 -= sy1; in renderImageXform() 472 sx1 = sy1 = 0; in renderImageXform() 694 if (sy2 > sy1) { in scaleImage() 695 srcH = sy2-sy1; in scaleImage() 696 srcY = sy1; in scaleImage() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 248 coords[3] = coords[5] = sy2 - sy1; in transformImage() 312 sx1, sy1, sx2-sx1, sy2-sy1); in tryCopyOrScale() 347 final int height = sy2 - sy1; in makeBufferedImage() 445 sy2 -= sy1; in renderImageXform() 446 sx1 = sy1 = 0; in renderImageXform() 471 sy2 -= sy1; in renderImageXform() 472 sx1 = sy1 = 0; in renderImageXform() 694 if (sy2 > sy1) { in scaleImage() 695 srcH = sy2-sy1; in scaleImage() 696 srcY = sy1; in scaleImage() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 248 coords[3] = coords[5] = sy2 - sy1; in transformImage() 312 sx1, sy1, sx2-sx1, sy2-sy1); in tryCopyOrScale() 347 final int height = sy2 - sy1; in makeBufferedImage() 439 sy2 -= sy1; in renderImageXform() 440 sx1 = sy1 = 0; in renderImageXform() 465 sy2 -= sy1; in renderImageXform() 466 sx1 = sy1 = 0; in renderImageXform() 688 if (sy2 > sy1) { in scaleImage() 689 srcH = sy2-sy1; in scaleImage() 690 srcY = sy1; in scaleImage() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 248 coords[3] = coords[5] = sy2 - sy1; in transformImage() 312 sx1, sy1, sx2-sx1, sy2-sy1); in tryCopyOrScale() 347 final int height = sy2 - sy1; in makeBufferedImage() 445 sy2 -= sy1; in renderImageXform() 446 sx1 = sy1 = 0; in renderImageXform() 471 sy2 -= sy1; in renderImageXform() 472 sx1 = sy1 = 0; in renderImageXform() 694 if (sy2 > sy1) { in scaleImage() 695 srcH = sy2-sy1; in scaleImage() 696 srcY = sy1; in scaleImage() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 250 coords[3] = coords[5] = sy2 - sy1; in transformImage() 314 sx1, sy1, sx2-sx1, sy2-sy1); in tryCopyOrScale() 349 final int height = sy2 - sy1; in makeBufferedImage() 447 sy2 -= sy1; in renderImageXform() 448 sx1 = sy1 = 0; in renderImageXform() 473 sy2 -= sy1; in renderImageXform() 474 sx1 = sy1 = 0; in renderImageXform() 693 if (sy2 > sy1) { in scaleImage() 694 srcH = sy2-sy1; in scaleImage() 695 srcY = sy1; in scaleImage() [all …]
|