Home
last modified time | relevance | path

Searched refs:window_height (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavdevice/
Dsdl2.c42 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()
118 texture_rect->h = sdl->window_height; in compute_texture_rect()
130 sdl->window_height = texture_rect->h; in compute_texture_rect()
134 texture_rect->y = (sdl->window_height - texture_rect->h) / 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()
271 sdl->window_height = event.window.data2; in sdl2_write_packet()
Dxv.c48 int window_width, window_height; member
137 if (!xv->window_width && !xv->window_height) { in xv_write_header()
140 xv->window_height = par->height; in xv_write_header()
145 xv->window_height = av_rescale(xv->window_height, sar.den, sar.num); in xv_write_header()
151 xv->window_width, xv->window_height, in xv_write_header()
218 xv->window_width = xv->window_height = 0; in xv_write_header()
262 if (window_attrs.width != xv->window_width || window_attrs.height != xv->window_height) { in xv_repaint()
Dcaca.c30 int window_width, window_height; member
133 c->canvas = caca_create_canvas(c->window_width, c->window_height); in caca_write_header()
172 if (!c->window_width || !c->window_height) { in caca_write_header()
174 c->window_height = caca_get_canvas_height(c->canvas); in caca_write_header()
189 caca_dither_bitmap(c->canvas, 0, 0, c->window_width, c->window_height, c->dither, pkt->data); in caca_write_packet()
Dopengl_enc.c226 int window_height; member
314 opengl->window_height = height; in opengl_resize()
340 return opengl_resize(h, opengl->window_width, opengl->window_height); in opengl_control_message()
388 opengl->window_width, opengl->window_height, in opengl_sdl_create_window()
681 if (av_cmp_q(dar, (AVRational){ opengl->window_width, opengl->window_height }) > 0) { in opengl_compute_display_area()
687 opengl->picture_height = opengl->window_height; in opengl_compute_display_area()
867 …if (opengl->window_width > opengl->max_viewport_width || opengl->window_height > opengl->max_viewp… in opengl_prepare_vertex()
869 opengl->window_height = FFMIN(opengl->window_height, opengl->max_viewport_height); in opengl_prepare_vertex()
870 …NING, "Too big viewport requested, limited to %dx%d", opengl->window_width, opengl->window_height); in opengl_prepare_vertex()
872 glViewport(0, 0, opengl->window_width, opengl->window_height); in opengl_prepare_vertex()
[all …]
Davdevice.h417 int window_height; member
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_android.cpp173 int32_t window_height = ANativeWindow_getHeight(g_Window); in ImGui_ImplAndroid_NewFrame() local
175 int display_height = window_height; in ImGui_ImplAndroid_NewFrame()
177 io.DisplaySize = ImVec2((float)window_width, (float)window_height); in ImGui_ImplAndroid_NewFrame()
178 if (window_width > 0 && window_height > 0) in ImGui_ImplAndroid_NewFrame()
179 …mebufferScale = ImVec2((float)display_width / window_width, (float)display_height / window_height); in ImGui_ImplAndroid_NewFrame()
/third_party/openGLES/extensions/ARB/
DARB_clip_control.txt102 window_height - (d3d_viewport_y + d3d_viewport_height),
540 window_height - upper_left_y,
541 window_width, window_height);
764 x + 0.5f, window_height - (y + view_height) + 0.5f,
767 where window_height is the height of the window/surface in pixels.
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_clip_control.txt92 window_height - (d3d_viewport_y + d3d_viewport_height),
530 window_height - upper_left_y,
531 window_width, window_height);
754 x + 0.5f, window_height - (y + view_height) + 0.5f,
757 where window_height is the height of the window/surface in pixels.
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcViewportArrayTests.cpp1500 const GLint window_height = m_context.getRenderContext().getRenderTarget().getHeight(); in iterate() local
1521 if ((window_width != viewport_width) || (window_height != viewport_height)) in iterate()
1525 << " expected: " << window_width << " x " << window_height in iterate()
1583 if ((window_width != scissor_width) || (window_height != scissor_height)) in iterate()
1587 << " expected: " << window_width << " x " << window_height in iterate()
/third_party/python/Doc/library/
Dturtle.rst221 | :func:`window_height`
2027 .. function:: window_height()
2031 >>> screen.window_height()
2473 :meth:`Turtle.window_height` have been eliminated.
/third_party/python/Lib/
Dturtle.py1318 def window_height(self): member in TurtleScreen