/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavdevice/ |
H A D | sdl2.c | 42 int window_width, window_height; /**< size of the window */ member 110 if (sdl->window_width && sdl->window_height) { in compute_texture_rect() 112 if (av_cmp_q(dar, (AVRational){ sdl->window_width, sdl->window_height }) > 0) { in compute_texture_rect() 114 texture_rect->w = sdl->window_width; in compute_texture_rect() 129 sdl->window_width = texture_rect->w; in compute_texture_rect() 133 texture_rect->x = (sdl->window_width - texture_rect->w) / 2; in compute_texture_rect() 212 if (SDL_CreateWindowAndRenderer(sdl->window_width, sdl->window_height, in sdl2_write_header() 232 sdl->window_width, sdl->window_height); in sdl2_write_header() 270 sdl->window_width = event.window.data1; in sdl2_write_packet() 341 …{ "window_size", "set SDL window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE,…
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavdevice/ |
H A D | sdl2.c | 42 int window_width, window_height; /**< size of the window */ member 110 if (sdl->window_width && sdl->window_height) { in compute_texture_rect() 112 if (av_cmp_q(dar, (AVRational){ sdl->window_width, sdl->window_height }) > 0) { in compute_texture_rect() 114 texture_rect->w = sdl->window_width; in compute_texture_rect() 129 sdl->window_width = texture_rect->w; in compute_texture_rect() 133 texture_rect->x = (sdl->window_width - texture_rect->w) / 2; in compute_texture_rect() 212 if (SDL_CreateWindowAndRenderer(sdl->window_width, sdl->window_height, in sdl2_write_header() 232 sdl->window_width, sdl->window_height); in sdl2_write_header() 270 sdl->window_width = event.window.data1; in sdl2_write_packet() 341 …{ "window_size", "set SDL window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE,…
|
/dports/biology/garlic/garlic-1.6/ |
H A D | alpha_membrane.c | 127 int window_width, half_window_width, windowI, combinedI; in AlphaMembrane_() local 213 window_width = runtimeSP->sliding_window_width; in AlphaMembrane_() 214 if (window_width < 7) return -4; in AlphaMembrane_() 215 half_window_width = window_width / 2; in AlphaMembrane_() 227 for (windowI = 0; windowI < window_width; windowI++) in AlphaMembrane_() 246 if (used_residuesN == window_width) in AlphaMembrane_() 248 average_hyphob /= (double) window_width; in AlphaMembrane_() 271 end_residueI = residueI - half_window_width + window_width - 1; in AlphaMembrane_() 299 end_residueI = residueI - half_window_width + window_width - 1; in AlphaMembrane_() 353 window_endI = window_startI + window_width; in AlphaMembrane_()
|
/dports/graphics/glfw2/glfw-2.7.9/tests/ |
H A D | fsinput.c | 37 static int window_width = 640, window_height = 480; variable 41 window_width = width; in window_size_callback() 44 glViewport(0, 0, window_width, window_height); in window_size_callback() 48 gluOrtho2D(0.f, window_width, 0.f, window_height); in window_size_callback()
|
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/setup/ |
H A D | display.c | 79 static int window_width = 800, window_height = 600; variable 127 window_width = size->w; in WindowSizeSelected() 137 result = TXT_NewRadioButton(buf, &window_width, size->w); in SizeSelectButton() 172 have_size = have_size || window_width == sizes[i].w; in GenerateSizesTable() 182 current_size.w = window_width; in GenerateSizesTable() 264 M_BindIntVariable("window_width", &window_width); in BindDisplayVariables()
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/setup/ |
H A D | display.c | 74 static int window_width = 640, window_height = 480; variable 122 window_width = size->w; in WindowSizeSelected() 132 result = TXT_NewRadioButton(buf, &window_width, size->w); in SizeSelectButton() 167 have_size = have_size || window_width == sizes[i].w; in GenerateSizesTable() 177 current_size.w = window_width; in GenerateSizesTable() 259 M_BindIntVariable("window_width", &window_width); in BindDisplayVariables()
|
/dports/x11/kitty/kitty-0.23.1/kittens/panel/ |
H A D | main.py | 111 window_width = window_height = 0 variable 120 func(win_id, window_width, window_height) 127 global window_width, window_height 131 window_width = monitor_width 133 window_width = cell_width * args.columns + 1 135 return window_width, window_height
|
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/sdl/ |
H A D | consumer_sdl.c | 58 int window_width; member 241 self->window_width = self->width; in consumer_start() 258 self->window_width = vi->current_w; in consumer_start() 553 self->window_width = event.resize.w; in consumer_play_video() 627 self->rect.w = frame_aspect / this_aspect * self->window_width; in consumer_play_video() 629 if ( self->rect.w > self->window_width ) in consumer_play_video() 631 self->rect.w = self->window_width; in consumer_play_video() 639 self->rect.w = self->window_width; in consumer_play_video() 645 self->rect.w = self->window_width; in consumer_play_video() 646 self->rect.h = self->window_width / display_ratio; in consumer_play_video() [all …]
|
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/sdl/ |
H A D | consumer_sdl.c | 58 int window_width; member 247 self->window_width = self->width; in consumer_start() 264 self->window_width = vi->current_w; in consumer_start() 559 self->window_width = event.resize.w; in consumer_play_video() 633 self->rect.w = frame_aspect / this_aspect * self->window_width; in consumer_play_video() 635 if ( self->rect.w > self->window_width ) in consumer_play_video() 637 self->rect.w = self->window_width; in consumer_play_video() 645 self->rect.w = self->window_width; in consumer_play_video() 651 self->rect.w = self->window_width; in consumer_play_video() 652 self->rect.h = self->window_width / display_ratio; in consumer_play_video() [all …]
|
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/sdl/ |
H A D | consumer_sdl.c | 58 int window_width; member 247 self->window_width = self->width; in consumer_start() 264 self->window_width = vi->current_w; in consumer_start() 559 self->window_width = event.resize.w; in consumer_play_video() 633 self->rect.w = frame_aspect / this_aspect * self->window_width; in consumer_play_video() 635 if ( self->rect.w > self->window_width ) in consumer_play_video() 637 self->rect.w = self->window_width; in consumer_play_video() 645 self->rect.w = self->window_width; in consumer_play_video() 651 self->rect.w = self->window_width; in consumer_play_video() 652 self->rect.h = self->window_width / display_ratio; in consumer_play_video() [all …]
|
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/sdl/ |
H A D | consumer_sdl.c | 58 int window_width; member 241 self->window_width = self->width; in consumer_start() 258 self->window_width = vi->current_w; in consumer_start() 553 self->window_width = event.resize.w; in consumer_play_video() 627 self->rect.w = frame_aspect / this_aspect * self->window_width; in consumer_play_video() 629 if ( self->rect.w > self->window_width ) in consumer_play_video() 631 self->rect.w = self->window_width; in consumer_play_video() 639 self->rect.w = self->window_width; in consumer_play_video() 645 self->rect.w = self->window_width; in consumer_play_video() 646 self->rect.h = self->window_width / display_ratio; in consumer_play_video() [all …]
|
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/sdl/ |
H A D | consumer_sdl.c | 58 int window_width; member 247 self->window_width = self->width; in consumer_start() 264 self->window_width = vi->current_w; in consumer_start() 559 self->window_width = event.resize.w; in consumer_play_video() 633 self->rect.w = frame_aspect / this_aspect * self->window_width; in consumer_play_video() 635 if ( self->rect.w > self->window_width ) in consumer_play_video() 637 self->rect.w = self->window_width; in consumer_play_video() 645 self->rect.w = self->window_width; in consumer_play_video() 651 self->rect.w = self->window_width; in consumer_play_video() 652 self->rect.h = self->window_width / display_ratio; in consumer_play_video() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavdevice/ |
H A D | sdl.c | 42 int window_width, window_height; /**< size of the window */ member 104 if (sdl->window_width && sdl->window_height) { in compute_overlay_rect() 106 if (av_cmp_q(dar, (AVRational){ sdl->window_width, sdl->window_height }) > 0) { in compute_overlay_rect() 108 overlay_rect->w = sdl->window_width; in compute_overlay_rect() 123 sdl->window_width = overlay_rect->w; in compute_overlay_rect() 127 overlay_rect->x = (sdl->window_width - overlay_rect->w) / 2; in compute_overlay_rect() 149 sdl->surface = SDL_SetVideoMode(sdl->window_width, sdl->window_height, in event_thread() 210 sdl->window_width = event.resize.w; in event_thread() 214 … sdl->surface = SDL_SetVideoMode(sdl->window_width, sdl->window_height, 24, SDL_BASE_FLAGS); in event_thread() 351 …{ "window_size", "set SDL window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE, …
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavdevice/ |
H A D | sdl.c | 42 int window_width, window_height; /**< size of the window */ member 104 if (sdl->window_width && sdl->window_height) { in compute_overlay_rect() 106 if (av_cmp_q(dar, (AVRational){ sdl->window_width, sdl->window_height }) > 0) { in compute_overlay_rect() 108 overlay_rect->w = sdl->window_width; in compute_overlay_rect() 123 sdl->window_width = overlay_rect->w; in compute_overlay_rect() 127 overlay_rect->x = (sdl->window_width - overlay_rect->w) / 2; in compute_overlay_rect() 149 sdl->surface = SDL_SetVideoMode(sdl->window_width, sdl->window_height, in event_thread() 210 sdl->window_width = event.resize.w; in event_thread() 214 … sdl->surface = SDL_SetVideoMode(sdl->window_width, sdl->window_height, 24, SDL_BASE_FLAGS); in event_thread() 351 …{ "window_size", "set SDL window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE, …
|
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/ |
H A D | i_video.c | 113 int window_width = SCREENWIDTH * 2; variable 293 if (window_width * actualheight <= window_height * SCREENWIDTH) in AdjustWindowSize() 301 window_width = window_height * SCREENWIDTH / actualheight; in AdjustWindowSize() 402 SDL_SetWindowSize(screen, window_width, window_height); in I_ToggleFullScreen() 902 window_width = factor * SCREENWIDTH; in SetScaleFactor() 972 window_width = atoi(myargv[i + 1]); in I_GraphicsCheckCommandLine() 973 window_height = window_width * 2; in I_GraphicsCheckCommandLine() 990 window_width = window_height * 2; in I_GraphicsCheckCommandLine() 1011 window_width = w; in I_GraphicsCheckCommandLine() 1151 w = window_width; in SetVideoMode() [all …]
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | hud.c | 150 && windows_list.window[list_of_windows[i]].cur_x < window_width - HUD_MARGIN_X in hide_moved_hud_windows() 208 float horizontal_bar_v_start = (float)(window_width-hud_x)/256; in draw_hud_interface() 217 …r_v_start, horizontal_bar_u_end, horizontal_bar_v_end,0,window_height,window_width, window_height-… in draw_hud_interface() 220 …rtical_bar_v_start, vertical_bar_u_end, vertical_bar_v_end,window_width-hud_x, 0, window_width, wi… in draw_hud_interface() 223 …g(logo_u_start, logo_v_start, logo_u_end, logo_v_end, window_width - hud_logo_size, 0, window_widt… in draw_hud_interface()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/Gizmos/ |
H A D | GLGizmoFdmSupports.cpp | 113 … float window_width = minimal_slider_width + std::max(cursor_slider_left, clipping_slider_left); in on_render_input_window() local 114 window_width = std::max(window_width, total_text_max); in on_render_input_window() 115 window_width = std::max(window_width, button_width); in on_render_input_window() 116 …window_width = std::max(window_width, cursor_type_radio_left + cursor_type_radio_width1 + cursor_t… in on_render_input_window() 155 ImGui::PushItemWidth(window_width - cursor_slider_left); in on_render_input_window() 218 ImGui::PushItemWidth(window_width - clipping_slider_left); in on_render_input_window()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/bitmapfont/src/ |
H A D | main.cpp | 73 int window_width = 1024; in WinMain() local 81 !Shell::OpenWindow("Load Document Sample", shell_renderer, window_width, window_height, true)) in WinMain() 89 shell_renderer->SetViewport(window_width, window_height); in WinMain() 97 context = Rocket::Core::CreateContext("main", Rocket::Core::Vector2i(window_width, window_height)); in WinMain()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/tutorial/template/src/ |
H A D | main.cpp | 57 int window_width = 1024; in WinMain() local 65 !Shell::OpenWindow("Template Tutorial", shell_renderer, window_width, window_height, true)) in WinMain() 73 opengl_renderer.SetViewport(window_width, window_height); in WinMain() 81 context = Rocket::Core::CreateContext("main", Rocket::Core::Vector2i(window_width, window_height)); in WinMain()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/loaddocument/src/ |
H A D | main.cpp | 73 int window_width = 1024; in WinMain() local 81 !Shell::OpenWindow("Load Document Sample", shell_renderer, window_width, window_height, true)) in WinMain() 89 shell_renderer->SetViewport(window_width, window_height); in WinMain() 97 context = Rocket::Core::CreateContext("main", Rocket::Core::Vector2i(window_width, window_height)); in WinMain()
|
/dports/games/vamos/vamos-0.7.1/body/ |
H A D | Gl_Car.h | 80 void set_viewport (int window_width, int window_height, 88 void set_stencil (int window_width, int window_height); 98 void make_mask (int window_width, int window_height, 160 void make_rear_view_mask (int window_width, int window_height); 161 void update_rear_view_mask (int window_width, int window_height);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/drag/src/ |
H A D | main.cpp | 74 int window_width = 1024; in WinMain() local 82 !Shell::OpenWindow("Drag Sample", shell_renderer, window_width, window_height, true)) in WinMain() 90 opengl_renderer.SetViewport(window_width, window_height); in WinMain() 98 context = Rocket::Core::CreateContext("main", Rocket::Core::Vector2i(window_width, window_height)); in WinMain()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/treeview/src/ |
H A D | main.cpp | 76 int window_width = 1024; in WinMain() local 84 !Shell::OpenWindow("Tree View Sample", shell_renderer, window_width, window_height, true)) in WinMain() 91 opengl_renderer.SetViewport(window_width, window_height); in WinMain() 100 context = Rocket::Core::CreateContext("main", Rocket::Core::Vector2i(window_width, window_height)); in WinMain()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/tutorial/tutorial_drag/src/ |
H A D | main.cpp | 58 int window_width = 1024; in WinMain() local 66 !Shell::OpenWindow("Drag Tutorial", shell_renderer, window_width, window_height, true)) in WinMain() 74 opengl_renderer.SetViewport(window_width, window_height); in WinMain() 82 context = Rocket::Core::CreateContext("main", Rocket::Core::Vector2i(window_width, window_height)); in WinMain()
|
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/videostab/stab/klt/ |
H A D | selectGoodFeatures.c | 204 if (tc->window_width % 2 != 1) { in _KLTSelectGoodFeatures() 205 tc->window_width = tc->window_width+1; in _KLTSelectGoodFeatures() 207 "Changing to %d.\n", tc->window_width); in _KLTSelectGoodFeatures() 214 if (tc->window_width < 3) { in _KLTSelectGoodFeatures() 215 tc->window_width = 3; in _KLTSelectGoodFeatures() 217 "Changing to %d.\n", tc->window_width); in _KLTSelectGoodFeatures() 224 window_hw = tc->window_width/2; in _KLTSelectGoodFeatures()
|