/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/layer/ |
H A D | priorbox.cpp | 129 int image_w = image_width; in forward() local 131 if (image_w == -233) in forward() 132 image_w = bottom_blobs[1].w; in forward() 140 step_w = (float)image_w / w; in forward() 142 step_w = static_cast<float>(ceil((float)image_w / w)); in forward() 189 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 191 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 203 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 205 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 219 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/layer/ |
H A D | priorbox.cpp | 129 int image_w = image_width; in forward() local 131 if (image_w == -233) in forward() 132 image_w = bottom_blobs[1].w; in forward() 140 step_w = (float)image_w / w; in forward() 142 step_w = static_cast<float>(ceil((float)image_w / w)); in forward() 189 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 191 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 203 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 205 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 219 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() [all …]
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/layer/ |
H A D | priorbox.cpp | 129 int image_w = image_width; in forward() local 131 if (image_w == -233) in forward() 132 image_w = bottom_blobs[1].w; in forward() 140 step_w = (float)image_w / w; in forward() 142 step_w = static_cast<float>(ceil((float)image_w / w)); in forward() 189 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 191 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 203 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 205 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 219 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() [all …]
|
/dports/misc/ncnn/ncnn-20211208/src/layer/ |
H A D | priorbox.cpp | 129 int image_w = image_width; in forward() local 131 if (image_w == -233) in forward() 132 image_w = bottom_blobs[1].w; in forward() 140 step_w = (float)image_w / w; in forward() 142 step_w = static_cast<float>(ceil((float)image_w / w)); in forward() 189 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 191 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 203 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 205 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 219 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() [all …]
|
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/layer/ |
H A D | priorbox.cpp | 129 int image_w = image_width; in forward() local 131 if (image_w == -233) in forward() 132 image_w = bottom_blobs[1].w; in forward() 140 step_w = (float)image_w / w; in forward() 142 step_w = static_cast<float>(ceil((float)image_w / w)); in forward() 189 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 191 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 203 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() 205 box[2] = (center_x + box_w * 0.5f) / image_w; in forward() 219 box[0] = (center_x - box_w * 0.5f) / image_w; in forward() [all …]
|
/dports/graphics/tgif/tgif-QPL-4.2.5/ |
H A D | xpixmap.c | 464 image_w = xpm_ptr->image_w; 596 if (new_x >= image_w) new_x = image_w-1; 754 image_w = xpm_ptr->image_w; 769 src_w = image_w = xpm_ptr->image_w; 1056 image_w = xpm_ptr->image_w; 1087 h_blocks = ((image_w&0xff) == 0) ? (image_w>>8) : ((image_w>>8)+1); 1979 image_w = xpm_ptr->image_w; 2437 int image_w=xpm_ptr->image_w, image_h=xpm_ptr->image_h; local 3252 image_w = xpm_ptr->image_w; 3765 w = image_w; [all …]
|
H A D | imgproc.c | 801 int image_w=xpm_ptr->image_w, image_h=xpm_ptr->image_h; local 2120 image_w = xpm_ptr->image_w; in ProcessImage() 4149 int image_w=xpm_ptr->image_w, image_h=xpm_ptr->image_h; local 6551 if (rbx >= image_w) rbx = image_w; 8406 image_w = xpm_ptr->image_w; 8812 image_w = xpm_ptr->image_w; 8931 int image_w=xpm_ptr->image_w, image_h=xpm_ptr->image_h; local 9513 if (image_x >= image_w) image_x = image_w-1; 9556 image_w = xpm_ptr->image_w; 10104 image_w = xpm_ptr->image_w; [all …]
|
H A D | eps.c | 230 int image_w, image_h, bps; 240 num_nibbles = ((image_w & 0x3)==0) ? (int)(image_w>>2) : 241 (int)(image_w>>2)+1; 245 num_nibbles = (image_w<<1); 441 unsigned int image_w, image_h; local 456 num_image_bytes_per_row = ((image_w & 0x7) ? (image_w>>3)+1 : (image_w>>3)); 457 num_lines = ((image_w & 0x7) ? (((image_w>>3)+1)<<1) : ((image_w>>3)<<1)); 1162 *pn_image_w = image_w; 1662 image_w = xbm_ptr->image_w; 1665 image_w = xbm_ptr->eps_w; [all …]
|
H A D | xbitmap.c | 731 image_w = xbm_ptr->image_w; 1010 image_w = ObjPtr->detail.xbm->image_w; 2024 if (image_w < 0) image_w = (-image_w); 2026 num_image_bytes_per_row = ((image_w & 0x7) ? (image_w>>3)+1 : (image_w>>3)); 2027 num_lines = ((image_w & 0x7) ? (((image_w>>3)+1)<<1) : ((image_w>>3)<<1)); 5076 h_blocks = ((image_w&0xff) == 0) ? (image_w>>8) : ((image_w>>8)+1); 5234 image_w = xbm_ptr->image_w; 5685 image_w = xbm_ptr->image_w; 5809 image_w = xbm_ptr->image_w; 6269 xbm_ptr->image_w = image_w; [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/oxl/osl/ |
H A D | osl_harris.cxx | 30 image_w = w; in prepare_buffers() 33 std::cerr << "Doing harris on image region " << image_h << " by " << image_w << '\n' in prepare_buffers() 41 image_buf .resize(image_w, image_h); in prepare_buffers() 42 image_gradx_buf .resize(image_w, image_h); in prepare_buffers() 43 image_grady_buf .resize(image_w, image_h); in prepare_buffers() 44 image_fxx_buf .resize(image_w, image_h); in prepare_buffers() 45 image_fxy_buf .resize(image_w, image_h); in prepare_buffers() 46 image_fyy_buf .resize(image_w, image_h); in prepare_buffers() 47 image_cornerness_buf.resize(image_w, image_h); in prepare_buffers() 48 image_cornermax_buf .resize(image_w, image_h); in prepare_buffers() [all …]
|
/dports/devel/efl/efl-1.25.1/src/modules/evas/image_loaders/png/ |
H A D | evas_image_load_png.c | 311 int image_w = 0, image_h = 0; in evas_image_load_file_head_with_data_png() local 330 image_w = epi.w32; in evas_image_load_file_head_with_data_png() 345 else region.w = image_w - region.x - 1; in evas_image_load_file_head_with_data_png() 351 region.w = image_w - region.x - 1; in evas_image_load_file_head_with_data_png() 407 pixels2 = malloc(image_w * image_h * pack_offset); in evas_image_load_file_head_with_data_png() 444 for (i = 1; i < image_w - 1; in evas_image_load_file_head_with_data_png() 480 src_ptr1 = (DATA32*) pixels2 + image_w; in evas_image_load_file_head_with_data_png() 482 src_ptr2 = src_ptr1 + (image_w - 1); in evas_image_load_file_head_with_data_png() 485 i++, src_ptr1 += image_w, src_ptr2 += image_w) in evas_image_load_file_head_with_data_png() 616 int image_w = 0, image_h = 0; in evas_image_load_file_data_png() local [all …]
|
/dports/devel/efl/efl-1.25.1/src/lib/ector/software/ |
H A D | ector_renderer_software_image.c | 47 int image_w, image_h; in _ector_renderer_software_image_ector_renderer_prepare() local 48 ector_buffer_size_get(pd->image->buffer, &image_w, &image_h); in _ector_renderer_software_image_ector_renderer_prepare() 50 double px[4] = {x, x + image_w, x, x + image_w}; in _ector_renderer_software_image_ector_renderer_prepare() 64 …3_scale(&m, (double)pd->surface->rasterizer->fill_data.raster_buffer->generic->w / (double)image_w, in _ector_renderer_software_image_ector_renderer_prepare() 73 …ary.x1 = MAX(pd->surface->rasterizer->fill_data.raster_buffer->generic->w , (unsigned int)image_w); in _ector_renderer_software_image_ector_renderer_prepare() 108 int image_w, image_h; in _ector_renderer_software_image_ector_renderer_draw() local 109 ector_buffer_size_get(pd->image->buffer, &image_w, &image_h); in _ector_renderer_software_image_ector_renderer_draw() 127 if (rx < 0 || rx >= image_w || ry < 0 || ry >= image_h) in _ector_renderer_software_image_ector_renderer_draw() 129 uint32_t *src = src_buf + (rx + (ry * image_w)); //FIXME: use to stride in _ector_renderer_software_image_ector_renderer_draw()
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/render/ |
H A D | tile.cpp | 179 int image_w = max(1, params.width / divider); in set_samples() local 181 pixel_samples += image_w * image_h; in set_samples() 185 int image_w = max(1, params.width / divider); in set_samples() local 201 int image_w = max(1, params.width / resolution); in gen_tiles() local 203 int2 center = make_int2(image_w / 2, image_h / 2); in gen_tiles() 207 int tile_w = (tile_size.x >= image_w) ? 1 : divide_up(image_w, tile_size.x); in gen_tiles() 232 int blocks_x = (block_size.x >= image_w) ? 1 : divide_up(image_w, block_size.x); in gen_tiles() 380 int image_w = max(1, params.width / resolution); in set_tiles() local 385 state.buffer.width = image_w; in set_tiles() 405 int image_w = max(1, params.width / resolution); in get_neighbor_index() local [all …]
|
/dports/deskutils/glabels/glabels-3.4.1/src/ |
H A D | label-image.c | 312 gdouble image_w, image_h, aspect_ratio, w, h; in gl_label_image_set_filename() local 424 image_w = svg_dim.width; in gl_label_image_set_filename() 429 image_w = gdk_pixbuf_get_width (default_pixbuf); in gl_label_image_set_filename() 434 aspect_ratio = image_h / image_w; in gl_label_image_set_filename() 460 gdouble image_w, image_h; in gl_label_image_set_pixbuf() local 517 image_w = gdk_pixbuf_get_width (this->priv->pixbuf); in gl_label_image_set_pixbuf() 688 gdouble image_w, image_h; in draw_object() local 709 cairo_scale (cr, w/image_w, h/image_h); in draw_object() 730 cairo_scale (cr, w/image_w, h/image_h); in draw_object() 756 gdouble image_w, image_h; in draw_shadow() local [all …]
|
/dports/x11-wm/tvtwm/tvtwm/ |
H A D | icons.c | 840 icon->image_w=None; 869 &(icon->image_w), 893 &(icon->image_w), 923 XAddToSaveSet(dpy, icon->image_w); 938 &(icon->image_w), 949 &(icon->image_w), 1017 if ( icon->w != icon->image_w) { 1063 XGetGeometry(dpy, icon->image_w, &JunkRoot, 1090 XMoveResizeWindow(dpy, icon->image_w, 1268 XUnmapWindow(dpy, tmp_win->icon.image_w); [all …]
|
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/msw/ |
H A D | cursor.cpp | 183 int image_w = image.GetWidth(); in wxCursor() local 186 wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < image_w && in wxCursor() 193 if ((w > image_w) && (h > image_h)) in wxCursor() 195 wxPoint offset((w - image_w)/2, (h - image_h)/2); in wxCursor() 201 else if ((w != image_w) || (h != image_h)) in wxCursor() 203 hotSpotX = int(hotSpotX * double(w) / double(image_w)); in wxCursor()
|
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/msw/ |
H A D | cursor.cpp | 183 int image_w = image.GetWidth(); in wxCursor() local 186 wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < image_w && in wxCursor() 193 if ((w > image_w) && (h > image_h)) in wxCursor() 195 wxPoint offset((w - image_w)/2, (h - image_h)/2); in wxCursor() 201 else if ((w != image_w) || (h != image_h)) in wxCursor() 203 hotSpotX = int(hotSpotX * double(w) / double(image_w)); in wxCursor()
|
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/msw/ |
H A D | cursor.cpp | 183 int image_w = image.GetWidth(); in wxCursor() local 186 wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < image_w && in wxCursor() 193 if ((w > image_w) && (h > image_h)) in wxCursor() 195 wxPoint offset((w - image_w)/2, (h - image_h)/2); in wxCursor() 201 else if ((w != image_w) || (h != image_h)) in wxCursor() 203 hotSpotX = int(hotSpotX * double(w) / double(image_w)); in wxCursor()
|
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/msw/ |
H A D | cursor.cpp | 183 int image_w = image.GetWidth(); in wxCursor() local 186 wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < image_w && in wxCursor() 193 if ((w > image_w) && (h > image_h)) in wxCursor() 195 wxPoint offset((w - image_w)/2, (h - image_h)/2); in wxCursor() 201 else if ((w != image_w) || (h != image_h)) in wxCursor() 203 hotSpotX = int(hotSpotX * double(w) / double(image_w)); in wxCursor()
|
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/gui/ |
H A D | splash.cpp | 188 int image_w = 350; int image_h = 0; in Splash() local 191 image_w = pixbuf->get_width(); in Splash() 197 progressbar->set_size_request(image_w,24); in Splash() 201 tasklabel->set_size_request(image_w,24); in Splash() 207 versionlabel->set_size_request(image_w,24); in Splash()
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/gui/ |
H A D | splash.cpp | 188 int image_w = 350; int image_h = 0; in Splash() local 191 image_w = pixbuf->get_width(); in Splash() 197 progressbar->set_size_request(image_w,24); in Splash() 201 tasklabel->set_size_request(image_w,24); in Splash() 207 versionlabel->set_size_request(image_w,24); in Splash()
|
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/gui/ |
H A D | splash.cpp | 188 int image_w = 350; int image_h = 0; in Splash() local 191 image_w = pixbuf->get_width(); in Splash() 197 progressbar->set_size_request(image_w,24); in Splash() 201 tasklabel->set_size_request(image_w,24); in Splash() 207 versionlabel->set_size_request(image_w,24); in Splash()
|
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/src/msw/ |
H A D | cursor.cpp | 181 int image_w = image.GetWidth(); in wxCursor() local 184 wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < image_w && in wxCursor() 191 if ((w > image_w) && (h > image_h)) in wxCursor() 193 wxPoint offset((w - image_w)/2, (h - image_h)/2); in wxCursor() 199 else if ((w != image_w) || (h != image_h)) in wxCursor() 201 hotSpotX = int(hotSpotX * double(w) / double(image_w)); in wxCursor()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/src/msw/ |
H A D | cursor.cpp | 181 int image_w = image.GetWidth(); in wxCursor() local 184 wxASSERT_MSG( hotSpotX >= 0 && hotSpotX < image_w && in wxCursor() 191 if ((w > image_w) && (h > image_h)) in wxCursor() 193 wxPoint offset((w - image_w)/2, (h - image_h)/2); in wxCursor() 199 else if ((w != image_w) || (h != image_h)) in wxCursor() 201 hotSpotX = int(hotSpotX * double(w) / double(image_w)); in wxCursor()
|
/dports/multimedia/mjpegtools/mjpegtools-2.1.0/lavtools/ |
H A D | y4mtopnm.c | 273 int image_w; member 286 fl->image_w = width; in init_flattener() 335 int planesize = fl->image_w * fl->image_h; in flatten() 350 int planesize = fl->image_w * fl->image_h; in flatten() 351 int halfwidth = fl->image_w / 2; in flatten() 373 int planesize = fl->image_w * fl->image_h; in flatten() 374 int halfwidth = fl->image_w / 2; in flatten() 395 int qtrwidth = fl->image_w / 4; in flatten() 398 memcpy(fbuf, ib0, fl->image_w); in flatten() 399 fbuf += fl->image_w; in flatten() [all …]
|