Home
last modified time | relevance | path

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

12

/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
136 c->canvas = caca_create_canvas(c->window_width, c->window_height); in caca_write_header()
175 if (!c->window_width || !c->window_height) { in caca_write_header()
177 c->window_height = caca_get_canvas_height(c->canvas); in caca_write_header()
196 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.h411 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/gstreamer/gstplugins_base/gst-libs/gst/gl/android/
Dgstglwindow_android_egl.c114 guint window_width, window_height; in draw_cb() local
117 &window_height); in draw_cb()
123 || height != window_egl->window_height)) { in draw_cb()
Dgstglwindow_android_egl.h46 gint window_width, window_height; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/viv-fb/
Dgstglwindow_viv_fb_egl.c140 &window_egl->window_width, &window_egl->window_height); in gst_gl_window_viv_fb_egl_create_window()
144 window_egl->render_rectangle.h = window_egl->window_height; in gst_gl_window_viv_fb_egl_create_window()
146 window_egl->window_height); in gst_gl_window_viv_fb_egl_create_window()
150 window_egl->window_width, window_egl->window_height, in gst_gl_window_viv_fb_egl_create_window()
238 result->y = window_egl->window_height - (req->y + req->h); in _calculate_viewport_coordinates()
Dgstglwindow_viv_fb_egl.h46 gint window_width, window_height; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/wayland/
Dgstvkwindow_wayland.c151 if (window_wl->window_height > 0) in create_surfaces()
152 height = window_wl->window_height; in create_surfaces()
155 window_wl->window_height = height; in create_surfaces()
158 window_wl->window_width, window_wl->window_height); in create_surfaces()
Dgstvkwindow_wayland.h57 int window_width, window_height; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/eagl/
Dgstglwindow_eagl.m60 CGFloat window_width, window_height; field
162 window_eagl->priv->window_height = rect.size.height;
314 window_eagl->priv->window_height != size.height) {
317 window_eagl->priv->window_height = size.height;
322 window_eagl->priv->window_height);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/
Dgstglwindow_wayland_egl.c394 else if (window_egl->window.window_height > 0) in create_surfaces()
395 height = window_egl->window.window_height; in create_surfaces()
400 window_egl->window.window_height = height; in create_surfaces()
652 window_egl->window.window_width, window_egl->window.window_height, width, in window_resize()
662 window_egl->window.window_height = height; in window_resize()
769 if (window_egl->window.window_height != height in gst_gl_window_wayland_egl_set_preferred_size()
Dgstglwindow_wayland_egl.h83 int window_width, window_height; member
/third_party/gstreamer/gstplugins_base/gst/overlaycomposition/
Dgstoverlaycomposition.h42 guint window_width, window_height; member
Dgstoverlaycomposition.c197 self->window_width = self->window_height = 0; in gst_overlay_composition_change_state()
233 self->window_width = self->window_height = 0; in gst_overlay_composition_negotiate()
318 self->window_height = height; in gst_overlay_composition_negotiate()
355 caps, self->window_width, self->window_height, NULL); in gst_overlay_composition_negotiate()
/third_party/gstreamer/gstplugins_bad/gst/dvbsuboverlay/
Ddvb-sub.h93 gint window_height; member
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgloverlay.h60 gint window_width, window_height; member
Dcaopengllayersink.h77 guint window_height; member
Dgstglimagesink.h110 guint window_height; member
/third_party/gstreamer/gstplugins_bad/ext/assrender/
Dgstassrender.h86 guint window_width, window_height; member
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/
Dgstd3d9overlay.c92 gint window_height; in gst_d3d9_overlay_calc_dest_rect() local
105 &window_height); in gst_d3d9_overlay_calc_dest_rect()
107 dst.h = window_height; in gst_d3d9_overlay_calc_dest_rect()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Doverlaycomposition.c112 guint window_height, State * s) in on_caps_changed() argument
118 fail_unless_equals_int (s->expected_window_height, window_height); in on_caps_changed()
/third_party/gstreamer/gstplugins_base/ext/pango/
Dgstbasetextoverlay.h221 gint window_height; member

12