/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/docs/how-to-use-and-FAQ/ |
H A D | efficient-roi-resize-rotate.md | 11 +-----im_w-----+ 26 +-----im_w-----+ target_w 41 +-----im_w-----+ 45 out.to_pixels(data, ncnn::Mat::PIXEL_RGB, im_w * 3); 57 +-----im_w-----+ 72 +-----im_w-----+ target_w 87 +-----im_w-----+ 102 +-----im_w-----+ +-----outim_w-----+ 118 +-----im_w-----+ h 133 w +-----im_w-----+ [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/docs/how-to-use-and-FAQ/ |
H A D | efficient-roi-resize-rotate.md | 11 +-----im_w-----+ 30 +-----im_w-----+ target_w 49 +-----im_w-----+ 53 out.to_pixels(data, ncnn::Mat::PIXEL_RGB, im_w * 3); 65 +-----im_w-----+ 80 +-----im_w-----+ target_w 95 +-----im_w-----+ 110 +-----im_w-----+ +-----outim_w-----+ 126 +-----im_w-----+ h 141 w +-----im_w-----+ [all …]
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/docs/how-to-use-and-FAQ/ |
H A D | efficient-roi-resize-rotate.md | 11 +-----im_w-----+ 30 +-----im_w-----+ target_w 49 +-----im_w-----+ 53 out.to_pixels(data, ncnn::Mat::PIXEL_RGB, im_w * 3); 65 +-----im_w-----+ 80 +-----im_w-----+ target_w 95 +-----im_w-----+ 110 +-----im_w-----+ +-----outim_w-----+ 126 +-----im_w-----+ h 141 w +-----im_w-----+ [all …]
|
/dports/misc/ncnn/ncnn-20211208/docs/how-to-use-and-FAQ/ |
H A D | efficient-roi-resize-rotate.md | 11 +-----im_w-----+ 30 +-----im_w-----+ target_w 49 +-----im_w-----+ 53 out.to_pixels(data, ncnn::Mat::PIXEL_RGB, im_w * 3); 65 +-----im_w-----+ 80 +-----im_w-----+ target_w 95 +-----im_w-----+ 110 +-----im_w-----+ +-----outim_w-----+ 126 +-----im_w-----+ h 141 w +-----im_w-----+ [all …]
|
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/docs/how-to-use-and-FAQ/ |
H A D | efficient-roi-resize-rotate.md | 11 +-----im_w-----+ 30 +-----im_w-----+ target_w 49 +-----im_w-----+ 53 out.to_pixels(data, ncnn::Mat::PIXEL_RGB, im_w * 3); 65 +-----im_w-----+ 80 +-----im_w-----+ target_w 95 +-----im_w-----+ 110 +-----im_w-----+ +-----outim_w-----+ 126 +-----im_w-----+ h 141 w +-----im_w-----+ [all …]
|
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/torch/data/transforms/videotransforms/ |
H A D | functional.py | 30 im_h, im_w, im_c = clip[0].shape 32 if (im_w <= im_h and im_w == size) or (im_h <= im_w 35 new_h, new_w = get_resize_sizes(im_h, im_w, size) 48 im_w, im_h = clip[0].size 50 if (im_w <= im_h and im_w == size) or (im_h <= im_w 53 new_h, new_w = get_resize_sizes(im_h, im_w, size) 68 def get_resize_sizes(im_h, im_w, size): argument 69 if im_w < im_h: 71 oh = int(size * im_h / im_w) 74 ow = int(size * im_w / im_h)
|
H A D | video_transforms.py | 79 im_w, im_h = clip[0].size 81 new_w = int(im_w * scaling_factor) 138 im_w, im_h = clip[0].size 142 if w > im_w or h > im_h: 147 im_w=im_w, im_h=im_h, w=w, h=h)) 150 x1 = random.randint(0, im_w - w) 184 im_w, im_h = clip[0].size 188 if w != im_w and h != im_h: 279 im_w, im_h = clip[0].size 283 if w > im_w or h > im_h: [all …]
|
/dports/games/gl-117/gl-117-1.3.2-src/src/ |
H A D | loader_tga.cpp | 107 int im_w,im_h; in tga_load() local 174 im_w = (header.widthHi << 8) | header.widthLo; in tga_load() 177 if ((im_w > 32767) || (im_w < 1) || (im_h > 32767) || (im_h < 1)) in tga_load() 179 im_w = 0; in tga_load() 196 im_w = 0; in tga_load() 215 im_w = 0; in tga_load() 246 dataptr = im_data + (im_h - (y+1)) * im_w; in tga_load() 248 dataptr = im_data + y * im_w; in tga_load() 302 DATA32 *final_pixel = dataptr + im_w * im_h; in tga_load() 404 im_data = flip(im_data, im_w, im_h); in tga_load() [all …]
|
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/torch/data/transforms/ |
H A D | transforms.py | 533 if (im_w <= im_h and im_w == size) or (im_h <= im_w and im_h == size): 548 if (im_w <= im_h and im_w == size) or (im_h <= im_w and im_h == size): 565 if im_w < im_h: 710 if (im_w <= im_h and im_w == size) or (im_h <= im_w 728 if (im_w <= im_h and im_w == size) or (im_h <= im_w 751 if im_w < im_h: 754 scale = size / im_w 770 im_w, im_h = clip[0].size 774 if w > im_w or h > im_h: 779 im_w=im_w, im_h=im_h, w=w, h=h)) [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vimt3d/ |
H A D | vimt3d_resample_tricubic.h | 40 vgl_vector_3d<double> im_w = s_w2i.delta(p, w); 46 im_w.x(), im_w.y(), im_w.z(), 83 vgl_vector_3d<double> im_w = s_w2i.delta(p, w); in vimt3d_resample_tricubic_edge_extend() local 87 im_v.x(),im_v.y(),im_v.z(), im_w.x(),im_w.y(),im_w.z(), ni,nj,nk); in vimt3d_resample_tricubic_edge_extend()
|
H A D | vimt3d_sample_grid_trilin.hxx | 35 const vgl_vector_3d<double>& im_w, in vimt3d_grid_in_image_ic() argument 41 vgl_vector_3d<double> w1=(nw-1)*im_w; in vimt3d_grid_in_image_ic() 74 vgl_vector_3d<double> im_w = image.world2im()(p+w)-im_p0; in vimt3d_sample_grid_trilin() local 77 vimt3d_sample_grid_trilin_ic(vec,image.image(),im_p0,im_u,im_v,im_w,nu,nv,nw); in vimt3d_sample_grid_trilin() 355 vgl_vector_3d<double> im_w = image.world2im()(p+w)-im_p0; in vimt3d_sample_grid_trilin_extend() local 358 if (vimt3d_grid_in_image_ic(im_p0,im_u,im_v,im_w,nu,nv,nw,image.image())) in vimt3d_sample_grid_trilin_extend() 387 vgl_vector_3d<double> im_w = image.world2im()(p+w)-im_p0; in vimt3d_sample_grid_trilin_edgena() local 390 if (vimt3d_grid_in_image_ic(im_p0,im_u,im_v,im_w,nu,nv,nw,image.image())) in vimt3d_sample_grid_trilin_edgena() 410 const vgl_vector_3d<double>& im_w, in vimt3d_sample_grid_trilin_ic() argument 413 if (vimt3d_grid_in_image_ic(im_p,im_u,im_v,im_w,nu,nv,nw,image)) in vimt3d_sample_grid_trilin_ic() [all …]
|
H A D | vimt3d_resample_trilinear.h | 58 vgl_vector_3d<double> im_w = s_w2i.delta(p, w); 64 im_w.x(), im_w.y(), im_w.z(), 101 vgl_vector_3d<double> im_w = s_w2i.delta(p, w); in vimt3d_resample_trilin_edge_extend() local 105 … im_v.x(),im_v.y(),im_v.z(), im_w.x(),im_w.y(),im_w.z(), ni,nj,nk); in vimt3d_resample_trilin_edge_extend()
|
H A D | vimt3d_reconstruct_from_grid.hxx | 30 const vgl_vector_3d<double>& im_w, in vimt3d_grid_in_image_ic() argument 36 vgl_vector_3d<double> w1=(nw-1)*im_w; in vimt3d_grid_in_image_ic() 67 vgl_vector_3d<double> im_w = image.world2im()(p+w)-im_p0; in vimt3d_reconstruct_from_grid() local 70 vimt3d_reconstruct_from_grid_ic(image.image(),vec,im_p0,im_u,im_v,im_w,nu,nv,nw,add_data); in vimt3d_reconstruct_from_grid() 87 const vgl_vector_3d<double>& im_w, in vimt3d_reconstruct_from_grid_ic() argument 90 if (vimt3d_grid_in_image_ic(im_p,im_u,im_v,im_w,nu,nv,nw,image)) in vimt3d_reconstruct_from_grid_ic() 91 vimt3d_reconstruct_from_grid_ic_no_checks(image,vec,im_p,im_u,im_v,im_w,nu,nv,nw,add_data); in vimt3d_reconstruct_from_grid_ic() 93 vimt3d_reconstruct_from_grid_ic_safe(image,vec,im_p,im_u,im_v,im_w,nu,nv,nw,add_data); in vimt3d_reconstruct_from_grid_ic() 235 const vgl_vector_3d<double >& im_w, \
|
/dports/devel/efl/efl-1.25.1/src/lib/evas/common/ |
H A D | evas_font_draw.c | 308 int im_w, im_h; in evas_common_font_draw_cb() local 316 im_w = dst->cache_entry.w; in evas_common_font_draw_cb() 341 if ((ext_x + ext_w) > im_w) in evas_common_font_draw_cb() 342 ext_w = im_w - ext_x; in evas_common_font_draw_cb() 351 im_w, im_h); in evas_common_font_draw_cb() 368 im_w, im_h); in evas_common_font_draw_cb() 393 int im_w, im_h; in evas_common_font_draw_do() local 395 im_w = dst->cache_entry.w; in evas_common_font_draw_do() 407 im_w, im_h); in evas_common_font_draw_do() 427 int im_w, im_h; in evas_common_font_draw_prepare_cutout() local [all …]
|
H A D | evas_font_draw.h | 7 …Array *glyphs, RGBA_Gfx_Func func, int ext_x, int ext_y, int ext_w, int ext_h, int im_w, int im_h); 11 …Array *glyphs, RGBA_Gfx_Func func, int ext_x, int ext_y, int ext_w, int ext_h, int im_w, int im_h);
|
/dports/graphics/feh/feh-3.5/src/ |
H A D | winwidget.c | 57 ret->im_w = 0; in winwidget_allocate() 104 ret->w = ret->im_w = gib_imlib_image_get_width(ret->im); in winwidget_create_from_image() 133 ret->w = ret->im_w = gib_imlib_image_get_width(ret->im); in winwidget_create_from_file() 436 winwidget_resize(winwid, winwid->im_w, winwid->im_h, 0); in winwidget_render_image() 441 resize, force_alias, winwid->im_w, winwid->im_h)); in winwidget_render_image() 489 || (winwid->w > winwid->im_w * winwid->zoom) in winwidget_render_image() 512 calc_w = lround(winwid->im_w * winwid->zoom); in winwidget_render_image() 901 int desired_w = winwid->im_w * required_zoom; in winwidget_resize() 1020 w->im_w = 0; in winwidget_free_image() 1087 far_left = winwid->w - (winwid->im_w * winwid->zoom); in winwidget_sanitise_offsets() [all …]
|
/dports/graphics/imlib2/imlib2-1.7.0/src/lib/ |
H A D | font_draw.c | 287 int im_w, im_h; in __imlib_font_draw() local 292 im_w = dst->w; in __imlib_font_draw() 297 ext_w = im_w; in __imlib_font_draw() 317 if ((ext_x + ext_w) > im_w) in __imlib_font_draw() 318 ext_w = im_w - ext_x; in __imlib_font_draw() 407 dst_ptr = im + (dy * im_w) + dx; in __imlib_font_draw()
|
/dports/graphics/opencv/opencv-4.5.3/samples/dnn/ |
H A D | siamrpnpp.py | 113 im_h, im_w, im_d = im.shape 122 right_pad = int(max(0., context_xmax - im_w + 1)) 130 size = (im_h + top_pad + bottom_pad, im_w + left_pad + right_pad, im_d) 132 te_im[top_pad:top_pad + im_h, left_pad:left_pad + im_w, :] = im 134 te_im[0:top_pad, left_pad:left_pad + im_w, :] = avg_chans 136 te_im[im_h + top_pad:, left_pad:left_pad + im_w, :] = avg_chans 140 te_im[:, im_w + left_pad:, :] = avg_chans
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.10/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.14/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.16/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.12/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.24/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.26/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|
/dports/graphics/nip2/nip2-8.7.1/share/nip2/compat/7.38/ |
H A D | _joe_utilities.def | 7 * simple_frame frame im_w im_h ov cs ms bf option = result * 8 * corner_frame frame im_w im_h ov cs ms bf = result * 9 * build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result * 10 * complex_frame frame im_w im_h ov cs es ms bf option= result * 106 simple_frame frame im_w im_h ov cs ms bf option = result 135 corner_frame frame im_w im_h ov cs ms bf = result 149 result = build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf; 158 build_frame r_tl r_tr r_bl r_br r_mt r_mb r_ml r_mr im_w im_h ov bf = result 164 w_target = im_w + (2 * (s_width - ov)); 201 complex_frame frame im_w im_h ov cs es ms bf option= result [all …]
|