Home
last modified time | relevance | path

Searched refs:destheight (Results 1 – 25 of 73) sorted by relevance

123

/dports/graphics/libpano13/libpano13-2.9.20/
H A Dremap.c35 int destwidth=0, destheight=0; in remap() local
73 destheight = TrPtr->src->height; in remap()
109 destheight = TrPtr->src->height; in remap()
172 destheight = 2 * TrPtr->src->height; in remap()
178 destheight = TrPtr->src->width; in remap()
216 vars[1] = destheight / 2; in remap()
231 destheight = TrPtr->src->height ; in remap()
270 destheight = TrPtr->src->height ; in remap()
272 vars[1] = destheight / 2; in remap()
313 vars[2] = destheight / 2.0; in remap()
[all …]
H A Dperspect.c35 uint32_t destwidth, destheight; in perspective() local
51 destheight = prefs->height; in perspective()
53 if( destwidth <= 0 || destheight <= 0 ) in perspective()
61 if( SetDestImage(TrPtr, destwidth, destheight) != 0 ) in perspective()
H A Dcorrect.c59 int destwidth, destheight; in correct() local
83 destheight = TrPtr->src->height; in correct()
96 if( SetDestImage(TrPtr, destwidth, destheight) != 0 ) in correct()
173 destheight = prefs->height; in correct()
180 destheight = TrPtr->src->height; in correct()
193 if( SetDestImage(TrPtr, destwidth, destheight) != 0 ) in correct()
207 im.width = destwidth; im.height = destheight; in correct()
257 destwidth = prefs->fwidth ; destheight = prefs->fheight ; in correct()
276 destheight = prefs->height; in correct()
281 if( destwidth <= 0 || destheight <= 0 ) in correct()
[all …]
H A Dpan.c27 int destwidth, destheight; in pan() local
155 destheight = aP.im.height; in pan()
158 if( SetDestImage( TrPtr, destwidth, destheight) != 0) in pan()
/dports/x11/swaylock-effects/swaylock-effects-1.6-3/
H A Dbackground-image.c63 memcpy(destbuf, srcbuf, destheight * deststride); in load_background_from_buffer()
65 for (size_t y = 0; y < destheight; ++y) { in load_background_from_buffer()
71 for (size_t desty = 0; desty < destheight; ++desty) { in load_background_from_buffer()
81 for (size_t desty = 0; desty < destheight; ++desty) { in load_background_from_buffer()
82 size_t srcy = destheight - desty - 1; in load_background_from_buffer()
91 for (size_t desty = 0; desty < destheight; ++desty) { in load_background_from_buffer()
92 size_t srcx = destheight - desty - 1; in load_background_from_buffer()
101 for (size_t desty = 0; desty < destheight; ++desty) { in load_background_from_buffer()
111 for (size_t desty = 0; desty < destheight; ++desty) { in load_background_from_buffer()
122 size_t srcy = destheight - desty - 1; in load_background_from_buffer()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dv_pfx.cpp275 if ((destwidth | destheight) == 0) in Scale8()
285 for (y = destheight; y != 0; y--) in Scale8()
349 for (y = destheight; y != 0; y--) in Scale8()
396 if ((destwidth | destheight) == 0) in Convert8()
408 for (y = destheight; y != 0; y--) in Convert8()
443 for (y = destheight; y != 0; y--) in Convert8()
490 if ((destwidth | destheight) == 0) in Convert16()
502 for (y = destheight; y != 0; y--) in Convert16()
533 for (y = destheight; y != 0; y--) in Convert16()
576 if ((destwidth | destheight) == 0) in Convert24()
[all …]
H A Dv_draw.cpp200 double yscale = parms.destheight / img->GetHeight(); in DrawTextureV()
207 if ((y0 + parms.destheight) > (y0 + yscale * img->GetHeight())) in DrawTextureV()
266 if (parms.destheight < 32 || (parms.dclip - parms.uclip) < 32) in DrawTextureV()
363 parms->destheight = parms->texheight; in ParseDrawTextureTags()
421 parms->destheight = va_arg(tags, int); in ParseDrawTextureTags()
425 parms->destheight = va_arg(tags, double); in ParseDrawTextureTags()
435 parms->destheight = parms->texheight * CleanYfac; in ParseDrawTextureTags()
444 parms->destheight = parms->texheight * CleanYfac; in ParseDrawTextureTags()
453 parms->destheight = parms->texheight * CleanYfac_1; in ParseDrawTextureTags()
493 parms->destheight = parms->texheight * CleanYfac; in ParseDrawTextureTags()
[all …]
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dv_pfx.cpp275 if ((destwidth | destheight) == 0) in Scale8()
285 for (y = destheight; y != 0; y--) in Scale8()
349 for (y = destheight; y != 0; y--) in Scale8()
396 if ((destwidth | destheight) == 0) in Convert8()
408 for (y = destheight; y != 0; y--) in Convert8()
443 for (y = destheight; y != 0; y--) in Convert8()
490 if ((destwidth | destheight) == 0) in Convert16()
502 for (y = destheight; y != 0; y--) in Convert16()
533 for (y = destheight; y != 0; y--) in Convert16()
576 if ((destwidth | destheight) == 0) in Convert24()
[all …]
H A Dv_draw.cpp216 double yscale = parms.destheight / img->GetHeight(); in DrawTextureV()
223 if ((y0 + parms.destheight) > (y0 + yscale * img->GetHeight())) in DrawTextureV()
282 if (parms.destheight < 32 || (parms.dclip - parms.uclip) < 32) in DrawTextureV()
380 parms->destheight = parms->texheight; in ParseDrawTextureTags()
438 parms->destheight = va_arg(tags, int); in ParseDrawTextureTags()
442 parms->destheight = va_arg(tags, double); in ParseDrawTextureTags()
452 parms->destheight = parms->texheight * CleanYfac; in ParseDrawTextureTags()
461 parms->destheight = parms->texheight * CleanYfac; in ParseDrawTextureTags()
470 parms->destheight = parms->texheight * CleanYfac_1; in ParseDrawTextureTags()
510 parms->destheight = parms->texheight * CleanYfac; in ParseDrawTextureTags()
[all …]
/dports/games/xglk/xglk/
H A Dxglk_mono_patch119 static XImage *scale_image(XImage *src, int destwidth, int destheight)
129 destdata = (unsigned char *)malloc(destrowbytes * destheight);
171 ! for (jx=0; jx<destheight; jx++) {
179 ! while (ycounter >= destheight) {
180 ! ycounter -= destheight;
198 ! for (jx = 0; jx < destheight; jx++) {
204 ! while (ycounter >= destheight) {
205 ! ycounter -= destheight;
215 ! for (jx=0; jx<destheight; jx++) {
223 ! while (ycounter >= destheight) {
[all …]
H A Dxglk_pict.c31 static XImage *scale_image(XImage *src, int destwidth, int destheight);
884 static XImage *scale_image(XImage *src, int destwidth, int destheight) in scale_image() argument
902 destdata = (unsigned char *)malloc(destrowbytes * destheight); in scale_image()
906 destwidth, destheight, 32, destrowbytes); in scale_image()
961 for (jx=0; jx<destheight; jx++) { in scale_image()
972 while (ycounter >= destheight) { in scale_image()
973 ycounter -= destheight; in scale_image()
984 for (jx=0; jx<destheight; jx++) { in scale_image()
992 while (ycounter >= destheight) { in scale_image()
993 ycounter -= destheight; in scale_image()
/dports/math/py-matplotlib2/matplotlib-2.2.4/src/
H A D_gtkagg.cpp56 int destheight = 1; in Py_agg_to_gtk_drawable() local
66 destheight = srcheight; in Py_agg_to_gtk_drawable()
72 destheight = (int)(rect.y2 - rect.y1); in Py_agg_to_gtk_drawable()
74 destbuffer.resize(destheight * deststride, 0); in Py_agg_to_gtk_drawable()
78 destrbuf.attach(destbufferptr, destwidth, destheight, deststride); in Py_agg_to_gtk_drawable()
94 destheight, in Py_agg_to_gtk_drawable()
H A D_tkagg.cpp56 int destx, desty, destwidth, destheight, deststride; in PyAggImagePhoto() local
109 destheight = (int)(y2 - y1); in PyAggImagePhoto()
112 destbuffer = new agg::int8u[deststride * destheight]; in PyAggImagePhoto()
118 for (int i = 0; i < destheight; ++i) { in PyAggImagePhoto()
125 destx = desty = destwidth = destheight = deststride = 0; in PyAggImagePhoto()
150 block.height = destheight; in PyAggImagePhoto()
155 destwidth, destheight); in PyAggImagePhoto()
/dports/multimedia/v4l_compat/v4l-utils-4l-utils-1.20.0/lib/libv4lconvert/
H A Dflip.c155 unsigned char *dst, int destwidth, int destheight) in v4lconvert_rotate90_rgbbgr24() argument
158 #define srcwidth destheight in v4lconvert_rotate90_rgbbgr24()
161 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_rgbbgr24()
171 unsigned char *dst, int destwidth, int destheight) in v4lconvert_rotate90_yuv420() argument
176 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
185 destheight /= 2; in v4lconvert_rotate90_yuv420()
186 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
194 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
/dports/multimedia/libv4l/v4l-utils-4l-utils-1.20.0/lib/libv4lconvert/
H A Dflip.c155 unsigned char *dst, int destwidth, int destheight) in v4lconvert_rotate90_rgbbgr24() argument
158 #define srcwidth destheight in v4lconvert_rotate90_rgbbgr24()
161 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_rgbbgr24()
171 unsigned char *dst, int destwidth, int destheight) in v4lconvert_rotate90_yuv420() argument
176 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
185 destheight /= 2; in v4lconvert_rotate90_yuv420()
186 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
194 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
/dports/multimedia/v4l-utils/v4l-utils-4l-utils-1.20.0/lib/libv4lconvert/
H A Dflip.c155 unsigned char *dst, int destwidth, int destheight) in v4lconvert_rotate90_rgbbgr24() argument
158 #define srcwidth destheight in v4lconvert_rotate90_rgbbgr24()
161 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_rgbbgr24()
171 unsigned char *dst, int destwidth, int destheight) in v4lconvert_rotate90_yuv420() argument
176 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
185 destheight /= 2; in v4lconvert_rotate90_yuv420()
186 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
194 for (y = 0; y < destheight; y++) in v4lconvert_rotate90_yuv420()
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dv_draw.cpp601 destwidth <= 0 || destheight <= 0) in DrawSWrapper()
615 int yinc = (patch->height() << FRACBITS) / destheight + 1; in DrawSWrapper()
617 int ymul = (destheight << FRACBITS) / patch->height(); in DrawSWrapper()
641 V_MarkRect(x0, y0, destwidth, destheight); in DrawSWrapper()
796 int destwidth, destheight; in DrawPatchFlipped() local
803 destheight = (height * patch->height()) / 200; in DrawPatchFlipped()
806 destwidth <= 0 || destheight <= 0) in DrawPatchFlipped()
810 yinc = (patch->height() << 16) / destheight + 1; in DrawPatchFlipped()
812 ymul = (destheight << 16) / patch->height(); in DrawPatchFlipped()
821 || y0+destheight> height) in DrawPatchFlipped()
[all …]
/dports/graphics/swftools/swftools-0.9.2/lib/
H A Dpng.h29 int png_load(const char*sname, unsigned*destwidth, unsigned*destheight, unsigned char**destdata);
30 int png_getdimensions(const char*sname, unsigned*destwidth, unsigned*destheight);
/dports/games/odamex/odamex-src-0.7.0/client/sdl/
H A Dhardware.cpp798 DCanvas *dest, int destx, int desty, int destwidth, int destheight) in I_Blit() argument
810 dest, destx, desty, destwidth, destheight)) in I_Blit()
816 if(!destheight || !destwidth) in I_Blit()
820 fracystep = (srcheight << FRACBITS) / destheight; in I_Blit()
834 for (y = desty; y < desty + destheight; y++, fracy += fracystep) in I_Blit()
843 for (y = desty; y < desty + destheight; y++, fracy += fracystep) in I_Blit()
861 for (y = desty; y < desty + destheight; y++, fracy += fracystep) in I_Blit()
870 for (y = desty; y < desty + destheight; y++, fracy += fracystep) in I_Blit()
896 for (y = desty; y < desty + destheight; y++, fracy += fracystep) in I_Blit()
909 for (y = desty; y < desty + destheight; y++, fracy += fracystep) in I_Blit()
/dports/games/edge/Edge-1.35-source/src/
H A Dp_plane.cc327 MIN(plane->startheight, plane->destheight), in MovePlane()
408 dest = plane->destheight; in MovePlane()
435 MAX(plane->startheight, plane->destheight), in MovePlane()
582 plane->destheight = dest; in P_SetupPlaneDirection()
649 plane->destheight = dest; in P_SetupSectorAction()
661 plane->destheight = dest; in P_SetupSectorAction()
700 plane->destheight, in P_SetupSectorAction()
726 model = P_GetSectorSurrounding(model, plane->destheight, in P_SetupSectorAction()
788 next_height = step->destheight + stairsize; in EV_BuildOneStair()
1050 sec->destheight = s3->f_h; in EV_DoDonut()
[all …]
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dp_floor.c108 fixed_t destheight; //jff 02/04/98 used to keep floors/ceilings in T_MovePlane() local
177 destheight = dest; // Vanilla and usual case in T_MovePlane()
179 destheight = sector->ceilingheight; // limit at ceiling in T_MovePlane()
181 if (newheight > destheight) in T_MovePlane()
183 sector->floorheight = destheight; // final position in T_MovePlane()
229 destheight = dest; in T_MovePlane()
231 destheight = sector->floorheight; in T_MovePlane()
233 if (newheight < destheight) in T_MovePlane()
235 sector->ceilingheight = destheight; // final position in T_MovePlane()
/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/
H A DGPixmap.cpp1181 int destheight = (srcheight * 3 + 3) / 4; in downsample43() local
1182 GRect rect(0, 0, destwidth, destheight); in downsample43()
1192 destheight = rect.height(); in downsample43()
1195 init(destheight, destwidth, 0); in downsample43()
1216 while (dy < destheight) in downsample43()
1225 if (dx>=0 && dy>=0 && dx+3<=destwidth && dy+3<=destheight) in downsample43()
1271 int destheight = (srcheight * 3 + 1) / 2; in upsample23() local
1272 GRect rect(0, 0, destwidth, destheight); in upsample23()
1282 destheight = rect.height(); in upsample23()
1285 init(destheight, destwidth, 0); in upsample23()
[all …]
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_floor.c70 fixed_t destheight; //jff 02/04/98 used to keep floors/ceilings in T_MovePlane() local
112 destheight = (comp[comp_floors] || dest<sector->ceilingheight)? in T_MovePlane()
114 if (sector->floorheight + speed > destheight) in T_MovePlane()
117 sector->floorheight = destheight; in T_MovePlane()
156 destheight = (comp[comp_floors] || dest>sector->floorheight)? in T_MovePlane()
158 if (sector->ceilingheight - speed < destheight) in T_MovePlane()
161 sector->ceilingheight = destheight; in T_MovePlane()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_floor.c75 fixed_t destheight; //jff 02/04/98 used to keep floors/ceilings in T_MovePlane() local
118 destheight = (comp[comp_floors] || dest<sector->ceilingheight)? in T_MovePlane()
120 if (sector->floorheight + speed > destheight) in T_MovePlane()
123 sector->floorheight = destheight; in T_MovePlane()
162 destheight = (comp[comp_floors] || dest>sector->floorheight)? in T_MovePlane()
164 if (sector->ceilingheight - speed < destheight) in T_MovePlane()
167 sector->ceilingheight = destheight; in T_MovePlane()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dp_floor.c81 fixed_t destheight; //jff 02/04/98 used to keep floors/ceilings in T_MovePlane() local
132 destheight = (comp[comp_floors] || dest<sector->ceilingheight)? in T_MovePlane()
134 if (sector->floorheight + speed > destheight) in T_MovePlane()
137 sector->floorheight = destheight; in T_MovePlane()
184 destheight = (comp[comp_floors] || dest>sector->floorheight)? in T_MovePlane()
186 if (sector->ceilingheight - speed < destheight) in T_MovePlane()
189 sector->ceilingheight = destheight; in T_MovePlane()

123