Home
last modified time | relevance | path

Searched refs:phys_width (Results 1 – 25 of 50) sorted by relevance

12

/dports/x11-wm/sway/sway-1.5.1/sway/config/
H A Doutput.c274 return (output->phys_width == 1600 && output->phys_height == 900) || in phys_size_is_aspect_ratio()
275 (output->phys_width == 1600 && output->phys_height == 1000) || in phys_size_is_aspect_ratio()
276 (output->phys_width == 160 && output->phys_height == 90) || in phys_size_is_aspect_ratio()
277 (output->phys_width == 160 && output->phys_height == 100) || in phys_size_is_aspect_ratio()
278 (output->phys_width == 16 && output->phys_height == 9) || in phys_size_is_aspect_ratio()
279 (output->phys_width == 16 && output->phys_height == 10); in phys_size_is_aspect_ratio()
316 if (output->phys_width == 0 || output->phys_height == 0) { in compute_default_scale()
324 double dpi_x = (double) width / (output->phys_width / MM_PER_INCH); in compute_default_scale()
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/core/
H A Dpcm_misc.c387 int phys_width = snd_pcm_format_physical_width(format); in snd_pcm_format_size() local
388 if (phys_width < 0) in snd_pcm_format_size()
390 return samples * phys_width / 8; in snd_pcm_format_size()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/core/
H A Dpcm_misc.c387 int phys_width = snd_pcm_format_physical_width(format); in snd_pcm_format_size() local
388 if (phys_width < 0) in snd_pcm_format_size()
390 return samples * phys_width / 8; in snd_pcm_format_size()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/core/
H A Dpcm_misc.c387 int phys_width = snd_pcm_format_physical_width(format); in snd_pcm_format_size() local
388 if (phys_width < 0) in snd_pcm_format_size()
390 return samples * phys_width / 8; in snd_pcm_format_size()
/dports/graphics/libsvg-cairo/libsvg-cairo-0.1.6/src/
H A Dsvg_cairo.c1391 double phys_width, phys_height; in _svg_cairo_apply_view_box() local
1392 _svg_cairo_length_to_pixel (svg_cairo, width, &phys_width); in _svg_cairo_apply_view_box()
1396 svgar = phys_width / phys_height; in _svg_cairo_apply_view_box()
1405 phys_width / logic_width, in _svg_cairo_apply_view_box()
1422 -logic_x - (logic_width - phys_width * logic_height / phys_height) / 2, in _svg_cairo_apply_view_box()
1426 -logic_x - (logic_width - phys_width * logic_height / phys_height), in _svg_cairo_apply_view_box()
1431 cairo_scale (svg_cairo->cr, phys_width / logic_width, phys_width / logic_width); in _svg_cairo_apply_view_box()
1442 -logic_y - (logic_height - phys_height * logic_width / phys_width) / 2); in _svg_cairo_apply_view_box()
1446 -logic_y - (logic_height - phys_height * logic_width / phys_width)); in _svg_cairo_apply_view_box()
/dports/x11/kanshi/kanshi-v1.2.0/include/
H A Dkanshi.h28 int32_t phys_width, phys_height; // mm member
/dports/biology/seaview/seaview/
H A Dmatpt.h11 int phys_width; member
H A Dxfmatpt.cxx440 matpt->factor = ((double) matpt->phys_width) / matpt->view_size; in reset_mat_data()
442 c = matpt->mat_panel->x() + matpt->margin; d = c + matpt->phys_width; in reset_mat_data()
446 d = c - matpt->phys_width; in reset_mat_data()
514 matpt->phys_width = FL_min(matpt->mat_panel->w(), matpt->mat_panel->h()) - in set_size_data()
793 matpt->factor = ((double) matpt->phys_width) / matpt->view_size; in ps_set_mat_data()
795 c = matpt->margin; d = c + matpt->phys_width; in ps_set_mat_data()
799 d = c + matpt->phys_width; in ps_set_mat_data()
834 old_phys = matpt->phys_width; matpt->phys_width = 500; in plot_button_proc()
845 matpt->phys_width = old_phys; in plot_button_proc()
/dports/multimedia/gstreamer1-vaapi/gstreamer-vaapi-1.16.2/gst-libs/gst/vaapi/
H A Dgstvaapidisplay_wayland_priv.h71 guint phys_width; member
H A Dgstvaapidisplay_wayland.c76 priv->phys_width = physical_width; in output_handle_geometry()
272 *pwidth = priv->phys_width; in gst_vaapi_display_wayland_get_size_mm()
/dports/x11/wlr-randr/wlr-randr-v0.2.0/
H A Dmain.c32 int32_t phys_width, phys_height; // mm member
70 if (head->phys_width > 0 && head->phys_height > 0) { in print_state()
72 head->phys_width, head->phys_height); in print_state()
233 head->phys_width = width; in head_handle_physical_size()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/MacSrc/
H A DOpenGL.cc90 static int phys_width; variable
366 phys_width = view_scale * logical_width; in opengl_resize()
369 int border_x = width - phys_width; in opengl_resize()
376 INFO("OpenGL Resize %i %i %i %i", width, height, phys_width, phys_height); in opengl_resize()
476 …glViewport(phys_offset_x * x_hdpi_scale, phys_offset_y * y_hdpi_scale, phys_width * x_hdpi_scale, … in opengl_swap_and_restore()
/dports/audio/alsa-utils/alsa-utils-1.2.2/axfer/
H A Dcontainer-riff-wave.c350 int phys_width; in wave_parser_pre_process() local
359 phys_width = 8 * state->average_bytes_per_second / in wave_parser_pre_process()
369 if (phys_width != snd_pcm_format_physical_width(map->format)) in wave_parser_pre_process()
/dports/x11/wdisplays/wdisplays-1.1/src/
H A Dwdisplays.h108 int32_t phys_width, phys_height; // mm member
/dports/x11-toolkits/wlroots/wlroots-0.12.0/include/wlr/types/
H A Dwlr_output.h130 int32_t phys_width, phys_height; // mm member
/dports/devel/efl/efl-1.25.1/src/lib/ecore_drm/
H A Decore_drm_private.h152 int x, y, phys_width, phys_height; member
H A Decore_drm_output.c84 e->phys_width = output->phys_width; in _ecore_drm_output_event_send()
566 output->phys_width = conn->mmWidth; in _ecore_drm_output_create()
1207 if (w) *w = output->phys_width; in ecore_drm_output_physical_size_get()
H A DEcore_Drm.h147 int phys_width, phys_height; member
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/
H A Dmap_printer.cpp1295 const int phys_width = GetDeviceCaps(dc, PHYSICALWIDTH); in printMap() local
1303 if (phys_width > 0) in printMap()
1308 SetViewportExtEx(dc, phys_width, phys_height, nullptr); in printMap()
1310 const auto hires_scale = static_cast<qreal>(hires_width) / phys_width; in printMap()
/dports/net/wayvnc/wayvnc-0.4.1/src/
H A Doutput.c119 int32_t x, int32_t y, int32_t phys_width, in output_handle_geometry() argument
/dports/devel/efl/efl-1.25.1/src/lib/ecore_drm2/
H A DEcore_Drm2.h73 int phys_width, phys_height; member
/dports/multimedia/mpv/mpv-0.34.1/video/out/
H A Dwayland_common.c129 int phys_width; member
598 int32_t x, int32_t y, int32_t phys_width, in output_handle_geometry() argument
608 output->phys_width = phys_width; in output_handle_geometry()
641 o->geometry.y0, mp_rect_w(o->geometry), o->phys_width, in output_handle_done()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/types/
H A Dwlr_output_management_v1.c762 if (output->phys_width > 0 && output->phys_height > 0) { in manager_send_head()
764 output->phys_width, output->phys_height); in manager_send_head()
/dports/x11-wm/enlightenment/enlightenment-0.24.2/src/bin/
H A De_comp_wl.h389 int phys_width, phys_height; member
/dports/x11/kanshi/kanshi-v1.2.0/
H A Dmain.c309 head->phys_width = width; in head_handle_physical_size()

12