/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/ |
H A D | r_screen.c | 131 if (vrect->width < 96) { in R_SetVrect() 135 vrect->width &= ~7; in R_SetVrect() 138 if (vrect->height > h) in R_SetVrect() 139 vrect->height = h; in R_SetVrect() 140 vrect->height &= ~1; in R_SetVrect() 142 vrect->x = (vrectin->width - vrect->width) / 2; in R_SetVrect() 143 vrect->y = (h - vrect->height) / 2; in R_SetVrect() 149 vrect_t vrect; in SCR_CalcRefdef() local 159 vrect.x = 0; in SCR_CalcRefdef() 160 vrect.y = 0; in SCR_CalcRefdef() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw32/ |
H A D | screen.c | 150 vrect_t vrect; in sw32_SCR_UpdateScreen() local 206 vrect.x = 0; in sw32_SCR_UpdateScreen() 207 vrect.y = 0; in sw32_SCR_UpdateScreen() 210 vrect.next = 0; in sw32_SCR_UpdateScreen() 212 vrect.x = 0; in sw32_SCR_UpdateScreen() 213 vrect.y = 0; in sw32_SCR_UpdateScreen() 216 vrect.next = 0; in sw32_SCR_UpdateScreen() 218 vrect.x = scr_vrect.x; in sw32_SCR_UpdateScreen() 219 vrect.y = scr_vrect.y; in sw32_SCR_UpdateScreen() 222 vrect.next = 0; in sw32_SCR_UpdateScreen() [all …]
|
H A D | sw32_rmisc.c | 75 vr.x = r_refdef.vrect.x; in sw32_R_TimeRefresh_f() 76 vr.y = r_refdef.vrect.y; in sw32_R_TimeRefresh_f() 189 vrect_t vrect; in sw32_R_SetupFrame() local 253 vrect.x = 0; in sw32_R_SetupFrame() 254 vrect.y = 0; in sw32_R_SetupFrame() 258 R_SetVrect (&vrect, &r_refdef.vrect, vr_data.lineadj); in sw32_R_SetupFrame() 274 vrect.x = 0; in sw32_R_SetupFrame() 275 vrect.y = 0; in sw32_R_SetupFrame() 279 R_SetVrect (&vrect, &r_refdef.vrect, in sw32_R_SetupFrame() 286 vrect.x = 0; in sw32_R_SetupFrame() [all …]
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/text-freetype2/ |
H A D | obs-convenience.c | 29 struct gs_vb_data *vrect = NULL; in create_uv_vbuffer() local 31 vrect = gs_vbdata_create(); in create_uv_vbuffer() 32 vrect->num = num_verts; in create_uv_vbuffer() 34 vrect->num_tex = 1; in create_uv_vbuffer() 35 vrect->tvarray = in create_uv_vbuffer() 37 vrect->tvarray[0].width = 2; in create_uv_vbuffer() 38 vrect->tvarray[0].array = bmalloc(sizeof(struct vec2) * num_verts); in create_uv_vbuffer() 40 vrect->colors = in create_uv_vbuffer() 43 memset(vrect->points, 0, sizeof(struct vec3) * num_verts); in create_uv_vbuffer() 46 memset(vrect->colors, 0, sizeof(uint32_t) * num_verts); in create_uv_vbuffer() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/glsl/ |
H A D | glsl_screen.c | 134 if (r_refdef.vrect.x > 0) { in SCR_TileClear() 138 Draw_TileClear (r_refdef.vrect.x + r_refdef.vrect.width, 0, in SCR_TileClear() 139 vid.width - r_refdef.vrect.x + r_refdef.vrect.width, in SCR_TileClear() 142 if (r_refdef.vrect.y > 0) { in SCR_TileClear() 144 Draw_TileClear (r_refdef.vrect.x, 0, in SCR_TileClear() 145 r_refdef.vrect.x + r_refdef.vrect.width, in SCR_TileClear() 146 r_refdef.vrect.y); in SCR_TileClear() 148 Draw_TileClear (r_refdef.vrect.x, in SCR_TileClear() 149 r_refdef.vrect.y + r_refdef.vrect.height, in SCR_TileClear() 150 r_refdef.vrect.width, in SCR_TileClear() [all …]
|
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/ |
H A D | gl_screen.c | 260 vrect_t vrect; in SCR_CalcRefdef() local 326 r_refdef.vrect.x = (vid.width - r_refdef.vrect.width)/2; in SCR_CalcRefdef() 328 r_refdef.vrect.y = 0; in SCR_CalcRefdef() 330 r_refdef.vrect.y = (h - r_refdef.vrect.height)/2; in SCR_CalcRefdef() 819 Draw_TileClear (r_refdef.vrect.x + r_refdef.vrect.width, 0, in SCR_TileClear() 820 vid.width - r_refdef.vrect.x + r_refdef.vrect.width, in SCR_TileClear() 826 r_refdef.vrect.x + r_refdef.vrect.width, in SCR_TileClear() 827 r_refdef.vrect.y); in SCR_TileClear() 830 r_refdef.vrect.y + r_refdef.vrect.height, in SCR_TileClear() 833 (r_refdef.vrect.height + r_refdef.vrect.y)); in SCR_TileClear() [all …]
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | r_misc.c | 89 vr.x = r_refdef.vrect.x; in R_TimeRefresh_f() 90 vr.y = r_refdef.vrect.y; in R_TimeRefresh_f() 119 x += r_refdef.vrect.x; in R_LineGraph() 120 y += r_refdef.vrect.y; in R_LineGraph() 370 vrect_t vrect; in R_SetupFrame() local 448 vrect.x = 0; in R_SetupFrame() 449 vrect.y = 0; in R_SetupFrame() 472 vrect.x = 0; in R_SetupFrame() 473 vrect.y = 0; in R_SetupFrame() 485 vrect.x = 0; in R_SetupFrame() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/ |
H A D | r_misc.c | 78 vr.x = r_refdef.vrect.x; in R_TimeRefresh_f() 79 vr.y = r_refdef.vrect.y; in R_TimeRefresh_f() 115 x += r_refdef.vrect.x; in R_LineGraph() 116 y += r_refdef.vrect.y; in R_LineGraph() 208 x = r_refdef.vrect.width - (r_refdef.vrect.width-MAX_TIMINGS)/2; in R_TimeGraph() 389 vrect_t vrect; in R_SetupFrame() local 467 vrect.x = 0; in R_SetupFrame() 468 vrect.y = 0; in R_SetupFrame() 472 R_SetVrect (&vrect, &r_refdef.vrect, sb_lines); in R_SetupFrame() 492 vrect.x = 0; in R_SetupFrame() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 303 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 313 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 316 vrect.pict.linesize[0] = vrect.w; in encode_dvd_subtitles() 340 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 345 dvd_encode_rle(&q, vrect.pict.data[0], vrect.w * 2, in encode_dvd_subtitles() 346 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 348 dvd_encode_rle(&q, vrect.pict.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 349 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 353 vrect.h++; in encode_dvd_subtitles() 373 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 303 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 313 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 316 vrect.pict.linesize[0] = vrect.w; in encode_dvd_subtitles() 340 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 345 dvd_encode_rle(&q, vrect.pict.data[0], vrect.w * 2, in encode_dvd_subtitles() 346 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 348 dvd_encode_rle(&q, vrect.pict.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 349 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 353 vrect.h++; in encode_dvd_subtitles() 373 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/games/nazghul/nazghul-0.7.1/src/ |
H A D | map.c | 199 if (view->vrect.x < Map.aview->vrect.x) { in mapMergeView() 201 tmp = view->vrect.x + view->vrect.w - Map.aview->vrect.x; in mapMergeView() 209 tmp = Map.aview->vrect.x + Map.aview->vrect.w - view->vrect.x; in mapMergeView() 217 if (view->vrect.y < Map.aview->vrect.y) { in mapMergeView() 219 tmp = view->vrect.y + view->vrect.h - Map.aview->vrect.y; in mapMergeView() 227 tmp = Map.aview->vrect.y + Map.aview->vrect.h - view->vrect.y; in mapMergeView() 706 SDL_Rect *vrect = &Map.aview->vrect; in map_convert_point_to_vrect() local 1110 SDL_Rect *vrect = &Map.aview->vrect; in mapXToViewX() local 1121 SDL_Rect *vrect = &Map.aview->vrect; in mapYToViewY() local 1132 SDL_Rect *vrect = &Map.aview->vrect; in mapTileIsWithinViewport() local [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | dvdsubenc.c | 319 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 329 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 332 vrect.linesize[0] = vrect.w; in encode_dvd_subtitles() 356 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 361 dvd_encode_rle(&q, vrect.data[0], vrect.w * 2, in encode_dvd_subtitles() 362 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 364 dvd_encode_rle(&q, vrect.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 365 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 369 vrect.h++; in encode_dvd_subtitles() 389 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | dvdsubenc.c | 318 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 328 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 331 vrect.linesize[0] = vrect.w; in encode_dvd_subtitles() 355 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 360 dvd_encode_rle(&q, vrect.data[0], vrect.w * 2, in encode_dvd_subtitles() 361 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 363 dvd_encode_rle(&q, vrect.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 364 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 368 vrect.h++; in encode_dvd_subtitles() 388 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 319 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 329 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 332 vrect.linesize[0] = vrect.w; in encode_dvd_subtitles() 356 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 361 dvd_encode_rle(&q, vrect.data[0], vrect.w * 2, in encode_dvd_subtitles() 362 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 364 dvd_encode_rle(&q, vrect.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 365 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 369 vrect.h++; in encode_dvd_subtitles() 389 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 319 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 329 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 332 vrect.linesize[0] = vrect.w; in encode_dvd_subtitles() 356 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 361 dvd_encode_rle(&q, vrect.data[0], vrect.w * 2, in encode_dvd_subtitles() 362 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 364 dvd_encode_rle(&q, vrect.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 365 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 369 vrect.h++; in encode_dvd_subtitles() 389 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | dvdsubenc.c | 319 global_palette_hits[0] = vrect.w * vrect.h; in encode_dvd_subtitles() 329 if (!(vrect_data = av_calloc(vrect.w, vrect.h))) in encode_dvd_subtitles() 332 vrect.linesize[0] = vrect.w; in encode_dvd_subtitles() 356 if ((q - outbuf) + vrect.w * vrect.h / 2 + 17 + 21 > outbuf_size) { in encode_dvd_subtitles() 361 dvd_encode_rle(&q, vrect.data[0], vrect.w * 2, in encode_dvd_subtitles() 362 vrect.w, (vrect.h + 1) >> 1, cmap); in encode_dvd_subtitles() 364 dvd_encode_rle(&q, vrect.data[0] + vrect.w, vrect.w * 2, in encode_dvd_subtitles() 365 vrect.w, vrect.h >> 1, cmap); in encode_dvd_subtitles() 369 vrect.h++; in encode_dvd_subtitles() 389 x2 = vrect.x + vrect.w - 1; in encode_dvd_subtitles() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw/ |
H A D | sw_rmisc.c | 72 vr.x = r_refdef.vrect.x; in R_TimeRefresh_f() 73 vr.y = r_refdef.vrect.y; in R_TimeRefresh_f() 192 vrect_t vrect; in R_SetupFrame() local 256 vrect.x = 0; in R_SetupFrame() 257 vrect.y = 0; in R_SetupFrame() 261 R_SetVrect (&vrect, &r_refdef.vrect, vr_data.lineadj); in R_SetupFrame() 277 vrect.x = 0; in R_SetupFrame() 278 vrect.y = 0; in R_SetupFrame() 279 vrect.width = (int) w; in R_SetupFrame() 280 vrect.height = (int) h; in R_SetupFrame() [all …]
|
H A D | screen.c | 192 vrect_t vrect; in SCR_UpdateScreen() local 248 vrect.x = 0; in SCR_UpdateScreen() 249 vrect.y = 0; in SCR_UpdateScreen() 252 vrect.next = 0; in SCR_UpdateScreen() 254 vrect.x = 0; in SCR_UpdateScreen() 255 vrect.y = 0; in SCR_UpdateScreen() 258 vrect.next = 0; in SCR_UpdateScreen() 260 vrect.x = scr_vrect.x; in SCR_UpdateScreen() 261 vrect.y = scr_vrect.y; in SCR_UpdateScreen() 264 vrect.next = 0; in SCR_UpdateScreen() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/client/ |
H A D | r_misc.c | 78 vr.x = r_refdef.vrect.x; in R_TimeRefresh_f() 79 vr.y = r_refdef.vrect.y; in R_TimeRefresh_f() 164 x += r_refdef.vrect.x; in R_LineGraph2() 165 y += r_refdef.vrect.y; in R_LineGraph2() 282 x = r_refdef.vrect.width - (r_refdef.vrect.width-MAX_TIMINGS)/2; in R_TimeGraph() 542 vrect_t vrect; in R_SetupFrame() local 617 vrect.x = 0; in R_SetupFrame() 618 vrect.y = 0; in R_SetupFrame() 622 R_SetVrect (&vrect, &r_refdef.vrect, sb_lines); in R_SetupFrame() 642 vrect.x = 0; in R_SetupFrame() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/gl/ |
H A D | gl_screen.c | 168 if (r_refdef.vrect.x > 0) { in SCR_TileClear() 172 Draw_TileClear (r_refdef.vrect.x + r_refdef.vrect.width, 0, in SCR_TileClear() 173 vid.width - r_refdef.vrect.x + r_refdef.vrect.width, in SCR_TileClear() 176 if (r_refdef.vrect.y > 0) { in SCR_TileClear() 178 Draw_TileClear (r_refdef.vrect.x, 0, in SCR_TileClear() 179 r_refdef.vrect.x + r_refdef.vrect.width, in SCR_TileClear() 180 r_refdef.vrect.y); in SCR_TileClear() 182 Draw_TileClear (r_refdef.vrect.x, in SCR_TileClear() 183 r_refdef.vrect.y + r_refdef.vrect.height, in SCR_TileClear() 184 r_refdef.vrect.width, in SCR_TileClear() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/ |
H A D | gl_screen.c | 387 r_refdef.vrect.x = (vid.width - r_refdef.vrect.width)/2; in SCR_CalcRefdef() 388 r_refdef.vrect.y = (h - r_refdef.vrect.height)/2; in SCR_CalcRefdef() 1183 Draw_TileClear (r_refdef.vrect.x + r_refdef.vrect.width, 0, in SCR_TileClear() 1184 vid.width - r_refdef.vrect.x + r_refdef.vrect.width, vid.height); in SCR_TileClear() 1190 r_refdef.vrect.x + r_refdef.vrect.width, r_refdef.vrect.y); in SCR_TileClear() 1192 Draw_TileClear (r_refdef.vrect.x, r_refdef.vrect.y + r_refdef.vrect.height, in SCR_TileClear() 1193 r_refdef.vrect.width, vid.height - (r_refdef.vrect.height + r_refdef.vrect.y)); in SCR_TileClear() 1201 Draw_TileClear (r_refdef.vrect.x + r_refdef.vrect.width, 0, in SCR_TileClear() 1208 r_refdef.vrect.x + r_refdef.vrect.width, r_refdef.vrect.y); in SCR_TileClear() 1210 Draw_TileClear (r_refdef.vrect.x, r_refdef.vrect.y + r_refdef.vrect.height, in SCR_TileClear() [all …]
|
/dports/games/quake2lnx/quake2-r0.16.2/src/ref_soft/ |
H A D | r_misc.c | 98 d_vrectx = r_refdef.vrect.x; in D_ViewChanged() 335 r_refdef.vrect = *vr; in R_ViewChanged() 345 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width; in R_ViewChanged() 350 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect.height; in R_ViewChanged() 373 r_refdef.vrect.x - 0.5; in R_ViewChanged() 376 r_refdef.vrect.y - 0.5; in R_ViewChanged() 429 vrect_t vrect; in R_SetupFrame() local 460 vrect.x = 0; in R_SetupFrame() 461 vrect.y = 0; in R_SetupFrame() 470 vrect.x = r_newrefdef.x; in R_SetupFrame() [all …]
|
/dports/games/q2pro/q2pro/ref_soft/ |
H A D | sw_misc.c | 95 d_vrectx = r_refdef.vrect.x; in D_ViewChanged() 96 d_vrecty = r_refdef.vrect.y; in D_ViewChanged() 330 r_refdef.vrect = *vr; in R_ViewChanged() 340 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width; in R_ViewChanged() 345 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect.height; in R_ViewChanged() 368 r_refdef.vrect.x - 0.5; in R_ViewChanged() 371 r_refdef.vrect.y - 0.5; in R_ViewChanged() 424 vrectSoft_t vrect; in R_SetupFrame() local 455 vrect.x = 0; in R_SetupFrame() 456 vrect.y = 0; in R_SetupFrame() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/ref_soft/ |
H A D | r_misc.c | 98 d_vrectx = r_refdef.vrect.x; in D_ViewChanged() 335 r_refdef.vrect = *vr; in R_ViewChanged() 345 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width; in R_ViewChanged() 350 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect.height; in R_ViewChanged() 373 r_refdef.vrect.x - 0.5; in R_ViewChanged() 376 r_refdef.vrect.y - 0.5; in R_ViewChanged() 429 vrect_t vrect; in R_SetupFrame() local 460 vrect.x = 0; in R_SetupFrame() 461 vrect.y = 0; in R_SetupFrame() 470 vrect.x = r_newrefdef.x; in R_SetupFrame() [all …]
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/ |
H A D | screen.c | 455 vrect_t vrect; in SCR_CalcRefdef() local 493 vrect.x = 0; in SCR_CalcRefdef() 494 vrect.y = 0; in SCR_CalcRefdef() 502 CalcFov(r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height); in SCR_CalcRefdef() 619 vrect_t vrect; in SCR_UpdateScreen() local 730 vrect.x = 0; in SCR_UpdateScreen() 731 vrect.y = 0; in SCR_UpdateScreen() 737 vrect.x = 0; in SCR_UpdateScreen() 738 vrect.y = 0; in SCR_UpdateScreen() 749 vrect.pnext = 0; in SCR_UpdateScreen() [all …]
|