/dports/graphics/viu/viu-1.1/cargo-crates/image-0.22.5/src/ |
H A D | dynimage.rs | 406 nheight: u32, in resize_exact() 420 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 432 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 433 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 445 nheight: u32, in resize_to_fill() 453 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 457 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 459 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 899 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 910 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/games/crossfire-client/crossfire-client-1.75.1/gtk-v2/src/ |
H A D | opengl.c | 829 int nwidth, nheight, numshifts, i; in create_opengl_map_image() local 845 for (nheight = pi->map_height, numshifts=0; nheight >1; nheight >>=1, numshifts++) ; in create_opengl_map_image() 846 nheight <<= numshifts; in create_opengl_map_image() 847 if (nheight != pi->map_height) { in create_opengl_map_image() 848 nheight <<=1; in create_opengl_map_image() 863 if (pi->map_width != nwidth || pi->map_height != nheight) { in create_opengl_map_image() 871 if (nwidth * nheight * 4 > size) { in create_opengl_map_image() 872 size = nwidth * nheight * 4; in create_opengl_map_image() 886 if (nheight > pi->map_height) { in create_opengl_map_image() 887 memset(newdata, 0, (nheight - pi->map_height) * nwidth * 4); in create_opengl_map_image() [all …]
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/utilities/ |
H A D | make_iso.py | 55 '+repage -extent ' + str(nwidth) + 'x' + str(nheight) + 56 '+0-' + str(nheight - int(nwidth / 2)) + ' ' + 153 ' -extent ' + str(nwidth) + 'x' + str(nheight) + 155 str(int((nheight - oheight) - flat_sprite_offset)) + 230 nheight = flat_sprite_offset + oheight variable 236 ntc['tile_info'][0]['height'] = nheight
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/utilities/ |
H A D | make_iso.py | 55 '+repage -extent ' + str(nwidth) + 'x' + str(nheight) + 56 '+0-' + str(nheight - int(nwidth / 2)) + ' ' + 153 ' -extent ' + str(nwidth) + 'x' + str(nheight) + 155 str(int((nheight - oheight) - flat_sprite_offset)) + 230 nheight = flat_sprite_offset + oheight variable 236 ntc['tile_info'][0]['height'] = nheight
|
/dports/games/xsc/xsc-1.6/ |
H A D | king.C | 108 King::resize(const int nwidth, const int nheight) in resize() argument 110 Tthing::resize(nwidth, nheight); in resize() 111 fireball->resize(nwidth, nheight); in resize()
|
H A D | minefield.C | 64 Minefield::resize(const int nwidth, const int nheight) const in resize() argument 67 buzzers[i].resize(nwidth, nheight); in resize()
|
/dports/devel/apitrace/apitrace-9.0/thirdparty/directxtex/DirectXTex/ |
H A D | DirectXTexFlipRotate.cpp | 65 UINT nwidth, nheight; in _PerformFlipRotateUsingWIC() local 66 hr = FR->GetSize( &nwidth, &nheight ); in _PerformFlipRotateUsingWIC() 70 if ( destImage.width != nwidth || destImage.height != nheight ) in _PerformFlipRotateUsingWIC() 172 size_t nheight = srcImage.height; in FlipRotate() local 177 nheight = srcImage.width; in FlipRotate() 180 HRESULT hr = image.Initialize2D( srcImage.format, nwidth, nheight, 1, 1 ); in FlipRotate()
|
H A D | DirectXTexMipmaps.cpp | 677 size_t yinc = ( height << 16 ) / nheight; in _Generate2DMipsPointFilter() 682 for( size_t y = 0; y < nheight; ++y ) in _Generate2DMipsPointFilter() 774 for( size_t y = 0; y < nheight; ++y ) in _Generate2DMipsBoxFilter() 869 for( size_t y = 0; y < nheight; ++y ) in _Generate2DMipsLinearFilter() 987 for( size_t y = 0; y < nheight; ++y ) in _Generate2DMipsCubicFilter() 1177 assert( v < nheight ); in _Generate2DMipsTriangleFilter() 1198 assert( v < nheight ); in _Generate2DMipsTriangleFilter() 1238 assert( v < nheight ); in _Generate2DMipsTriangleFilter() 1264 assert( v < nheight ); in _Generate2DMipsTriangleFilter() 1480 for( size_t y = 0; y < nheight; ++y ) in _Generate3DMipsPointFilter() [all …]
|
/dports/graphics/dataplot/dataplot-2c1b27601a3b7523449de612613eadeead9a8f70/lib/frscript/ |
H A D | xdpGraph.tcl | 143 set nheight $canVas(height) 144 set nwidth $nheight 145 graphResize $nheight $nwidth 148 set nheight $canVas(cheight,$xdp(GRAPHRES)) 149 graphResize $nheight 268 set nheight [expr {%h - $xdp(DHGT,.graph)}] 269 graphResize $nheight $nwidth 0 281 proc graphResize {nheight {nwidth -1} {regeom 1}} { 286 $nwidth > 0 && $nheight > 0} { 289 set canVas(height) $nheight [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/image-0.21.2/src/ |
H A D | dynimage.rs | 339 nheight: u32, in resize_exact() 353 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 365 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 366 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 378 nheight: u32, in resize_to_fill() 386 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 390 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 392 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 917 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 928 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/image-0.23.4/src/ |
H A D | dynimage.rs | 558 nheight: u32, in resize_exact() 572 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 584 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 585 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 597 nheight: u32, in resize_to_fill() 605 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 609 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 611 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 1076 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 1087 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/image-0.20.1/src/ |
H A D | dynimage.rs | 336 nheight: u32, in resize_exact() 350 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 362 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 363 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 375 nheight: u32, in resize_to_fill() 383 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 387 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 389 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 912 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 923 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/image/src/ |
H A D | dynimage.rs | 545 nheight: u32, in resize_exact() 559 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 571 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 572 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 584 nheight: u32, in resize_to_fill() 592 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 596 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 598 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 1051 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 1062 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | tilemap.cpp | 67 void Tilemap::SetHeight(int nheight) { in SetHeight() argument 68 layer_down.SetHeight(nheight); in SetHeight() 69 layer_up.SetHeight(nheight); in SetHeight()
|
H A D | tilemap_layer.h | 71 void SetHeight(int nheight); 203 inline void TilemapLayer::SetHeight(int nheight) { in SetHeight() argument 204 height = nheight; in SetHeight()
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/glshim/src/gl/ |
H A D | texture.c | 28 GLsizei nwidth, GLsizei nheight) { in tex_coord_npot() argument 33 GLfloat hratio = (height / (GLfloat)nheight); in tex_coord_npot() 153 GLsizei nheight = npot(height), nwidth = npot(width); in glTexImage2D() local 158 bound->nheight = nheight; in glTexImage2D() 160 if (height != nheight || width != nwidth) { in glTexImage2D() 161 gles_glTexImage2D(target, level, format, nwidth, nheight, border, in glTexImage2D()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/EGL/Android/ |
H A D | OgreAndroidEGLWindow.cpp | 87 int nheight = (int)((float)ANativeWindow_getHeight(mWindow) * mScale); in resize() local 88 ANativeWindow_setBuffersGeometry(mWindow, nwidth, nheight, format); in resize() 297 int nheight = (int)((float)ANativeWindow_getHeight(mWindow) * mScale); in _notifySurfaceCreated() local 298 ANativeWindow_setBuffersGeometry(mWindow, nwidth, nheight, format); in _notifySurfaceCreated() 393 int nheight = (int)((float)ANativeWindow_getHeight(mWindow) * mScale); in _notifySurfaceCreated() local 394 ANativeWindow_setBuffersGeometry(mWindow, nwidth, nheight, format); in _notifySurfaceCreated()
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/image-0.22.1/src/ |
H A D | dynimage.rs | 340 nheight: u32, in resize_exact() 354 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 366 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 367 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 379 nheight: u32, in resize_to_fill() 387 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 391 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 393 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 1042 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 1053 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/graphics/viu/viu-1.1/cargo-crates/image-0.23.9/src/ |
H A D | dynimage.rs | 559 nheight: u32, in resize_exact() 573 pub fn thumbnail(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail() 585 pub fn thumbnail_exact(&self, nwidth: u32, nheight: u32) -> DynamicImage { in thumbnail_exact() 586 dynamic_map!(*self, ref p => imageops::thumbnail(p, nwidth, nheight)) in thumbnail_exact() 598 nheight: u32, in resize_to_fill() 606 let ratio = u64::from(iwidth) * u64::from(nheight); in resize_to_fill() 610 intermediate.crop(0, (iheight - nheight) / 2, nwidth, nheight) in resize_to_fill() 612 intermediate.crop((iwidth - nwidth) / 2, 0, nwidth, nheight) in resize_to_fill() 1087 let ratio = u64::from(width) * u64::from(nheight); in resize_dimensions() 1098 u64::from(width) * u64::from(nheight) / u64::from(height) in resize_dimensions() [all …]
|
/dports/games/xjig/xjig-2.4/ |
H A D | gif_image.C | 165 int nwidth,nheight; in AddAt() local 177 if (y22>Height()) nheight=y22; in AddAt() 178 else nheight=Height(); in AddAt() 181 if (y22>Height()) nheight=gif_p->Height(); in AddAt() 182 else nheight=(-y21)+Height(); in AddAt() 185 if (nwidth>Width()||nheight>Height()) { in AddAt() 186 if (!(ndata = (byte *)malloc(nwidth*nheight))) { in AddAt() 192 memset( ndata, 0, nwidth*nheight ); in AddAt() 220 height = nheight; in AddAt()
|
/dports/games/xmemory/xmemory-3.7/ |
H A D | gif_image.C | 165 int nwidth,nheight; in AddAt() local 177 if (y22>Height()) nheight=y22; in AddAt() 178 else nheight=Height(); in AddAt() 181 if (y22>Height()) nheight=gif_p->Height(); in AddAt() 182 else nheight=(-y21)+Height(); in AddAt() 185 if (nwidth>Width()||nheight>Height()) { in AddAt() 186 if (!(ndata = (byte *)malloc(nwidth*nheight))) { in AddAt() 192 memset( ndata, 0, nwidth*nheight ); in AddAt() 220 height = nheight; in AddAt()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lab/ |
H A D | dispman.cpp | 637 uint32 size = (int32)(height - nheight) * (int32)width; in copyPage() 674 uint16 nheight = height; in doScrollWipe() local 680 if ((by > nheight) && nheight) in doScrollWipe() 681 by = nheight; in doScrollWipe() 686 if (nheight) in doScrollWipe() 687 nheight -= by; in doScrollWipe() 689 copyPage(width, height, nheight, startLine, mem); in doScrollWipe() 692 if (!nheight) in doScrollWipe() 697 if (nheight <= (height / 4)) in doScrollWipe() 699 else if (nheight <= (height / 3)) in doScrollWipe() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/lab/ |
H A D | dispman.cpp | 636 uint32 size = (int32)(height - nheight) * (int32)width; in copyPage() 673 uint16 nheight = height; in doScrollWipe() local 679 if ((by > nheight) && nheight) in doScrollWipe() 680 by = nheight; in doScrollWipe() 685 if (nheight) in doScrollWipe() 686 nheight -= by; in doScrollWipe() 688 copyPage(width, height, nheight, startLine, mem); in doScrollWipe() 691 if (!nheight) in doScrollWipe() 696 if (nheight <= (height / 4)) in doScrollWipe() 698 else if (nheight <= (height / 3)) in doScrollWipe() [all …]
|
/dports/x11-wm/sawfish/sawfish_1.13.0/lisp/sawfish/wm/commands/ |
H A D | shrink-yank.jl | 241 (nheight (cdr wdim))) 245 ((up down) nheight)) 253 ((up) (setq nheight (- nheight 261 ((down) (setq nheight (- nheight 265 (let ((tem (cons nwidth nheight))) 268 nheight (cdr tem))) 271 ((down) (setq ntop (+ ntop (- (cdr wdim) nheight))))) 273 (move-resize-window-to window nleft ntop nwidth nheight)
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | dgn-height.cc | 76 const int nheight = dgn_height_at(p); in dgn_smooth_height_at() local 77 if (max_height != DGN_UNDEFINED_HEIGHT && nheight > max_height) in dgn_smooth_height_at() 82 total += nheight * weight; in dgn_smooth_height_at()
|