/dports/devel/mingw32-pdcurses/PDCurses-3.4/pdcurses/ |
H A D | overlay.c | 60 if (!src_w || !dst_w) in _copy_win() 63 minchng = dst_w->_firstch; in _copy_win() 64 maxchng = dst_w->_lastch; in _copy_win() 124 if (!src_w || !dst_w) in overlay() 130 last_col = min(src_w->_begx + src_w->_maxx, dst_w->_begx + dst_w->_maxx); in overlay() 131 last_line = min(src_w->_begy + src_w->_maxy, dst_w->_begy + dst_w->_maxy); in overlay() 146 if (src_w->_begx <= dst_w->_begx) in overlay() 181 if (!src_w || !dst_w) in overwrite() 187 last_col = min(src_w->_begx + src_w->_maxx, dst_w->_begx + dst_w->_maxx); in overwrite() 188 last_line = min(src_w->_begy + src_w->_maxy, dst_w->_begy + dst_w->_maxy); in overwrite() [all …]
|
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/pdcurses-sys-0.7.0/src/PDCurses/pdcurses/ |
H A D | overlay.c | 63 if (!src_w || !dst_w) in _copy_win() 66 minchng = dst_w->_firstch; in _copy_win() 67 maxchng = dst_w->_lastch; in _copy_win() 125 if (!src_w || !dst_w) in _copy_overlap() 131 last_col = min(src_w->_begx + src_w->_maxx, dst_w->_begx + dst_w->_maxx); in _copy_overlap() 132 last_line = min(src_w->_begy + src_w->_maxy, dst_w->_begy + dst_w->_maxy); in _copy_overlap() 147 if (src_w->_begx <= dst_w->_begx) in _copy_overlap() 158 if (src_w->_begy <= dst_w->_begy) in _copy_overlap() 178 return _copy_overlap(src_w, dst_w, TRUE); in overlay() 185 return _copy_overlap(src_w, dst_w, FALSE); in overwrite() [all …]
|
/dports/devel/pdcurses/PDCurses-3.5/pdcurses/ |
H A D | overlay.c | 63 if (!src_w || !dst_w) in _copy_win() 66 minchng = dst_w->_firstch; in _copy_win() 67 maxchng = dst_w->_lastch; in _copy_win() 125 if (!src_w || !dst_w) in _copy_overlap() 131 last_col = min(src_w->_begx + src_w->_maxx, dst_w->_begx + dst_w->_maxx); in _copy_overlap() 132 last_line = min(src_w->_begy + src_w->_maxy, dst_w->_begy + dst_w->_maxy); in _copy_overlap() 147 if (src_w->_begx <= dst_w->_begx) in _copy_overlap() 158 if (src_w->_begy <= dst_w->_begy) in _copy_overlap() 178 return _copy_overlap(src_w, dst_w, TRUE); in overlay() 185 return _copy_overlap(src_w, dst_w, FALSE); in overwrite() [all …]
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/pdcurses-sys-0.7.1/src/PDCurses/pdcurses/ |
H A D | overlay.c | 63 if (!src_w || !dst_w) in move() 66 minchng = dst_w->_firstch; in move() 67 maxchng = dst_w->_lastch; in move() 125 if (!src_w || !dst_w) 131 last_col = min(src_w->_begx + src_w->_maxx, dst_w->_begx + dst_w->_maxx); 132 last_line = min(src_w->_begy + src_w->_maxy, dst_w->_begy + dst_w->_maxy); 147 if (src_w->_begx <= dst_w->_begx) 158 if (src_w->_begy <= dst_w->_begy) 178 return _copy_overlap(src_w, dst_w, TRUE); 185 return _copy_overlap(src_w, dst_w, FALSE); [all …]
|
/dports/multimedia/musikcube/musikcube-0.96.7/src/3rdparty/win32_src/pdcurses/ |
H A D | overlay.c | 63 if (!src_w || !dst_w) in _copy_win() 66 minchng = dst_w->_firstch; in _copy_win() 67 maxchng = dst_w->_lastch; in _copy_win() 125 if (!src_w || !dst_w) in _copy_overlap() 131 last_col = min(src_w->_begx + src_w->_maxx, dst_w->_begx + dst_w->_maxx); in _copy_overlap() 132 last_line = min(src_w->_begy + src_w->_maxy, dst_w->_begy + dst_w->_maxy); in _copy_overlap() 147 if (src_w->_begx <= dst_w->_begx) in _copy_overlap() 158 if (src_w->_begy <= dst_w->_begy) in _copy_overlap() 178 return _copy_overlap(src_w, dst_w, TRUE); in overlay() 185 return _copy_overlap(src_w, dst_w, FALSE); in overwrite() [all …]
|
/dports/sysutils/tmux/tmux-3.2a/ |
H A D | cmd-swap-pane.c | 51 struct window *src_w, *dst_w; in cmd_swap_pane_exec() local 56 dst_w = target->wl->window; in cmd_swap_pane_exec() 62 server_redraw_window(dst_w); in cmd_swap_pane_exec() 65 src_w = dst_w; in cmd_swap_pane_exec() 70 src_w = dst_w; in cmd_swap_pane_exec() 102 src_wp->window = dst_w; in cmd_swap_pane_exec() 117 if (src_w != dst_w) { in cmd_swap_pane_exec() 130 if (src_w != dst_w) { in cmd_swap_pane_exec() 133 if (dst_w->last == dst_wp) in cmd_swap_pane_exec() 134 dst_w->last = NULL; in cmd_swap_pane_exec() [all …]
|
/dports/sysutils/tmate/tmate-2.4.0/ |
H A D | cmd-swap-pane.c | 48 struct window *src_w, *dst_w; in cmd_swap_pane_exec() local 57 server_unzoom_window(dst_w); in cmd_swap_pane_exec() 60 src_w = dst_w; in cmd_swap_pane_exec() 65 src_w = dst_w; in cmd_swap_pane_exec() 73 if (src_w != dst_w) { in cmd_swap_pane_exec() 99 src_wp->window = dst_w; in cmd_swap_pane_exec() 110 if (src_w != dst_w) { in cmd_swap_pane_exec() 125 if (src_w != dst_w) { in cmd_swap_pane_exec() 128 if (dst_w->last == dst_wp) in cmd_swap_pane_exec() 129 dst_w->last = NULL; in cmd_swap_pane_exec() [all …]
|
/dports/sysutils/tmux23/tmux-2.3/ |
H A D | cmd-swap-pane.c | 48 struct window *src_w, *dst_w; in cmd_swap_pane_exec() local 57 server_unzoom_window(dst_w); in cmd_swap_pane_exec() 60 src_w = dst_w; in cmd_swap_pane_exec() 65 src_w = dst_w; in cmd_swap_pane_exec() 92 src_wp->window = dst_w; in cmd_swap_pane_exec() 103 if (src_w != dst_w) { in cmd_swap_pane_exec() 115 if (dst_w->active == dst_wp) in cmd_swap_pane_exec() 118 if (src_w != dst_w) { in cmd_swap_pane_exec() 121 if (dst_w->last == dst_wp) in cmd_swap_pane_exec() 122 dst_w->last = NULL; in cmd_swap_pane_exec() [all …]
|
/dports/sysutils/tmate-ssh-server/tmate-ssh-server-97d2024/ |
H A D | cmd-swap-pane.c | 52 struct window *src_w, *dst_w; in cmd_swap_pane_exec() 61 server_unzoom_window(dst_w); in cmd_swap_pane_exec() 64 src_w = dst_w; in cmd_swap_pane_exec() 69 src_w = dst_w; in cmd_swap_pane_exec() 96 src_wp->window = dst_w; in cmd_swap_pane_exec() 107 if (src_w != dst_w) { in cmd_swap_pane_exec() 119 if (dst_w->active == dst_wp) in cmd_swap_pane_exec() 122 if (src_w != dst_w) { in cmd_swap_pane_exec() 125 if (dst_w->last == dst_wp) in cmd_swap_pane_exec() 126 dst_w->last = NULL; in cmd_swap_pane_exec() [all …]
|
/dports/databases/grass7/grass-7.8.6/raster/r.resamp.interp/ |
H A D | main.c | 71 struct Cell_head dst_w, src_w; in main() local 108 G_get_set_window(&dst_w); in main() 115 while (src_w.west >= dst_w.east && src_w.east - 360.0 > dst_w.west) { in main() 119 while (src_w.east <= dst_w.west && src_w.west + 360.0 < dst_w.east) { in main() 128 double south = Rast_row_to_northing(dst_w.rows - 0.5, &dst_w); in main() 132 double east = Rast_col_to_easting(dst_w.cols - 0.5, &dst_w); in main() 161 Rast_set_output_window(&dst_w); in main() 175 G_percent(row, dst_w.rows, 2); in main() 205 G_percent(row, dst_w.rows, 2); in main() 243 G_percent(row, dst_w.rows, 2); in main() [all …]
|
/dports/databases/grass7/grass-7.8.6/raster/r.resamp.stats/ |
H A D | main.c | 81 static struct Cell_head dst_w, src_w; variable 116 for (row = 0; row < dst_w.rows; row++) { in resamp_unweighted() 122 G_percent(row, dst_w.rows, 4); in resamp_unweighted() 127 for (col = 0; col < dst_w.cols; col++) { in resamp_unweighted() 193 G_percent(row, dst_w.rows, 4); in resamp_weighted() 198 for (col = 0; col < dst_w.cols; col++) { in resamp_weighted() 310 G_get_set_window(&dst_w); in main() 317 while (src_w.west >= dst_w.east && src_w.east - 360.0 > dst_w.west) { in main() 321 while (src_w.east <= dst_w.west && src_w.west + 360.0 < dst_w.east) { in main() 348 Rast_set_output_window(&dst_w); in main() [all …]
|
/dports/emulators/quasi88/quasi88-0.6.4/src/ |
H A D | screen-vram-double.h | 21 TYPE *dst2 = dst + dst_w; \ 22 TYPE *dst3 = dst2 + dst_w; \ 23 TYPE *dst4 = dst3 + dst_w; 26 dst2 += (4 * dst_w); \ 27 dst3 += (4 * dst_w); \ 28 dst4 += (4 * dst_w); 31 dst2 -= CHARA_LINES * 4 * dst_w; \ 33 dst4 -= CHARA_LINES * 4 * dst_w; 51 TYPE *dst2 = dst + dst_w; 54 dst2 += (2 * dst_w); [all …]
|
H A D | screen-vram-full.h | 16 #define DST_DEFINE() int dst_w = SCREEN_WIDTH; \ 19 TYPE *dst2 = dst + dst_w; 21 #define DST_NEXT_LINE() dst += (2 * dst_w); \ 22 dst2 += (2 * dst_w); 24 #define DST_RESTORE_LINE() dst -= CHARA_LINES * 2 * dst_w; \ 25 dst2 -= CHARA_LINES * 2 * dst_w; 31 dst2 += CHARA_LINES * 2 * dst_w - 640; 36 #define DST_DEFINE() int dst_w = SCREEN_WIDTH; \ 39 #define DST_NEXT_LINE() dst += dst_w; 41 #define DST_RESTORE_LINE() dst -= CHARA_LINES * dst_w; [all …]
|
H A D | screen-vram-half.h | 10 #define DST_DEFINE() int dst_w = SCREEN_WIDTH; \ 13 #define DST_NEXT_LINE() dst += (dst_w); 15 #define DST_RESTORE_LINE() dst -= CHARA_LINES * dst_w; 19 #define DST_NEXT_TOP_CHARA() dst += CHARA_LINES * dst_w - 320; 24 #define DST_DEFINE() int dst_w = SCREEN_WIDTH; \ 27 #define DST_NEXT_LINE() dst += dst_w; 29 #define DST_RESTORE_LINE() dst -= (CHARA_LINES / 2) * dst_w; 33 #define DST_NEXT_TOP_CHARA() dst += (CHARA_LINES / 2) * dst_w - 320;
|
/dports/databases/grass7/grass-7.8.6/raster/r.tile/ |
H A D | main.c | 24 static struct Cell_head dst_w, src_w, ovl_w; variable 90 dst_w = src_w; in main() 91 dst_w.cols = atoi(parm.width->answer); in main() 93 G_adjust_Cell_head(&dst_w, 1, 1); in main() 95 xtiles = (src_w.cols + dst_w.cols - 1) / dst_w.cols; in main() 96 ytiles = (src_w.rows + dst_w.rows - 1) / dst_w.rows; in main() 99 xtiles, dst_w.cols, ytiles, dst_w.rows); in main() 111 ovl_w = dst_w; in main() 127 xtiles, dst_w.cols, ytiles, dst_w.rows); in main() 140 int row = ytile * dst_w.rows + y; in main() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-xaw/ |
H A D | gui_stuff.c | 145 dst_w, dst_h, in x_scale_pixmap() 151 xadd=src_w/dst_w; in x_scale_pixmap() 152 xremadd=src_w%dst_w; in x_scale_pixmap() 154 xremsum=dst_w/2; in x_scale_pixmap() 156 for (x = 0; x < dst_w; x++) { in x_scale_pixmap() 160 if(xremsum>=dst_w) { in x_scale_pixmap() 161 xremsum-=dst_w; in x_scale_pixmap() 189 memcpy(pdst_data, psrc_data, (src_w<dst_w) ? src_w : dst_w); in x_scale_pixmap() 213 for (x = 0; x < dst_w; x++) in put_line_8() 220 for (x = 0; x < dst_w; x++) { in put_line_16() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-xaw/ |
H A D | gui_stuff.c | 145 dst_w, dst_h, in x_scale_pixmap() 151 xadd=src_w/dst_w; in x_scale_pixmap() 152 xremadd=src_w%dst_w; in x_scale_pixmap() 154 xremsum=dst_w/2; in x_scale_pixmap() 156 for (x = 0; x < dst_w; x++) { in x_scale_pixmap() 160 if(xremsum>=dst_w) { in x_scale_pixmap() 161 xremsum-=dst_w; in x_scale_pixmap() 189 memcpy(pdst_data, psrc_data, (src_w<dst_w) ? src_w : dst_w); in x_scale_pixmap() 213 for (x = 0; x < dst_w; x++) in put_line_8() 220 for (x = 0; x < dst_w; x++) { in put_line_16() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/libvpx/libvpx/vp9/encoder/x86/ |
H A D | vp9_frame_scale_ssse3.c | 91 dst_w /= 2; in upsample_1_to_2_ssse3() 95 uint8_t *tmp0 = tmp + dst_w * 0; in upsample_1_to_2_ssse3() 96 uint8_t *tmp1 = tmp + dst_w * 1; in upsample_1_to_2_ssse3() 97 uint8_t *tmp2 = tmp + dst_w * 2; in upsample_1_to_2_ssse3() 98 uint8_t *tmp3 = tmp + dst_w * 3; in upsample_1_to_2_ssse3() 99 uint8_t *tmp4 = tmp + dst_w * 4; in upsample_1_to_2_ssse3() 100 uint8_t *tmp5 = tmp + dst_w * 5; in upsample_1_to_2_ssse3() 101 uint8_t *tmp6 = tmp + dst_w * 6; in upsample_1_to_2_ssse3() 102 uint8_t *tmp7 = tmp + dst_w * 7; in upsample_1_to_2_ssse3() 176 const int dst_uv_w = dst_w / 2; in vp9_scale_and_extend_frame_ssse3() [all …]
|
/dports/multimedia/handbrake/zimg-release-3.0.1/test/resize/x86/ |
H A D | resize_impl_avx2_test.cpp | 24 SCOPED_TRACE(horizontal ? static_cast<double>(dst_w) / src_w : static_cast<double>(dst_h) / src_h); in test_case() 28 .set_dst_dim(horizontal ? dst_w : dst_h) in test_case() 56 const unsigned dst_w = 960; in TEST() local 68 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 77 const unsigned dst_w = 960; in TEST() local 140 const unsigned dst_w = 960; in TEST() local 151 test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], NAN); in TEST() 152 test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], NAN); in TEST() 153 …test_case(zimg::resize::LanczosFilter{ 4 }, true, src_w, h, dst_w, h, format, expected_sha1[2], NA… in TEST() 154 …test_case(zimg::resize::LanczosFilter{ 4 }, true, dst_w, h, src_w, h, format, expected_sha1[3], NA… in TEST() [all …]
|
H A D | resize_impl_avx512_test.cpp | 24 SCOPED_TRACE(horizontal ? static_cast<double>(dst_w) / src_w : static_cast<double>(dst_h) / src_h); in test_case() 28 .set_dst_dim(horizontal ? dst_w : dst_h) in test_case() 56 const unsigned dst_w = 960; in TEST() local 68 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 77 const unsigned dst_w = 960; in TEST() local 140 const unsigned dst_w = 960; in TEST() local 151 test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], NAN); in TEST() 152 test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], NAN); in TEST() 153 …test_case(zimg::resize::LanczosFilter{ 4 }, true, src_w, h, dst_w, h, format, expected_sha1[2], NA… in TEST() 154 …test_case(zimg::resize::LanczosFilter{ 4 }, true, dst_w, h, src_w, h, format, expected_sha1[3], NA… in TEST() [all …]
|
/dports/graphics/sekrit-twc-zimg/zimg-release-3.0.3/test/resize/x86/ |
H A D | resize_impl_avx2_test.cpp | 24 SCOPED_TRACE(horizontal ? static_cast<double>(dst_w) / src_w : static_cast<double>(dst_h) / src_h); in test_case() 28 .set_dst_dim(horizontal ? dst_w : dst_h) in test_case() 56 const unsigned dst_w = 960; in TEST() local 68 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 77 const unsigned dst_w = 960; in TEST() local 140 const unsigned dst_w = 960; in TEST() local 151 test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], NAN); in TEST() 152 test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], NAN); in TEST() 153 …test_case(zimg::resize::LanczosFilter{ 4 }, true, src_w, h, dst_w, h, format, expected_sha1[2], NA… in TEST() 154 …test_case(zimg::resize::LanczosFilter{ 4 }, true, dst_w, h, src_w, h, format, expected_sha1[3], NA… in TEST() [all …]
|
H A D | resize_impl_avx512_test.cpp | 24 SCOPED_TRACE(horizontal ? static_cast<double>(dst_w) / src_w : static_cast<double>(dst_h) / src_h); in test_case() 28 .set_dst_dim(horizontal ? dst_w : dst_h) in test_case() 56 const unsigned dst_w = 960; in TEST() local 68 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 77 const unsigned dst_w = 960; in TEST() local 140 const unsigned dst_w = 960; in TEST() local 151 test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], NAN); in TEST() 152 test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], NAN); in TEST() 153 …test_case(zimg::resize::LanczosFilter{ 4 }, true, src_w, h, dst_w, h, format, expected_sha1[2], NA… in TEST() 154 …test_case(zimg::resize::LanczosFilter{ 4 }, true, dst_w, h, src_w, h, format, expected_sha1[3], NA… in TEST() [all …]
|
/dports/graphics/sekrit-twc-zimg/zimg-release-3.0.3/test/resize/arm/ |
H A D | resize_impl_neon_test.cpp | 24 SCOPED_TRACE(horizontal ? static_cast<double>(dst_w) / src_w : static_cast<double>(dst_h) / src_h); in test_case() 28 .set_dst_dim(horizontal ? dst_w : dst_h) in test_case() 51 const unsigned dst_w = 960; in TEST() local 63 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 64 …test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], expe… in TEST() 65 …test_case(zimg::resize::LanczosFilter{ 4 }, true, src_w, h, dst_w, h, format, expected_sha1[2], ex… in TEST() 66 …test_case(zimg::resize::LanczosFilter{ 4 }, true, dst_w, h, src_w, h, format, expected_sha1[3], ex… in TEST() 72 const unsigned dst_w = 960; in TEST() local 84 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 85 …test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], expe… in TEST() [all …]
|
/dports/multimedia/handbrake/zimg-release-3.0.1/test/resize/arm/ |
H A D | resize_impl_neon_test.cpp | 24 SCOPED_TRACE(horizontal ? static_cast<double>(dst_w) / src_w : static_cast<double>(dst_h) / src_h); in test_case() 28 .set_dst_dim(horizontal ? dst_w : dst_h) in test_case() 51 const unsigned dst_w = 960; in TEST() local 63 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 64 …test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], expe… in TEST() 65 …test_case(zimg::resize::LanczosFilter{ 4 }, true, src_w, h, dst_w, h, format, expected_sha1[2], ex… in TEST() 66 …test_case(zimg::resize::LanczosFilter{ 4 }, true, dst_w, h, src_w, h, format, expected_sha1[3], ex… in TEST() 72 const unsigned dst_w = 960; in TEST() local 84 …test_case(zimg::resize::BilinearFilter{}, true, src_w, h, dst_w, h, format, expected_sha1[0], expe… in TEST() 85 …test_case(zimg::resize::Spline16Filter{}, true, src_w, h, dst_w, h, format, expected_sha1[1], expe… in TEST() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/metal/ |
H A D | MetalConvolutionWinograd.metal | 246 int dst_y_stride = dst_w * 36; 249 auto S00 = *xy_in; xy_in += dst_w; 250 auto S10 = *xy_in; xy_in += dst_w; 251 auto S20 = *xy_in; xy_in += dst_w; 252 auto S30 = *xy_in; xy_in += dst_w; 253 auto S40 = *xy_in; xy_in += dst_w; 254 auto S50 = *xy_in; xy_in += dst_w; 255 auto S01 = *xy_in; xy_in += dst_w; 256 auto S11 = *xy_in; xy_in += dst_w; 257 auto S21 = *xy_in; xy_in += dst_w; [all …]
|