/dports/science/chrono/chrono-7.0.1/src/chrono_sensor/cuda/ |
H A D | image_ops.cu | 76 int pix_size) { in image_alias_kernel() argument 83 if (out_index < w_out * h_out * pix_size) { in image_alias_kernel() 84 int idc_out = out_index % pix_size; in image_alias_kernel() 85 int idx_out = (out_index / pix_size) % w_out; in image_alias_kernel() 86 int idy_out = (out_index / pix_size) / w_out; in image_alias_kernel() 107 int in_index = idy_in * w_in * pix_size + idx_in * pix_size + idc_in; in image_alias_kernel() 127 if (out_index < w_out * h_out * pix_size) { in image_alias_float_kernel() 128 int idc_out = out_index % pix_size; in image_alias_float_kernel() 129 int idx_out = (out_index / pix_size) % w_out; in image_alias_float_kernel() 140 int in_index = idy_in * w_in * pix_size + idx_in * pix_size + idc_in; in image_alias_float_kernel() [all …]
|
H A D | image_ops.cuh | 33 void cuda_image_alias(void* bufIn, void* bufOut, int w_out, int h_out, int factor, int pix_size, CU… 48 int pix_size,
|
/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/objects/effects/control/ |
H A D | win_win.cfg | 15 set(me.draw_area, [0,0,pix_size[0],pix_size[1]]), 19 set(obj.draw_area, [0, 0, (obj.img_w*3)/2, pix_size[1]-(me.x-obj.x)/2]), 24 set(obj.draw_area, [0, 0, (obj.img_w*3)/2, pix_size[1]+(me.y-obj.y)]), 29 set(obj.draw_area, [0, 0, pix_size[0]-(me.x-obj.x), (obj.img_h)/2]), 34 set(obj.draw_area, [0, 0, pix_size[0]-(me.x-obj.x), (obj.img_h)/2]), 45 ] where obj = object(me.type+'.secorner', x+(pix_size[0]*3)/2+magic, y+pix_size[1]*2, 1), 49 ] where obj = object(me.type+'.swcorner', x, y+pix_size[1]*2, 1), 55 set(vars.pix_size, pix_size), 57 ] where pix_size = [size_[0]*consts.tile_size, size_[1]*consts.tile_size] 60 to_center: "[set(x, sc[0]-pix_size[0]+magic*2), set(y, sc[1]-pix_size[1])] where sc = scr_center", [all …]
|
/dports/devel/godot/godot-3.2.3-stable/drivers/gles3/shaders/ |
H A D | effect_blur.glsl | 118 vec2 pix_size = pixel_size; 119 pix_size *= 0.5; //reading from larger buffer, so use more samples 122 color += textureLod(source_color, uv_interp + vec2(1.0, 0.0) * pix_size, lod) * 0.189879; 123 color += textureLod(source_color, uv_interp + vec2(2.0, 0.0) * pix_size, lod) * 0.131514; 124 color += textureLod(source_color, uv_interp + vec2(3.0, 0.0) * pix_size, lod) * 0.071303; 125 color += textureLod(source_color, uv_interp + vec2(-1.0, 0.0) * pix_size, lod) * 0.189879; 143 vec2 pix_size = pixel_size; 144 pix_size *= 0.5; //reading from larger buffer, so use more samples 146 color += textureLod(source_color, uv_interp + vec2(1.0, 0.0) * pix_size, lod) * 0.165569; 147 color += textureLod(source_color, uv_interp + vec2(2.0, 0.0) * pix_size, lod) * 0.140367; [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles3/shaders/ |
H A D | effect_blur.glsl | 118 vec2 pix_size = pixel_size; 119 pix_size *= 0.5; //reading from larger buffer, so use more samples 122 color += textureLod(source_color, uv_interp + vec2(1.0, 0.0) * pix_size, lod) * 0.189879; 123 color += textureLod(source_color, uv_interp + vec2(2.0, 0.0) * pix_size, lod) * 0.131514; 124 color += textureLod(source_color, uv_interp + vec2(3.0, 0.0) * pix_size, lod) * 0.071303; 125 color += textureLod(source_color, uv_interp + vec2(-1.0, 0.0) * pix_size, lod) * 0.189879; 143 vec2 pix_size = pixel_size; 144 pix_size *= 0.5; //reading from larger buffer, so use more samples 146 color += textureLod(source_color, uv_interp + vec2(1.0, 0.0) * pix_size, lod) * 0.165569; 147 color += textureLod(source_color, uv_interp + vec2(2.0, 0.0) * pix_size, lod) * 0.140367; [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vil/file_formats/ |
H A D | vil_viff.cxx | 264 pix_size = 1; in get_copy_view() 268 vxl_uint_32 rowsize = (pix_size * xs + 7) / 8; in get_copy_view() 276 … is_->seek(start_of_data_ + p * nj_ * ((ni_ * pix_size + 7) / 8) + y * ((ni_ * pix_size + 7) / 8) + in get_copy_view() 277 x0 * pix_size / 8); in get_copy_view() 286 swap(ib + i, (pix_size + 7) / 8); in get_copy_view() 339 pix_size = 1; in put_view() 344 if (endian_consistent_ || pix_size <= 8) in put_view() 348 … is_->seek(start_of_data_ + p * nj_ * ((ni_ * pix_size + 7) / 8) + y * ((ni_ * pix_size + 7) / 8) + in put_view() 349 x0 * pix_size / 8); in put_view() 368 swap(tempbuf + i, pix_size / 8); in put_view() [all …]
|
H A D | vil_mit.cxx | 289 unsigned int pix_size = 8 * bytes_per_pixel(); in get_copy_view() local 291 pix_size = 1; in get_copy_view() 294 pix_size *= components_; in get_copy_view() 296 vxl_uint_32 rowsize = (pix_size * xs + 7) / 8; in get_copy_view() 301 is_->seek(8L + y * ((ni_ * pix_size + 7) / 8) + x0 * pix_size / 8); in get_copy_view() 367 unsigned int pix_size = 8 * bytes_per_pixel(); in put_view() local 369 pix_size = 1; in put_view() 372 pix_size *= components_; in put_view() 374 vxl_uint_32 rowsize = (pix_size * ni + 7) / 8; in put_view() 384 is_->seek(8L + y * ((ni_ * pix_size + 7) / 8) + x * pix_size / 8); in put_view() [all …]
|
H A D | vil_iris.cxx | 321 unsigned int pix_size = vil_pixel_format_sizeof_components(format_); in get_section_verbatim() local 322 unsigned int row_len = xs * pix_size; in get_section_verbatim() 339 if (VXL_LITTLE_ENDIAN && pix_size > 1) // IRIS image data is big-endian in get_section_verbatim() 341 swap(ob + i, pix_size); in get_section_verbatim() 356 unsigned int pix_size = vil_pixel_format_sizeof_components(format_); in get_section_rle() local 357 unsigned int row_len = xs * pix_size; in get_section_rle() 413 unsigned int pix_size = vil_pixel_format_sizeof_components(format_); in put_view() local 415 std::size_t rowsize = pix_size * buf.ni(); in put_view() 416 std::ptrdiff_t rowskip = pix_size * buff.jstep(); in put_view() 417 std::size_t planeskip = pix_size * buff.planestep(); in put_view() [all …]
|
/dports/graphics/py-cartopy/Cartopy-0.19.0.post1/lib/cartopy/io/ |
H A D | img_nest.py | 157 extent, pix_size = cls.world_file_extent(world_fh, im.size) 160 return cls(img_fname, extent, 'lower', pix_size) 174 pix_size = (float(lines[0]), float(lines[3])) 181 min_x, max_x = (ul_corner[0] - pix_size[0]/2., 182 ul_corner[0] + pix_size[0]*im_shape[0] - 183 pix_size[0]/2.) 184 min_y, max_y = (ul_corner[1] - pix_size[1]/2., 185 ul_corner[1] + pix_size[1]*im_shape[1] - 186 pix_size[1]/2.) 187 return (min_x, max_x, min_y, max_y), pix_size
|
/dports/multimedia/xanim/xanim2920/ |
H A D | xa_fli.c | 457 if (pix_size == 4) 460 else if (pix_size == 2) 481 if (pix_size == 4) 484 else if (pix_size == 2) 546 if (pix_size == 4) 549 else if (pix_size == 2) 567 if (pix_size == 4) 791 ptr += (xoff * pix_size); 812 if (pix_size == 4) 862 if (pix_size == 4) [all …]
|
H A D | xa_utils.c | 68 xosize *= pix_size; 69 xisize *= pix_size; 70 xipos *= pix_size; 157 if (pix_size == 4) 159 else if (pix_size == 2) 162 in += pix_size; 654 xaULONG pix_size; /* pixel size */ 707 if (pix_size == 4) 716 else if (pix_size == 2) 739 if (pix_size == 4) [all …]
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/VOX/Source/ |
H A D | voxinit.c | 75 void vx_init_vox(vxs_vox *v,fix pix_dist,fix pix_size,int depth,grs_bitmap *col,grs_bitmap *ht) in vx_init_vox() argument 78 v->pix_size = pix_size; in vx_init_vox()
|
H A D | vox.h | 27 fix pix_size; // size of pixels in 3d units member 51 void vx_init_vox(vxs_vox *v,fix pix_dist,fix pix_size,int depth,grs_bitmap *col,grs_bitmap *ht);
|
/dports/science/minc2/minc-release-2.2.00/conversion/scxtominc/ |
H A D | scx_file.c | 412 int pix_size; in scx_get_image() local 434 case 0: pix_size=2; break; in scx_get_image() 435 case 1: pix_size=1; break; in scx_get_image() 436 case 2: pix_size=2; break; in scx_get_image() 442 image_size = image_npix * pix_size; in scx_get_image() 444 array_offset = image_npix * (MAX_PIX_SIZE - pix_size); in scx_get_image() 449 (fread(&bimage[array_offset], (size_t) pix_size, (size_t) image_npix, in scx_get_image() 455 switch (pix_size) { in scx_get_image()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/ |
H A D | igs_negate.cpp | 6 void change_channel_(T *ima, const int pix_size, const int channels) { in change_channel_() argument 7 for (int ii = 0; ii < pix_size; ++ii, ima += channels) { in change_channel_() 12 void change_multiplied_rgb(T *ima, T *alp, const int pix_size, in change_multiplied_rgb() argument 14 for (int ii = 0; ii < pix_size; ++ii, ima += channels, alp += channels) { in change_multiplied_rgb()
|
/dports/devel/godot/godot-3.2.3-stable/drivers/gles2/shaders/ |
H A D | effect_blur.glsl | 132 vec2 pix_size = pixel_size; 133 pix_size *= 0.5; //reading from larger buffer, so use more samples 134 vec4 color = texture2DLod(source_color, uv_interp + vec2(0.0, 0.0) * pix_size, lod) * 0.174938; 135 color += texture2DLod(source_color, uv_interp + vec2(1.0, 0.0) * pix_size, lod) * 0.165569; 136 color += texture2DLod(source_color, uv_interp + vec2(2.0, 0.0) * pix_size, lod) * 0.140367; 137 color += texture2DLod(source_color, uv_interp + vec2(3.0, 0.0) * pix_size, lod) * 0.106595; 138 color += texture2DLod(source_color, uv_interp + vec2(-1.0, 0.0) * pix_size, lod) * 0.165569; 139 color += texture2DLod(source_color, uv_interp + vec2(-2.0, 0.0) * pix_size, lod) * 0.140367; 140 color += texture2DLod(source_color, uv_interp + vec2(-3.0, 0.0) * pix_size, lod) * 0.106595;
|
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles2/shaders/ |
H A D | effect_blur.glsl | 132 vec2 pix_size = pixel_size; 133 pix_size *= 0.5; //reading from larger buffer, so use more samples 134 vec4 color = texture2DLod(source_color, uv_interp + vec2(0.0, 0.0) * pix_size, lod) * 0.174938; 135 color += texture2DLod(source_color, uv_interp + vec2(1.0, 0.0) * pix_size, lod) * 0.165569; 136 color += texture2DLod(source_color, uv_interp + vec2(2.0, 0.0) * pix_size, lod) * 0.140367; 137 color += texture2DLod(source_color, uv_interp + vec2(3.0, 0.0) * pix_size, lod) * 0.106595; 138 color += texture2DLod(source_color, uv_interp + vec2(-1.0, 0.0) * pix_size, lod) * 0.165569; 139 color += texture2DLod(source_color, uv_interp + vec2(-2.0, 0.0) * pix_size, lod) * 0.140367; 140 color += texture2DLod(source_color, uv_interp + vec2(-3.0, 0.0) * pix_size, lod) * 0.106595;
|
/dports/science/minc2/minc-release-2.2.00/conversion/mnitominc/ |
H A D | mnitominc.c | 238 mni_image.pix_size=mni_header.pix_size; in main() 239 mni_image.image_size=mni_image.image_pix*mni_image.pix_size; in main() 659 mni_header->pix_size=1; in get_mni_header() 664 mni_header->pix_size=2; in get_mni_header() 801 bytes_read = nread * mni_header->pix_size; in get_mni_image() 802 image_bytes = mni_image->image_pix * mni_header->pix_size; in get_mni_image() 807 nrow=mni_image->npixels*mni_image->pix_size; in get_mni_image() 833 if (mni_image->pix_size==2) { in get_mni_image() 851 for (i=0; i < MNI_CORNER_XSIZE; i += mni_image->pix_size) in get_mni_image() 852 if (mni_image->pix_size == 1) { in get_mni_image() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/plotters/ |
H A D | PS_plotter.cpp | 663 wxSize pix_size; // size of the bitmap in pixels in PlotImage() local 664 pix_size.x = aImage.GetWidth(); in PlotImage() 665 pix_size.y = aImage.GetHeight(); in PlotImage() 666 DPOINT drawsize( aScaleFactor * pix_size.x, in PlotImage() 667 aScaleFactor * pix_size.y ); // requested size of image in PlotImage() 680 fprintf( m_outputFile, "/pix %d string def\n", pix_size.x ); in PlotImage() 692 fprintf( m_outputFile, "%d %d 8", pix_size.x, pix_size.y ); in PlotImage() 695 fprintf( m_outputFile, " [%d 0 0 %d 0 %d]\n", pix_size.x, -pix_size.y , pix_size.y); in PlotImage() 709 for( int yy = 0; yy < pix_size.y; yy ++ ) in PlotImage() 711 for( int xx = 0; xx < pix_size.x; xx++, jj++ ) in PlotImage()
|
H A D | PDF_plotter.cpp | 369 wxSize pix_size( aImage.GetWidth(), aImage.GetHeight() ); in PlotImage() local 372 DPOINT drawsize( aScaleFactor * pix_size.x, aScaleFactor * pix_size.y ); in PlotImage() 404 "ID\n", m_colorMode ? "/RGB" : "/G", pix_size.x, pix_size.y ); in PlotImage() 408 for( int y = 0; y < pix_size.y; y++ ) in PlotImage() 410 for( int x = 0; x < pix_size.x; x++ ) in PlotImage()
|
/dports/graphics/cimg/CImg-v.2.9.7/plugins/ |
H A D | ipl.h | 220 const int pix_size = byte_depth*img->nChannels; variable 229 for (int j = 0; j<W; ++j, intensityPtrI+=pix_size, intensityPtrC+=byte_depth) 283 const int pix_size = byte_depth*img->nChannels; variable 293 for (int j = 0; j<W; ++j, intensityPtrI+=pix_size, intensityPtrC+=byte_depth)
|
/dports/graphics/gmic-qt/CImg-v.2.9.8/plugins/ |
H A D | ipl.h | 220 const int pix_size = byte_depth*img->nChannels; variable 229 for (int j = 0; j<W; ++j, intensityPtrI+=pix_size, intensityPtrC+=byte_depth) 283 const int pix_size = byte_depth*img->nChannels; variable 293 for (int j = 0; j<W; ++j, intensityPtrI+=pix_size, intensityPtrC+=byte_depth)
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/ |
H A D | array.cpp | 165 int pix_size = CV_ELEM_SIZE(type); in cvInitMatHeader() local 166 int min_step = arr->cols*pix_size; in cvInitMatHeader() 538 if( pix_size == 0 ) in cvCreateSparseMat() 895 int pix_size, min_step; in cvSetData() local 905 pix_size = CV_ELEM_SIZE(type); in cvSetData() 906 min_step = mat->cols*pix_size; in cvSetData() 927 min_step = img->width*pix_size; in cvSetData() 1398 int len, pix_size; in cvGetDiag() local 1406 pix_size = CV_ELEM_SIZE(mat->type); in cvGetDiag() 1523 offset -= pix_size; in cvScalarToRawData() [all …]
|
/dports/net/liferea/liferea-1.12.7/plugins/ |
H A D | trayicon.py | 153 pix_size = self.staticon.props.size 154 font_size = max(10, pix_size/4*2) 157 pix = pixbuf_text(pix_size, pix_size,
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/ |
H A D | drawing.cpp | 273 int pix_size = (int)img.elemSize(); in Line() local 276 if( pix_size == 3 ) in Line() 291 if( pix_size == 1 ) in Line() 646 int pix_size = (int)img.elemSize(); in Line2() local 697 if( pix_size == 3 ) in Line2() 740 else if( pix_size == 1 ) in Line2() 1066 if (pix_size == 1) in ICV_HLINE_X() 1073 hline_ptr += pix_size; in ICV_HLINE_X() 1075 size_t sizeToCopy = pix_size; in ICV_HLINE_X() 1110 int pix_size = (int)img.elemSize(); in FillConvexPoly() local [all …]
|