Home
last modified time | relevance | path

Searched refs:inwidth (Results 1 – 25 of 172) sorted by relevance

1234567

/dports/print/texlive-base/texlive-20150521-source/texk/psutils/psutils-1.23/
H A Dpsresize.c29 double inwidth = -1; in main() local
63 inwidth = singledimen(optarg); in main()
69 if (!paper_size(optarg, &inwidth, &inheight)) in main()
113 if (inwidth <= 0 || inheight <= 0) in main()
117 scale = MIN(width/inwidth, height/inheight); in main()
118 waste = (width-scale*inwidth)*(width-scale*inwidth) + in main()
120 hshift = (width - inwidth*scale)/2; in main()
124 rscale = MIN(height/inwidth, width/inheight); in main()
125 rwaste = (height-scale*inwidth)*(height-scale*inwidth) + in main()
131 vshift = (height - inwidth*scale)/2; in main()
/dports/print/psutils/psutils/
H A Dpsresize.c59 double inwidth = -1; in main() local
75 inwidth = width = (double)PaperWidth(paper); in main()
105 inwidth = singledimen(*argv+2, argerror, usage); in main()
112 inwidth = (double)PaperWidth(paper); in main()
147 if (inwidth <= 0 || inheight <= 0) in main()
151 scale = MIN(width/inwidth, height/inheight); in main()
152 waste = (width-scale*inwidth)*(width-scale*inwidth) + in main()
154 hshift = (width - inwidth*scale)/2; in main()
158 rscale = MIN(height/inwidth, width/inheight); in main()
159 rwaste = (height-scale*inwidth)*(height-scale*inwidth) + in main()
[all …]
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Dtexmanip.cpp45 fstep = (int) (inwidth * 65536.0f / outwidth); in R_ResampleTextureLerpLine()
46 endx = (inwidth - 1); in R_ResampleTextureLerpLine()
136 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
137 R_ResampleTextureLerpLine (inrow + inwidth4, row2, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
151 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
153 R_ResampleTextureLerpLine (inrow + inwidth4, row2, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
215 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
233 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
234 R_ResampleTextureLerpLine (inrow + inwidth3, row2, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
247 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
[all …]
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Dtexmanip.cpp44 fstep = (int) ( inwidth * 65536.0f / outwidth ); in R_ResampleTextureLerpLine()
45 endx = ( inwidth - 1 ); in R_ResampleTextureLerpLine()
128 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
129 R_ResampleTextureLerpLine( inrow + inwidth4, row2, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
142 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
145 R_ResampleTextureLerpLine( inrow + inwidth4, row2, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
205 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
223 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
224 R_ResampleTextureLerpLine( inrow + inwidth3, row2, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
236 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
[all …]
/dports/graphics/zbar/zbar-0.23.90/test/
H A Ddbg_scan.cpp69 unsigned inwidth = image.columns(); in scan_image() local
70 unsigned width = inwidth + 3; in scan_image()
75 image.crop(Magick::Geometry(inwidth, 1, 0, midy)); in scan_image()
105 << "<image width='" << inwidth * 2 << "' height='384'" in scan_image()
111 unsigned raw[inwidth]; in scan_image()
116 Magick::PixelPacket *pxp = view.get(0, 0, inwidth, 1); in scan_image()
121 for(i = 0; i < inwidth; i++, pxp++) { in scan_image()
145 if(i < inwidth) in scan_image()
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/textures/
H A DTextureManipulator.cpp270 fstep = (int) (inwidth * 65536.0f / outwidth); in resampleTextureLerpLine()
271 endx = (inwidth - 1); in resampleTextureLerpLine()
346 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
347 resampleTextureLerpLine(inrow + inwidth4, row2, inwidth, outwidth, bytesperpixel); in resampleTexture()
358 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
360 resampleTextureLerpLine(inrow + inwidth4, row2, inwidth, outwidth, bytesperpixel); in resampleTexture()
416 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
432 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
433 resampleTextureLerpLine(inrow + inwidth3, row2, inwidth, outwidth, bytesperpixel); in resampleTexture()
443 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
[all …]
/dports/emulators/tilem/tilem-2.0/emu/
H A Dgrayimage.c83 int inwidth, int inheight, int inrowstride, in scale2d_smooth() argument
98 if (outwidth % inwidth) in scale2d_smooth()
99 add_scale1d_smooth(in, inwidth, out, in scale2d_smooth()
102 add_scale1d_exact(in, inwidth, out, in scale2d_smooth()
111 if (outwidth % inwidth) in scale2d_smooth()
112 add_scale1d_smooth(in, inwidth, out, outwidth, in scale2d_smooth()
115 add_scale1d_exact(in, inwidth, out, outwidth, in scale2d_smooth()
150 int inwidth, int inheight, int inrowstride, in scale2d_fast() argument
160 scale1d_fast(in, inwidth, out, outwidth); in scale2d_fast()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osg/
H A DTexture3D.cpp142 …RequiredTextureDimensions(State& state, const osg::Image& image,GLsizei& inwidth, GLsizei& inheigh… in computeRequiredTextureDimensions() argument
166 inwidth = width; in computeRequiredTextureDimensions()
367 void Texture3D::applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsize… in applyTexImage3D() argument
393 || inwidth > extensions->maxTexture3DSize in applyTexImage3D()
419 inwidth, inheight, indepth, in applyTexImage3D()
431 getCompressedSize(_internalFormat, inwidth, inheight, indepth, blockSize,size); in applyTexImage3D()
434 inwidth, inheight, indepth, in applyTexImage3D()
488 inwidth = image->s(); in applyTexImage3D()
H A DTexture.cpp2056 inwidth = width; in computeRequiredTextureDimensions()
2147 (((inwidth >> 2) << 2) != inwidth || in applyTexImage2D_load()
2279 inwidth, inheight, _borderWidth, in applyTexImage2D_load()
2293 inwidth, inheight,0, in applyTexImage2D_load()
2310 int width = inwidth; in applyTexImage2D_load()
2431 inwidth,inheight, in applyTexImage2D_load()
2509 (((inwidth >> 2) << 2) != inwidth || in applyTexImage2D_subload()
2569 inwidth,inheight,image->getDataType(), in applyTexImage2D_subload()
2606 inwidth, inheight, in applyTexImage2D_subload()
2618 inwidth, inheight, in applyTexImage2D_subload()
[all …]
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osg/
H A DTexture3D.cpp142 …RequiredTextureDimensions(State& state, const osg::Image& image,GLsizei& inwidth, GLsizei& inheigh… in computeRequiredTextureDimensions() argument
166 inwidth = width; in computeRequiredTextureDimensions()
357 void Texture3D::applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsize… in applyTexImage3D() argument
383 || inwidth > extensions->maxTexture3DSize in applyTexImage3D()
409 inwidth, inheight, indepth, in applyTexImage3D()
421 getCompressedSize(_internalFormat, inwidth, inheight, indepth, blockSize,size); in applyTexImage3D()
424 inwidth, inheight, indepth, in applyTexImage3D()
478 inwidth = image->s(); in applyTexImage3D()
H A DTexture.cpp2063 inwidth = width; in computeRequiredTextureDimensions()
2117 (((inwidth >> 2) << 2) != inwidth || in applyTexImage2D_load()
2249 inwidth, inheight, _borderWidth, in applyTexImage2D_load()
2263 inwidth, inheight,0, in applyTexImage2D_load()
2280 int width = inwidth; in applyTexImage2D_load()
2419 inwidth,inheight, in applyTexImage2D_load()
2497 (((inwidth >> 2) << 2) != inwidth || in applyTexImage2D_subload()
2557 inwidth,inheight,image->getDataType(), in applyTexImage2D_subload()
2594 inwidth, inheight, in applyTexImage2D_subload()
2606 inwidth, inheight, in applyTexImage2D_subload()
[all …]
/dports/graphics/vips/vips-8.12.0/tools/
H A Dshrink_width.in15 inwidth=`$VIPSHOME/bin/vips im_header_int Xsize $1`
16 factor=`(echo scale=10; echo $inwidth / $3) | bc`
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dr_picformats.h60 INT32 inwidth, INT32 inheight, INT32 inleftoffset, INT32 intopoffset,
66 INT16 inwidth, INT16 inheight, INT16 inleftoffset, INT16 intopoffset,
71 INT16 inwidth, INT16 inheight, INT16 inleftoffset, INT16 intopoffset,
/dports/games/ioquake3/ioquake3-1.36/code/client/
H A Dsnd_mem.c110 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
132 if( inwidth == 2 ) { in ResampleSfx()
160 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
178 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/ioquake3-server/ioquake3-1.36/code/client/
H A Dsnd_mem.c110 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
132 if( inwidth == 2 ) { in ResampleSfx()
160 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
178 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/lib/ruby/video/
H A Dopengl.hpp68 …void refresh(bool smooth, unsigned inwidth, unsigned inheight, unsigned outwidth, unsigned outheig… in refresh() argument
73 float inputSize[2] = { inwidth, inheight }; in refresh()
101 inwidth, inheight, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, buffer); in refresh()
107 double w = double(inwidth) / double(iwidth); in refresh()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/client/
H A Dsnd_mem.c111 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
133 if( inwidth == 2 ) { in ResampleSfx()
161 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
179 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/client/
H A Dsnd_mem.c110 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
132 if( inwidth == 2 ) { in ResampleSfx()
160 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
178 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/openarena/openarena-engine-source-0.8.8/code/client/
H A Dsnd_mem.c110 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
132 if( inwidth == 2 ) { in ResampleSfx()
160 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
178 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/
H A Dsnd_mem.c33 void ResampleSfx (sfx_t *sfx, int inrate, int inwidth, byte *data) in ResampleSfx() argument
57 sc->width = inwidth; in ResampleSfx()
62 if (stepscale == 1 && inwidth == 1 && sc->width == 1) in ResampleSfx()
78 if (inwidth == 2) in ResampleSfx()
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/client/
H A Dsnd_mem.c110 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
132 if( inwidth == 2 ) { in ResampleSfx()
160 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
178 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/evq3/evq3/code/client/
H A Dsnd_mem.c110 static void ResampleSfx( sfx_t *sfx, int inrate, int inwidth, byte *data, qboolean compressed ) { in ResampleSfx() argument
132 if( inwidth == 2 ) { in ResampleSfx()
160 static int ResampleSfxRaw( short *sfx, int inrate, int inwidth, int samples, byte *data ) { in ResampleSfxRaw() argument
178 if( inwidth == 2 ) { in ResampleSfxRaw()
/dports/games/quake2max/Quake2maX_0.45-src_unix/client/
H A Dsnd_mem.c34 void ResampleSfx (sfx_t *sfx, int inrate, int inwidth, byte *data) in ResampleSfx() argument
58 sc->width = inwidth; in ResampleSfx()
63 if (stepscale == 1 && inwidth == 1 && sc->width == 1) in ResampleSfx()
79 if (inwidth == 2) in ResampleSfx()
/dports/games/quake2-source/quake2-r0.16.2/src/client/
H A Dsnd_mem.c34 void ResampleSfx (sfx_t *sfx, int inrate, int inwidth, byte *data) in ResampleSfx() argument
58 sc->width = inwidth; in ResampleSfx()
63 if (stepscale == 1 && inwidth == 1 && sc->width == 1) in ResampleSfx()
79 if (inwidth == 2) in ResampleSfx()
/dports/games/quake2lnx/quake2-r0.16.2/src/client/
H A Dsnd_mem.c34 void ResampleSfx (sfx_t *sfx, int inrate, int inwidth, byte *data) in ResampleSfx() argument
58 sc->width = inwidth; in ResampleSfx()
63 if (stepscale == 1 && inwidth == 1 && sc->width == 1) in ResampleSfx()
79 if (inwidth == 2) in ResampleSfx()

1234567