/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/TOOLS/BLPViewer/ |
H A D | drawprimitives.cpp | 26 Sint32 xofs = x - len / 2; in drawcircle() local 29 if (xofs < 0) in drawcircle() 31 len += xofs; in drawcircle() 32 xofs = 0; in drawcircle() 36 if (xofs + len >= SCR_WIDTH) in drawcircle() 38 len -= (xofs + len) - SCR_WIDTH; in drawcircle() 62 Sint32 xofs = x; in drawrect() local 65 if (xofs < 0) in drawrect() 67 len += xofs; in drawrect() 68 xofs = 0; in drawrect() [all …]
|
/dports/games/orbital_eunuchs_sniper/orbital_eunuchs_sniper-1.30/src/ |
H A D | zooms.cpp | 49 int i, j, c, d, yofs, xofs, imgwidth; in zoom() local 58 d += xofs; in zoom() 73 if (xofs < (1 << SHIFT_AMOUNT)) in zoom() 75 int count = -(xofs / xinc); in zoom() 119 d += xofs; in zoom() 160 int i, j, c, yofs, xofs, imgwidth; in zoom_unreal() local 174 c = xofs; in zoom_unreal() 186 if (xofs < (1 << SHIFT_AMOUNT)) in zoom_unreal() 190 c = xofs; in zoom_unreal() 215 c = xofs; in zoom_unreal() [all …]
|
/dports/misc/ncnn/ncnn-20211208/src/layer/arm/ |
H A D | interp_arm.cpp | 169 int* xofs = buf; in forward() local 206 int* xofs = buf; in forward() local 268 int* xofs = buf; in forward() local 298 int* xofs = buf; in forward() local 591 int* xofs = buf; in forward_fp16s() local 689 int* xofs = buf; in forward_fp16s() local 719 int* xofs = buf; in forward_fp16s() local 1170 int* xofs = buf; in forward_fp16sa() local 1200 int* xofs = buf; in forward_fp16sa() local 1623 int* xofs = buf; in forward_bf16s() local [all …]
|
H A D | interp_bilinear.h | 15 static void linear_coeffs(int w, int outw, int* xofs, float* alpha, int align_corner) in linear_coeffs() argument 45 xofs[dx] = sx; in linear_coeffs() 52 static void resize_bilinear_image(const Mat& src, Mat& dst, float* alpha, int* xofs, float* beta, i… in resize_bilinear_image() argument 87 int sx = xofs[dx]; in resize_bilinear_image() 88 int sxn = xofs[dx + 1]; in resize_bilinear_image() 107 int sx = xofs[dx]; in resize_bilinear_image() 130 int sx = xofs[dx]; in resize_bilinear_image() 131 int sxn = xofs[dx + 1]; in resize_bilinear_image() 158 int sx = xofs[dx]; in resize_bilinear_image()
|
/dports/misc/ncnn/ncnn-20211208/src/layer/riscv/ |
H A D | interp_riscv.cpp | 164 int* xofs = buf; in forward() local 201 int* xofs = buf; in forward() local 259 int* xofs = buf; in forward() local 289 int* xofs = buf; in forward() local 592 int* xofs = buf; in forward_fp16s() local 629 int* xofs = buf; in forward_fp16s() local 686 int* xofs = buf; in forward_fp16s() local 716 int* xofs = buf; in forward_fp16s() local 966 int* xofs = buf; in forward_fp16sa() local 1043 int* xofs = buf; in forward_fp16sa() local [all …]
|
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/BlinkenPlayer/ |
H A D | blending.cpp | 127 Sint32 xofs = x; in blend_darkenRect() local 130 if (xofs < 0) in blend_darkenRect() 132 len += xofs; in blend_darkenRect() 133 xofs = 0; in blend_darkenRect() 137 if (xofs + len >= SCR_WIDTH) in blend_darkenRect() 139 len -= (xofs + len) - SCR_WIDTH; in blend_darkenRect() 174 Sint32 xofs = x; in blend_brightenRect() local 177 if (xofs < 0) in blend_brightenRect() 179 len += xofs; in blend_brightenRect() 180 xofs = 0; in blend_brightenRect() [all …]
|
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/ |
H A D | blending.cpp | 127 Sint32 xofs = x; in blend_darkenRect() local 130 if (xofs < 0) in blend_darkenRect() 132 len += xofs; in blend_darkenRect() 133 xofs = 0; in blend_darkenRect() 137 if (xofs + len >= SCR_WIDTH) in blend_darkenRect() 139 len -= (xofs + len) - SCR_WIDTH; in blend_darkenRect() 174 Sint32 xofs = x; in blend_brightenRect() local 177 if (xofs < 0) in blend_brightenRect() 179 len += xofs; in blend_brightenRect() 180 xofs = 0; in blend_brightenRect() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/layer/arm/ |
H A D | interp_arm.cpp | 197 cubic_coeffs(w, outw, xofs, alpha); in forward() 246 int* xofs = buf; //new int[outw]; in forward() local 271 int* xofs = buf; //new int[outw]; in forward() local 277 cubic_coeffs(w, outw, xofs, alpha); in forward() 418 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 466 int* xofs = buf; //new int[outw]; in forward_fp16s() local 491 int* xofs = buf; //new int[outw]; in forward_fp16s() local 497 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 783 int* xofs = buf; //new int[outw]; in forward_fp16sa() local 958 cubic_coeffs(w, outw, xofs, alpha); in forward_bf16s() [all …]
|
H A D | interp_bilinear.h | 15 static void linear_coeffs(int w, int outw, int* xofs, float* alpha, int align_corner) in linear_coeffs() argument 45 xofs[dx] = sx; in linear_coeffs() 52 static void resize_bilinear_image(const Mat& src, Mat& dst, float* alpha, int* xofs, float* beta, i… in resize_bilinear_image() argument 87 int sx = xofs[dx]; in resize_bilinear_image() 88 int sxn = xofs[dx + 1]; in resize_bilinear_image() 107 int sx = xofs[dx]; in resize_bilinear_image() 130 int sx = xofs[dx]; in resize_bilinear_image() 131 int sxn = xofs[dx + 1]; in resize_bilinear_image() 158 int sx = xofs[dx]; in resize_bilinear_image()
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/layer/arm/ |
H A D | interp_arm.cpp | 197 cubic_coeffs(w, outw, xofs, alpha); in forward() 246 int* xofs = buf; //new int[outw]; in forward() local 271 int* xofs = buf; //new int[outw]; in forward() local 277 cubic_coeffs(w, outw, xofs, alpha); in forward() 418 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 466 int* xofs = buf; //new int[outw]; in forward_fp16s() local 491 int* xofs = buf; //new int[outw]; in forward_fp16s() local 497 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 783 int* xofs = buf; //new int[outw]; in forward_fp16sa() local 958 cubic_coeffs(w, outw, xofs, alpha); in forward_bf16s() [all …]
|
H A D | interp_bilinear.h | 15 static void linear_coeffs(int w, int outw, int* xofs, float* alpha, int align_corner) in linear_coeffs() argument 45 xofs[dx] = sx; in linear_coeffs() 52 static void resize_bilinear_image(const Mat& src, Mat& dst, float* alpha, int* xofs, float* beta, i… in resize_bilinear_image() argument 87 int sx = xofs[dx]; in resize_bilinear_image() 88 int sxn = xofs[dx + 1]; in resize_bilinear_image() 107 int sx = xofs[dx]; in resize_bilinear_image() 130 int sx = xofs[dx]; in resize_bilinear_image() 131 int sxn = xofs[dx + 1]; in resize_bilinear_image() 158 int sx = xofs[dx]; in resize_bilinear_image()
|
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/layer/arm/ |
H A D | interp_arm.cpp | 197 cubic_coeffs(w, outw, xofs, alpha); in forward() 246 int* xofs = buf; //new int[outw]; in forward() local 271 int* xofs = buf; //new int[outw]; in forward() local 277 cubic_coeffs(w, outw, xofs, alpha); in forward() 418 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 466 int* xofs = buf; //new int[outw]; in forward_fp16s() local 491 int* xofs = buf; //new int[outw]; in forward_fp16s() local 497 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 783 int* xofs = buf; //new int[outw]; in forward_fp16sa() local 958 cubic_coeffs(w, outw, xofs, alpha); in forward_bf16s() [all …]
|
H A D | interp_bilinear.h | 15 static void linear_coeffs(int w, int outw, int* xofs, float* alpha, int align_corner) in linear_coeffs() argument 45 xofs[dx] = sx; in linear_coeffs() 52 static void resize_bilinear_image(const Mat& src, Mat& dst, float* alpha, int* xofs, float* beta, i… in resize_bilinear_image() argument 87 int sx = xofs[dx]; in resize_bilinear_image() 88 int sxn = xofs[dx + 1]; in resize_bilinear_image() 107 int sx = xofs[dx]; in resize_bilinear_image() 130 int sx = xofs[dx]; in resize_bilinear_image() 131 int sxn = xofs[dx + 1]; in resize_bilinear_image() 158 int sx = xofs[dx]; in resize_bilinear_image()
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/layer/arm/ |
H A D | interp_arm.cpp | 197 cubic_coeffs(w, outw, xofs, alpha); in forward() 246 int* xofs = buf; //new int[outw]; in forward() local 271 int* xofs = buf; //new int[outw]; in forward() local 277 cubic_coeffs(w, outw, xofs, alpha); in forward() 418 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 466 int* xofs = buf; //new int[outw]; in forward_fp16s() local 491 int* xofs = buf; //new int[outw]; in forward_fp16s() local 497 cubic_coeffs(w, outw, xofs, alpha); in forward_fp16s() 783 int* xofs = buf; //new int[outw]; in forward_fp16sa() local 958 cubic_coeffs(w, outw, xofs, alpha); in forward_bf16s() [all …]
|
H A D | interp_bilinear.h | 15 static void linear_coeffs(int w, int outw, int* xofs, float* alpha, int align_corner) in linear_coeffs() argument 45 xofs[dx] = sx; in linear_coeffs() 52 static void resize_bilinear_image(const Mat& src, Mat& dst, float* alpha, int* xofs, float* beta, i… in resize_bilinear_image() argument 87 int sx = xofs[dx]; in resize_bilinear_image() 88 int sxn = xofs[dx + 1]; in resize_bilinear_image() 107 int sx = xofs[dx]; in resize_bilinear_image() 130 int sx = xofs[dx]; in resize_bilinear_image() 131 int sxn = xofs[dx + 1]; in resize_bilinear_image() 158 int sx = xofs[dx]; in resize_bilinear_image()
|
/dports/misc/ncnn/ncnn-20211208/src/layer/mips/ |
H A D | interp_mips.cpp | 130 int* xofs = buf; in forward() local 144 int sx = xofs[x] * 4; in forward() 168 int* xofs = buf; in forward() local 182 int sx = xofs[x] * 4; in forward() 233 int* xofs = buf; in forward() local 247 int sx = xofs[x]; in forward() 263 int* xofs = buf; in forward() local 277 int sx = xofs[x]; in forward() 341 int* xofs = buf; //new int[outw]; in forward() local 421 int* xofs = buf; //new int[outw]; in forward() local [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/ximgproc/src/opencl/ |
H A D | anisodiff.cl | 11 int xofs = y*srcstep + x*3; 14 float4 c = (float4)(srcptr[xofs], srcptr[xofs+1], srcptr[xofs+2], 0.f); 19 …delta = (float4)(srcptr[xofs + xofs1], srcptr[xofs + xofs1 + 1], srcptr[xofs + xofs1 + 2], 0.f) - …
|
/dports/misc/ncnn/ncnn-20211208/src/layer/ |
H A D | interp.cpp | 85 xofs[dx] = sx; in linear_coeffs() 125 int sx = xofs[dx]; in resize_bilinear_image() 146 int sx = xofs[dx]; in resize_bilinear_image() 247 xofs[dx] = sx; in cubic_coeffs() 290 int sx = xofs[dx]; in resize_bicubic_image() 319 int sx = xofs[dx]; in resize_bicubic_image() 353 int sx = xofs[dx]; in resize_bicubic_image() 384 int sx = xofs[dx]; in resize_bicubic_image() 527 int* xofs = buf; in forward() local 541 int sx = xofs[x]; in forward() [all …]
|
/dports/graphics/eom/eom-1.26.0/src/ |
H A D | eom-scroll-view.c | 266 *xofs = 0; in compute_center_zoom_offsets() 270 *xofs = 0; in compute_center_zoom_offsets() 577 xofs = x - priv->xofs; in scroll_to() 579 xofs = 0; in scroll_to() 841 xofs = 0; in display_key_press_event() 858 xofs = 0; in display_key_press_event() 1022 xofs = 0; in eom_scroll_view_scroll_event() 1028 xofs = -xofs; in eom_scroll_view_scroll_event() 1034 xofs = 0; in eom_scroll_view_scroll_event() 1040 xofs = xofs; in eom_scroll_view_scroll_event() [all …]
|
/dports/graphics/xviewer/xviewer-3.2.2/src/ |
H A D | xviewer-scroll-view.c | 344 *xofs = 0; in compute_center_zoom_offsets() 351 *xofs = 0; in compute_center_zoom_offsets() 394 priv->xofs = CLAMP (priv->xofs, 0, upper - page_size); in update_scrollbar_values() 906 xofs = -priv->xofs; 1183 xofs = x - priv->xofs; in scroll_to() 1185 xofs = 0; in scroll_to() 1229 src_x = xofs < 0 ? 0 : xofs; in scroll_to() 1231 dest_x = xofs < 0 ? -xofs : 0; in scroll_to() 2026 xofs = xofs; in xviewer_scroll_view_scroll_event() 2028 xofs = -xofs; in xviewer_scroll_view_scroll_event() [all …]
|
/dports/graphics/eog/eog-41.1/src/ |
H A D | eog-scroll-view.c | 315 *xofs = 0; in compute_center_zoom_offsets() 319 *xofs = 0; in compute_center_zoom_offsets() 359 priv->xofs = CLAMP (priv->xofs, 0, upper - page_size); in update_scrollbar_values() 626 xofs = x - priv->xofs; in scroll_to() 628 xofs = 0; in scroll_to() 896 xofs = 0; in display_key_press_event() 1102 xofs = 0; in eog_scroll_view_scroll_event() 1109 xofs = -xofs; in eog_scroll_view_scroll_event() 1116 xofs = 0; in eog_scroll_view_scroll_event() 1122 xofs = xofs; in eog_scroll_view_scroll_event() [all …]
|
/dports/archivers/deutex/deutex-5.2.2/src/ |
H A D | png_tools.c | 63 bool read_grAb_chunk(unsigned char *buffer, long sz, int32_t * xofs, in read_grAb_chunk() argument 79 read_i32_be(buffer + i, xofs); in read_grAb_chunk() 104 int32_t xofs = 0; in read_grAb() local 106 if (read_grAb_chunk(buffer, sz, &xofs, &yofs, &grabpos)) { in read_grAb() 107 *Xinsr = (int16_t) xofs; in read_grAb() 125 int32_t xofs = 0; in write_grAb() local 145 grab_exists = read_grAb_chunk(buffer, sz, &xofs, &yofs, &grabpos); in write_grAb()
|
/dports/astro/phd2/phd2-2.6.10/ |
H A D | cam_sxv.cpp | 488 int const xofs = frame.GetLeft(); in InitImgInterlacedInterp() local 496 unsigned short *dst = img.ImageData + y * fullw + xofs; in InitImgInterlacedInterp() 547 int const xofs = frame.GetLeft(); in InitImgInterlacedSquare() local 559 unsigned short *dst = img.ImageData + row * fullw + xofs; in InitImgInterlacedSquare() 562 const unsigned short *src = raw + p0 * fullw + xofs; in InitImgInterlacedSquare() 570 const unsigned short *src0 = raw + p0 * fullw + xofs; in InitImgInterlacedSquare() 571 const unsigned short *src1 = raw + p1 * fullw + xofs; in InitImgInterlacedSquare() 593 img.Subframe = wxRect(xofs, yofs, xsize, ysize); in InitImgProgressive() 708 unsigned short xofs, yofs; in Capture() local 713 xofs = subframe.GetLeft() * xbin; in Capture() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/layer/ |
H A D | interp.cpp | 85 xofs[dx] = sx; in linear_coeffs() 125 int sx = xofs[dx]; in resize_bilinear_image() 146 int sx = xofs[dx]; in resize_bilinear_image() 238 xofs[dx] = sx; in cubic_coeffs() 281 int sx = xofs[dx]; in resize_bicubic_image() 310 int sx = xofs[dx]; in resize_bicubic_image() 344 int sx = xofs[dx]; in resize_bicubic_image() 375 int sx = xofs[dx]; in resize_bicubic_image() 519 int* xofs = buf; //new int[outw]; in forward() local 544 int* xofs = buf; //new int[outw]; in forward() local [all …]
|
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/layer/ |
H A D | interp.cpp | 85 xofs[dx] = sx; in linear_coeffs() 125 int sx = xofs[dx]; in resize_bilinear_image() 146 int sx = xofs[dx]; in resize_bilinear_image() 238 xofs[dx] = sx; in cubic_coeffs() 281 int sx = xofs[dx]; in resize_bicubic_image() 310 int sx = xofs[dx]; in resize_bicubic_image() 344 int sx = xofs[dx]; in resize_bicubic_image() 375 int sx = xofs[dx]; in resize_bicubic_image() 519 int* xofs = buf; //new int[outw]; in forward() local 544 int* xofs = buf; //new int[outw]; in forward() local [all …]
|