Home
last modified time | relevance | path

Searched refs:outwidth (Results 1 – 25 of 163) sorted by relevance

1234567

/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Dtexmanip.cpp45 fstep = (int) (inwidth * 65536.0f / outwidth); in R_ResampleTextureLerpLine()
49 for (j = 0,f = 0;j < outwidth;j++, f += fstep) in R_ResampleTextureLerpLine()
77 for (j = 0, f = 0; j < outwidth; j++, f += fstep) in R_ResampleTextureLerpLine()
114 if (rowsize < outwidth * bytesperpixel) in R_ResampleTexture()
121 rowsize = outwidth * bytesperpixel; in R_ResampleTexture()
136 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
151 R_ResampleTextureLerpLine (inrow, row1, inwidth, outwidth, bytesperpixel); in R_ResampleTexture()
156 j = outwidth - 4; 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()
[all …]
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Dtexmanip.cpp44 fstep = (int) ( inwidth * 65536.0f / outwidth ); in R_ResampleTextureLerpLine()
47 for ( j = 0,f = 0; j < outwidth; j++, f += fstep ) in R_ResampleTextureLerpLine()
72 for ( j = 0, f = 0; j < outwidth; j++, f += fstep ) in R_ResampleTextureLerpLine()
106 if ( rowsize < outwidth * bytesperpixel ) { in R_ResampleTexture()
114 rowsize = outwidth * bytesperpixel; in R_ResampleTexture()
128 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
142 R_ResampleTextureLerpLine( inrow, row1, inwidth, outwidth, bytesperpixel ); in R_ResampleTexture()
148 j = outwidth - 4; 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()
[all …]
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/textures/
H A DTextureManipulator.cpp270 fstep = (int) (inwidth * 65536.0f / outwidth); in resampleTextureLerpLine()
273 for (j = 0, f = 0; j < outwidth; j++, f += fstep) { in resampleTextureLerpLine()
295 for (j = 0, f = 0; j < outwidth; j++, f += fstep) { in resampleTextureLerpLine()
327 if (rowsize < outwidth * bytesperpixel) { in resampleTexture()
331 rowsize = outwidth * bytesperpixel; in resampleTexture()
346 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
358 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
363 j = outwidth - 4; in resampleTexture()
416 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
432 resampleTextureLerpLine(inrow, row1, inwidth, outwidth, bytesperpixel); in resampleTexture()
[all …]
H A DTextureManipulator.h50 void resampleTexture (const void *indata, int inwidth, int inheight, void *outdata, int outwidth,
95 …void resampleTextureLerpLine (const byte *in, byte *out, int inwidth, int outwidth, int bytesperpi…
/dports/audio/festival/festival/src/modules/diphone/
H A Ddi_reslpc.cc94 as->outwidth = walloc(int,lpc_coeffs.num_frames()); in reslpc_resynth()
105 as->outwidth[i] = frame_len; in reslpc_resynth()
121 as->outwidth[i] = frame_len; in reslpc_resynth()
184 as->outwidth[0] = as->pitch[0]; in di_reslpc()
195 if (as->outwidth[i] <= 5) in di_reslpc()
205 as->outwidth[i], in di_reslpc()
209 res_pos += as->outwidth[i]; in di_reslpc()
338 if (zz+as->outwidth[i] >= output->o_max) in lpc_resynth()
343 for(j=0 ;j < as->outwidth[i];j++,zz++,r++) in lpc_resynth()
401 if (zz+as->outwidth[i] >= output->o_max) in lpc_resynth_fixp()
[all …]
/dports/emulators/tilem/tilem-2.0/emu/
H A Dgrayimage.c85 int outwidth, int outheight, int outrowstride) in scale2d_smooth() argument
98 if (outwidth % inwidth) in scale2d_smooth()
100 outwidth, in_rem); in scale2d_smooth()
103 outwidth, in_rem); 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()
152 int outwidth, int outheight, int outrowstride) in scale2d_fast() argument
160 scale1d_fast(in, inwidth, out, outwidth); in scale2d_fast()
/dports/graphics/largetifftools/largetifftools-1.4/src/
H A Dtiffmakemosaic.c825 (outwidth >= JPEG_MAX_DIMENSION || in makeMosaicFromTIFFFile()
842 if (outwidth % 2 != 0) in makeMosaicFromTIFFFile()
843 outwidth++; /* use padding */ in makeMosaicFromTIFFFile()
844 outwidth /= 2; in makeMosaicFromTIFFFile()
847 outwidth += requestedpiecewidthdivisor - in makeMosaicFromTIFFFile()
861 outwidth = 0; in makeMosaicFromTIFFFile()
874 if (outwidth == 0 || outlength == 0) { in makeMosaicFromTIFFFile()
901 outwidth /= 2; in makeMosaicFromTIFFFile()
911 outwidth, outlength, overlapinpixels, in makeMosaicFromTIFFFile()
937 hnpieces * vnpieces, outwidth, in makeMosaicFromTIFFFile()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/renderer/
H A DImage_process.cpp49 int outwidth, int outheight ) { in R_ResampleTexture() argument
57 if ( outwidth > MAX_DIMENSION ) { in R_ResampleTexture()
58 outwidth = MAX_DIMENSION; in R_ResampleTexture()
67 fracstep = inwidth*0x10000/outwidth; in R_ResampleTexture()
70 for ( i=0 ; i<outwidth ; i++ ) { in R_ResampleTexture()
75 for ( i=0 ; i<outwidth ; i++ ) { in R_ResampleTexture()
80 for (i=0 ; i<outheight ; i++, out_p += outwidth*4 ) { in R_ResampleTexture()
84 for (j=0 ; j<outwidth ; j++) { in R_ResampleTexture()
108 int outwidth, int outheight ) { in R_Dropsample() argument
119 for (j=0 ; j<outwidth ; j++) { in R_Dropsample()
[all …]
/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/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()
275 fracstep = inwidth * 0x10000 / outwidth; in GL_ResampleTexture()
276 for (i = 0; i < outheight; i++, out += outwidth) { in GL_ResampleTexture()
279 for (j = 0; j < outwidth; j ++) { in GL_ResampleTexture()
288 unsigned char *out, int outwidth, int outheight) in GL_Resample8BitTexture() argument
295 if (!outwidth || !outheight) in GL_Resample8BitTexture()
297 fracstep = inwidth * 0x10000 / outwidth; in GL_Resample8BitTexture()
298 for (i = 0; i < outheight; i++, out += outwidth) { in GL_Resample8BitTexture()
301 for (j = 0; j < outwidth; j ++) { in GL_Resample8BitTexture()
/dports/multimedia/totem/totem-3.38.2/src/gst/
H A Dtotem-gst-pixbuf-helpers.c51 gint outwidth = 0; in totem_gst_playbin_get_frame() local
94 gst_structure_get_int (s, "width", &outwidth); 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()
105 GST_ROUND_UP_4 (outwidth * 3), destroy_pixbuf, sample); in totem_gst_playbin_get_frame()
/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
62 cinfo.image_width = outwidth; /* image width and height, in pix */ in write_JPEG_file()
76 row_stride = outwidth * 3; /* JSAMPLEs per row in image_buffer */ in write_JPEG_file()
/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
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()
109 int u = outwidth; in refresh()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dimage.c293 image_width = outwidth; in LoadPCX_QWSkin()
319 a = pixels + y * outwidth; in LoadPCX_QWSkin()
323 memset(a, 0, outwidth); in LoadPCX_QWSkin()
340 if (x < outwidth) in LoadPCX_QWSkin()
350 while(x < outwidth) in LoadPCX_QWSkin()
1341 fstep = (int) (inwidth*65536.0f/outwidth); in Image_Resample32LerpLine()
1343 for (j = 0,f = 0;j < outwidth;j++, f += fstep) in Image_Resample32LerpLine()
1381 resamplerow2 = resamplerow1 + outwidth*4; in Image_Resample32Lerp()
1403 j = outwidth - 4; in Image_Resample32Lerp()
1482 fracstep = inwidth*0x10000/outwidth; in Image_Resample32Nolerp()
[all …]
H A Dimage.h29 qboolean LoadPCX_QWSkin(const unsigned char *f, int filesize, unsigned char *pixels, int outwidth, …
47 …oid *indata, int inwidth, int inheight, int indepth, void *outdata, int outwidth, int outheight, i…
/dports/graphics/urt/urt-3.1b1_12/cnv/tex/
H A Ddvirle2.c88 int outwidth; /* width of output line */ variable
197 out_hdr.xmax = outwidth = (PageWidth - 1) / filtw;
714 for ( col = 0; col < outwidth; col++ )
720 rle_putrow( &scans[1], outwidth, &out_hdr );
721 for ( col = 0; col < outwidth; col++ )
741 for ( cp = bufp, col = 0, bit = 0; col < outwidth;
754 for ( col = 0; col < outwidth; col++ )
759 rle_putrow( &scans[1], outwidth, &out_hdr );
760 for ( col = 0; col < outwidth; col++ )
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dimage.c1106 fstep = (int) (inwidth*65536.0f/outwidth); in Image_Resample32LerpLine()
1108 for (j = 0,f = 0;j < outwidth;j++, f += fstep) in Image_Resample32LerpLine()
1145 resamplerow1 = (unsigned char *)Mem_Alloc(tempmempool, outwidth*4*2); in Image_Resample32Lerp()
1146 resamplerow2 = resamplerow1 + outwidth*4; in Image_Resample32Lerp()
1150 Image_Resample32LerpLine (inrow, resamplerow1, inwidth, outwidth); in Image_Resample32Lerp()
1151 Image_Resample32LerpLine (inrow + inwidth4, resamplerow2, inwidth, outwidth); in Image_Resample32Lerp()
1164 Image_Resample32LerpLine (inrow, resamplerow1, inwidth, outwidth); in Image_Resample32Lerp()
1168 j = outwidth - 4; in Image_Resample32Lerp()
1227 Image_Resample32LerpLine (inrow, resamplerow1, inwidth, outwidth); in Image_Resample32Lerp()
1247 fracstep = inwidth*0x10000/outwidth; in Image_Resample32Nolerp()
[all …]
/dports/games/darkplaces/darkplaces/
H A Dimage.c296 image_width = outwidth; in LoadPCX_QWSkin()
322 a = pixels + y * outwidth; in LoadPCX_QWSkin()
326 memset(a, 0, outwidth); in LoadPCX_QWSkin()
343 if (x < outwidth) in LoadPCX_QWSkin()
353 while(x < outwidth) in LoadPCX_QWSkin()
1497 fstep = (int) (inwidth*65536.0f/outwidth); in Image_Resample32LerpLine()
1499 for (j = 0,f = 0;j < outwidth;j++, f += fstep) in Image_Resample32LerpLine()
1537 resamplerow2 = resamplerow1 + outwidth*4; in Image_Resample32Lerp()
1559 j = outwidth - 4; in Image_Resample32Lerp()
1638 fracstep = inwidth*0x10000/outwidth; in Image_Resample32Nolerp()
[all …]
H A Dimage.h33 qboolean LoadPCX_QWSkin(const unsigned char *f, int filesize, unsigned char *pixels, int outwidth, …
51 …oid *indata, int inwidth, int inheight, int indepth, void *outdata, int outwidth, int outheight, i…
/dports/multimedia/lives/lives-3.2.0/lives-plugins/weed-plugins/gdk/
H A Dgdk_fast_resize.c153 int outwidth = weed_get_int_value(out_channel, WEED_LEAF_WIDTH, 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 …void OpenGL::refresh(bool smooth, unsigned inwidth, unsigned inheight, unsigned outwidth, unsigned… 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()
194 int u2 = outwidth - rightBlackBand; in refresh()
/dports/games/cake/cake_src/cake/glsetup/
H A Dglutils.cpp10 INT outwidth, INT outheight, BYTE *out) in ScaleImage() argument
16 if (!outwidth) ThrowException(DIVISION_BY_ZERO, "glutils::ScaleImage"); in ScaleImage()
17 fracstep = inwidth*0x10000/outwidth; in ScaleImage()
22 for(i=0; i<outheight; i++, out+=outwidth*3) in ScaleImage()
26 for(j=0; j<outwidth*3; j+=3) { in ScaleImage()
35 for(i=0; i<outheight; i++, out+=outwidth*4) in ScaleImage()
39 for (j=0 ; j<outwidth*4 ; j+=4) in ScaleImage()
51 for(i=0; i<outheight; i++, out+=outwidth*4) in ScaleImage()
55 for (j=0; j<outwidth*1; j+=1) in ScaleImage()
63 for(i=0; i<outheight; i++, out+=outwidth*4) in ScaleImage()
[all …]
/dports/games/quakeforge/quakeforge-0.7.2/libs/audio/renderer/
H A Dsnd_resample.c72 int outwidth; in SND_Resample() local
86 outwidth = info->channels * sizeof (float); in SND_Resample()
87 check_buffer_integrity (sc, outwidth, __FUNCTION__); in SND_Resample()
/dports/mail/nmh/nmh-1.7.1/uip/
H A Dfmttest.c403 charstring_t buffer, int outwidth, int *dat, in process_addresses() argument
450 fmt_scan(fmt, buffer, outwidth, dat, cb); in process_addresses()
471 int outwidth, int files, int *dat, in process_messages() argument
493 outwidth, cb); in process_messages()
573 outwidth, cb); in process_messages()
587 struct format *fmt, charstring_t buffer, int outwidth, in process_single_file() argument
647 if ((i = strlen(rbuf)) < outwidth) { in process_single_file()
648 bufsz = min (outwidth, (int) sizeof rbuf - i); in process_single_file()
676 fmt_scan(fmt, buffer, outwidth, dat, cb); in process_single_file()
688 int outwidth, int *dat, struct fmt_callbacks *cb) in process_raw() argument
[all …]
/dports/games/tenebrae/tenebrae_0/
H A Dgl_draw.c996 fstep = (int) (inwidth*65536.0f/outwidth); in GL_ResampleTextureLerpLine()
1037 row1 = malloc(outwidth*4); in GL_ResampleTexture()
1038 row2 = malloc(outwidth*4); in GL_ResampleTexture()
1053 memcpy(row1, row2, outwidth*4); in GL_ResampleTexture()
1059 j = outwidth - 4; in GL_ResampleTexture()
1107 row1 -= outwidth*4; in GL_ResampleTexture()
1108 row2 -= outwidth*4; in GL_ResampleTexture()
1116 memcpy(row1, row2, outwidth*4); in GL_ResampleTexture()
1121 memcpy(out, row1, outwidth * 4); in GL_ResampleTexture()
1163 fracstep = inwidth*0x10000/outwidth; in GL_Resample8BitTexture()
[all …]

1234567