Home
last modified time | relevance | path

Searched refs:outheight (Results 1 – 25 of 112) sorted by relevance

12345

/dports/emulators/tilem/tilem-2.0/emu/
H A Dgrayimage.c85 int outwidth, int outheight, int outrowstride) in scale2d_smooth() argument
90 memset(out, 0, outrowstride * outheight * sizeof(int)); in scale2d_smooth()
92 in_rem = outheight; in scale2d_smooth()
94 i = outheight; in scale2d_smooth()
107 in_rem = outheight; in scale2d_smooth()
152 int outwidth, int outheight, int outrowstride) in scale2d_fast() argument
156 e = outheight - inheight / 2; in scale2d_fast()
157 i = outheight; in scale2d_fast()
166 e += outheight; in scale2d_fast()
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/ui_qt/
H A Dinterface.cpp5 unsigned outwidth, outheight, outpitch; in video_refresh() local
6 filter.size(outwidth, outheight, width, height); in video_refresh()
8 if(video.lock(output, outpitch, outwidth, outheight) == true) { in video_refresh()
12 if(saveScreenshot == true) captureScreenshot(output, outpitch, outwidth, outheight); in video_refresh()
/dports/games/dhewm3/dhewm3-1.5.1/neo/renderer/
H A DImage_process.cpp49 int outwidth, int outheight ) { in R_ResampleTexture() argument
60 if ( outheight > MAX_DIMENSION ) { in R_ResampleTexture()
61 outheight = MAX_DIMENSION; in R_ResampleTexture()
64 out = (byte *)R_StaticAlloc( outwidth * outheight * 4 ); in R_ResampleTexture()
80 for (i=0 ; i<outheight ; i++, out_p += outwidth*4 ) { in R_ResampleTexture()
81 inrow = in + 4 * inwidth * (int)( ( i + 0.25f ) * inheight / outheight ); in R_ResampleTexture()
82 inrow2 = in + 4 * inwidth * (int)( ( i + 0.75f ) * inheight / outheight ); in R_ResampleTexture()
108 int outwidth, int outheight ) { in R_Dropsample() argument
114 out = (byte *)R_StaticAlloc( outwidth * outheight * 4 ); in R_Dropsample()
117 for (i=0 ; i<outheight ; i++, out_p += outwidth*4 ) { in R_Dropsample()
[all …]
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/lib/ruby/video/
H A Dopengl.hpp68 … refresh(bool smooth, unsigned inwidth, unsigned inheight, unsigned outwidth, unsigned outheight) { in refresh() argument
77 float outputSize[2] = { outwidth, outheight }; in refresh()
93 glOrtho(0, outwidth, 0, outheight, -1.0, 1.0); in refresh()
94 glViewport(0, 0, outwidth, outheight); in refresh()
110 int v = outheight; in refresh()
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/gl/
H A Dgl_textures.c266 unsigned int *out, int outwidth, int outheight) in GL_ResampleTexture() argument
273 if (!outwidth || !outheight) in GL_ResampleTexture()
276 for (i = 0; i < outheight; i++, out += outwidth) { in GL_ResampleTexture()
277 inrow = in + inwidth * (i * inheight / outheight); in GL_ResampleTexture()
288 unsigned char *out, int outwidth, int outheight) in GL_Resample8BitTexture() argument
295 if (!outwidth || !outheight) in GL_Resample8BitTexture()
298 for (i = 0; i < outheight; i++, out += outwidth) { in GL_Resample8BitTexture()
299 inrow = in + inwidth * (i * inheight / outheight); in GL_Resample8BitTexture()
/dports/multimedia/totem/totem-3.38.2/src/gst/
H A Dtotem-gst-pixbuf-helpers.c52 gint outheight = 0; in totem_gst_playbin_get_frame() local
95 gst_structure_get_int (s, "height", &outheight); in totem_gst_playbin_get_frame()
96 if (outwidth <= 0 || outheight <= 0) in totem_gst_playbin_get_frame()
104 GDK_COLORSPACE_RGB, FALSE, 8, outwidth, outheight, in totem_gst_playbin_get_frame()
/dports/multimedia/lives/lives-3.2.0/lives-plugins/weed-plugins/gdk/
H A Dgdk_fast_resize.c154 int outheight = weed_get_int_value(out_channel, WEED_LEAF_HEIGHT, NULL); in resize_process() local
162 if (outwidth > inwidth || outheight > inheight) { in resize_process()
163 out_pixbuf = gdk_pixbuf_scale_simple(in_pixbuf, outwidth, outheight, up_interp); in resize_process()
165 out_pixbuf = gdk_pixbuf_scale_simple(in_pixbuf, outwidth, outheight, down_interp); in resize_process()
/dports/games/openxcom/OpenXcom-1.0/src/Engine/
H A DOpenGL.cpp139 …mooth, unsigned inwidth, unsigned inheight, unsigned outwidth, unsigned outheight, int topBlackBan… in refresh() argument
150 float outputSize[2] = { (float)outwidth, (float)outheight }; in refresh()
170 glOrtho(0, outwidth, 0, outheight, -1.0, 1.0); in refresh()
171 glViewport(0, 0, outwidth, outheight); in refresh()
195 int v1 = outheight - topBlackBand; in refresh()
/dports/graphics/jpgtn/jpgtn-2.06/src/
H A Dwritejpeg.c34 void write_JPEG_file(char *filename, int outwidth, int outheight, int quality) in write_JPEG_file() argument
63 cinfo.image_height = outheight; in write_JPEG_file()
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Dtexmanip.cpp112 …d *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight, int bytesperpix… in R_ResampleTexture() argument
131 fstep = (int) (inheight * 65536.0f / outheight); in R_ResampleTexture()
139 for (i = 0, f = 0;i < outheight;i++,f += fstep) in R_ResampleTexture()
228 fstep = (int) (inheight*65536.0f/outheight); in R_ResampleTexture()
235 for (i = 0, f = 0;i < outheight;i++,f += fstep) in R_ResampleTexture()
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Dtexmanip.cpp105 …d *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight, int bytesperpix… in R_ResampleTexture() argument
123 fstep = (int) ( inheight * 65536.0f / outheight ); in R_ResampleTexture()
131 for ( i = 0, f = 0; i < outheight; i++,f += fstep ) in R_ResampleTexture()
218 fstep = (int) ( inheight * 65536.0f / outheight ); in R_ResampleTexture()
225 for ( i = 0, f = 0; i < outheight; i++,f += fstep ) in R_ResampleTexture()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dimage.h29 …X_QWSkin(const unsigned char *f, int filesize, unsigned char *pixels, int outwidth, int outheight);
47 …nt inwidth, int inheight, int indepth, void *outdata, int outwidth, int outheight, int outdepth, i…
H A Dimage.c283 …CX_QWSkin(const unsigned char *f, int filesize, unsigned char *pixels, int outwidth, int outheight) in LoadPCX_QWSkin() argument
294 image_height = outheight; in LoadPCX_QWSkin()
317 for (y = 0;y < outheight && fin < enddata;y++) in LoadPCX_QWSkin()
1370 …le32Lerp(const void *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight) in Image_Resample32Lerp() argument
1378 fstep = (int) (inheight*65536.0f/outheight); in Image_Resample32Lerp()
1387 for (i = 0, f = 0;i < outheight;i++,f += fstep) in Image_Resample32Lerp()
1474 …32Nolerp(const void *indata, int inwidth, int inheight, void *outdata, int outwidth, int outheight) in Image_Resample32Nolerp() argument
1483 for (i = 0;i < outheight;i++) in Image_Resample32Nolerp()
1485 inrow = (int *)indata + inwidth*(i*inheight/outheight); in Image_Resample32Nolerp()
1524 Image_Resample32Lerp(indata, inwidth, inheight, outdata, outwidth, outheight); in Image_Resample32()
[all …]
/dports/games/darkplaces/darkplaces/
H A Dimage.h33 …X_QWSkin(const unsigned char *f, int filesize, unsigned char *pixels, int outwidth, int outheight);
51 …nt inwidth, int inheight, int indepth, void *outdata, int outwidth, int outheight, int outdepth, i…
/dports/games/cake/cake_src/cake/glsetup/
H A Dglutils.cpp10 INT outwidth, INT outheight, BYTE *out) in ScaleImage() argument
22 for(i=0; i<outheight; i++, out+=outwidth*3) in ScaleImage()
24 inrow = in + 3*inwidth*(i*inheight/outheight); in ScaleImage()
35 for(i=0; i<outheight; i++, out+=outwidth*4) in ScaleImage()
37 inrow = in + 4*inwidth*(i*inheight/outheight); in ScaleImage()
51 for(i=0; i<outheight; i++, out+=outwidth*4) in ScaleImage()
53 inrow = in + 1*inwidth*(i*inheight/outheight); in ScaleImage()
63 for(i=0; i<outheight; i++, out+=outwidth*4) in ScaleImage()
65 inrow = in + 2*inwidth*(i*inheight/outheight); in ScaleImage()
/dports/games/renpy/renpy-7.4.11-sdk/module/
H A Drenpy.h17 int outheight);
24 int outheight);
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/ui_qt/link/
H A Dfilter.cpp170 void Filter::size(unsigned &outwidth, unsigned &outheight, unsigned width, unsigned height) { in size() argument
174 return dl_size(renderer, outwidth, outheight, width, height); in size()
178 outheight = height; in size()
/dports/net/tightvnc/vnc_unixsrc/Xvnc/lib/font/bitmap/
H A Dfontink.c173 outheight; local
183 outheight = pDst->metrics.descent + pDst->metrics.ascent;
190 bzero(newglyph, out_bytes * outheight);
/dports/x11-fonts/bdftopcf/bdftopcf-1.1/
H A Dfontink.c171 outheight; in FontCharReshape() local
181 outheight = pDst->metrics.descent + pDst->metrics.ascent; in FontCharReshape()
188 bzero(newglyph, out_bytes * outheight); in FontCharReshape()
/dports/x11-fonts/libXfont/libXfont-1.5.4/src/bitmap/
H A Dfontink.c171 outheight; in FontCharReshape() local
181 outheight = pDst->metrics.descent + pDst->metrics.ascent; in FontCharReshape()
188 bzero(newglyph, out_bytes * outheight); in FontCharReshape()
/dports/x11-fonts/libXfont2/libXfont2-2.0.5/src/bitmap/
H A Dfontink.c172 outheight; in FontCharReshape() local
182 outheight = pDst->metrics.descent + pDst->metrics.ascent; in FontCharReshape()
189 bzero(newglyph, out_bytes * outheight); in FontCharReshape()
/dports/devel/upp/upp/bazaar/plugin/assimp/code/MDL/HalfLife/
H A DHL1MDLLoader.cpp328 int outwidth, outheight; in read_texture() local
340 for (outheight = 1; outheight < ptexture->height; outheight <<= 1) in read_texture()
343 if (outheight > 256) in read_texture()
344 outheight = 256; in read_texture()
348 pResult->mHeight = outheight; in read_texture()
359 aiTexel *out = pResult->pcData = new aiTexel[outwidth * outheight]; in read_texture()
366 for (i = 0; i < outheight; i++) { in read_texture()
367 row1[i] = (int)((i + 0.25) * (ptexture->height / (float)outheight)) * ptexture->width; in read_texture()
368 row2[i] = (int)((i + 0.75) * (ptexture->height / (float)outheight)) * ptexture->width; in read_texture()
372 for (i = 0; i < outheight; i++) { in read_texture()
/dports/deskutils/xfce4-tumbler/tumbler-4.16.0/plugins/gst-thumbnailer/
H A Dgst-thumbnailer.c294 gint outwidth = 0, outheight = 0; in gst_thumbnailer_capture_frame() local
323 gst_structure_get_int (s, "height", &outheight); in gst_thumbnailer_capture_frame()
324 if (outwidth <= 0 || outheight <= 0) in gst_thumbnailer_capture_frame()
338 outwidth, outheight, in gst_thumbnailer_capture_frame()
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/
H A Dgl_draw.c879 …_ResampleTexture (unsigned *in, int inwidth, int inheight, byte *out, int outwidth, int outheight) in GL_ResampleTexture() argument
886 if (inwidth <= 0 || inheight <= 0 || outwidth <= 0 || outheight <= 0 || in GL_ResampleTexture()
887 inwidth * 0x10000 & 0xC0000000 || inheight * outheight & 0xC0000000 || in GL_ResampleTexture()
889 …esampleTexture: invalid parameters (in:%dx%d, out:%dx%d)", inwidth, inheight, outwidth, outheight); in GL_ResampleTexture()
892 for (i=0 ; i<outheight ; i++) in GL_ResampleTexture()
894 inrow = (byte *)in + inwidth*(i*inheight/outheight)*4; in GL_ResampleTexture()
906 …ampleTexture (unsigned *in, int inwidth, int inheight, unsigned *out, int outwidth, int outheight) in GL_ResampleTexture() argument
913 for (i=0 ; i<outheight ; i++, out += outwidth) in GL_ResampleTexture()
915 inrow = in + inwidth*(i*inheight/outheight); in GL_ResampleTexture()
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/textures/
H A DTextureManipulator.cpp325 int outheight, int bytesperpixel) in resampleTexture() argument
341 fstep = (int) (inheight * 65536.0f / outheight); in resampleTexture()
349 for (i = 0, f = 0; i < outheight; i++, f += fstep) { in resampleTexture()
427 fstep = (int) (inheight * 65536.0f / outheight); in resampleTexture()
434 for (i = 0, f = 0; i < outheight; i++, f += fstep) { in resampleTexture()

12345