Home
last modified time | relevance | path

Searched refs:window_width (Results 1 – 25 of 45) 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()
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,…
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()
176 c->window_width = caca_get_canvas_width(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()
206 …{ "window_size", "set window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE, {.str =…
Dxv.c48 int window_width, window_height; member
137 if (!xv->window_width && !xv->window_height) { in xv_write_header()
139 xv->window_width = par->width; in xv_write_header()
143 xv->window_width = av_rescale(xv->window_width, sar.num, sar.den); 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()
363 …{ "window_size", "set window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE, {.str = …
Dopengl_enc.c225 int window_width; member
313 opengl->window_width = width; 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()
683 opengl->picture_width = opengl->window_width; in opengl_compute_display_area()
867 …if (opengl->window_width > opengl->max_viewport_width || opengl->window_height > opengl->max_viewp… in opengl_prepare_vertex()
868 opengl->window_width = FFMIN(opengl->window_width, opengl->max_viewport_width); in opengl_prepare_vertex()
870 …_LOG_WARNING, "Too big viewport requested, limited to %dx%d", opengl->window_width, opengl->window… in opengl_prepare_vertex()
872 glViewport(0, 0, opengl->window_width, opengl->window_height); in opengl_prepare_vertex()
[all …]
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_android.cpp172 int32_t window_width = ANativeWindow_getWidth(g_Window); in ImGui_ImplAndroid_NewFrame() local
174 int display_width = window_width; 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 …io.DisplayFramebufferScale = ImVec2((float)display_width / window_width, (float)display_height / w… in ImGui_ImplAndroid_NewFrame()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dpooling_grad_gpu_kernel.h236 int window_width = window[3]; in SetPad() local
245 window_width = window[2]; in SetPad()
249 int windowDimA[2] = {window_height, window_width}; in SetPad()
254 pad_width_ = GetPad(old_width_, window_width, stride_w); in SetPad()
286 int window_width = window[4]; in SetPad3D() local
297 window_width = window[3]; in SetPad3D()
302 int windowDimA[3] = {window_depth, window_height, window_width}; in SetPad3D()
308 pad_width_ = GetPad(old_width_, window_width, stride_w); in SetPad3D()
Dpooling_gpu_kernel.h195 int window_width = window[3]; in SetPad() local
199 int windowDimA[2] = {window_height, window_width}; in SetPad()
210 pad_width_ = GetPad(old_width_, window_width, stride_w); in SetPad()
239 int window_width = window[4]; in SetPad3D() local
243 int windowDimA[3] = {window_depth, window_height, window_width}; in SetPad3D()
256 pad_width_ = GetPad(old_width_, window_width, stride_w); in SetPad3D()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/android/
Dgstglwindow_android_egl.c114 guint window_width, window_height; in draw_cb() local
116 gst_gl_window_get_surface_dimensions (window, &window_width, in draw_cb()
122 && (window->queue_resize || width != window_egl->window_width in draw_cb()
Dgstglwindow_android_egl.h46 gint window_width, window_height; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/wayland/
Dgstvkwindow_wayland.c145 if (window_wl->window_width > 0) in create_surfaces()
146 width = window_wl->window_width; in create_surfaces()
149 window_wl->window_width = width; 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/viv-fb/
Dgstglwindow_viv_fb_egl.c140 &window_egl->window_width, &window_egl->window_height); in gst_gl_window_viv_fb_egl_create_window()
143 window_egl->render_rectangle.w = window_egl->window_width; in gst_gl_window_viv_fb_egl_create_window()
145 gst_gl_window_resize (GST_GL_WINDOW (window_egl), window_egl->window_width, 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()
Dgstglwindow_viv_fb_egl.h46 gint window_width, window_height; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/eagl/
Dgstglwindow_eagl.m60 CGFloat window_width, window_height;
161 window_eagl->priv->window_width = rect.size.width;
313 if (window->queue_resize || window_eagl->priv->window_width != size.width ||
316 window_eagl->priv->window_width = size.width;
321 gst_gl_window_resize (window, window_eagl->priv->window_width,
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/
Dgstglwindow_wayland_egl.c384 else if (window_egl->window.window_width > 0) in create_surfaces()
385 width = window_egl->window.window_width; in create_surfaces()
390 window_egl->window.window_width = width; in create_surfaces()
652 window_egl->window.window_width, window_egl->window.window_height, width, in window_resize()
661 window_egl->window.window_width = width; in window_resize()
770 || window_egl->window.window_width != width) { 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()
317 self->window_width = width; 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.h92 gint window_width; member
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgloverlay.h60 gint window_width, window_height; member
Dcaopengllayersink.h76 guint window_width; member
Dgstglimagesink.h109 guint window_width; member
/third_party/gstreamer/gstplugins_bad/ext/assrender/
Dgstassrender.h86 guint window_width, window_height; member
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/
Dgstd3d9overlay.c91 gint window_width; in gst_d3d9_overlay_calc_dest_rect() local
104 d3d_get_hwnd_window_size (sink->d3d.window_handle, &window_width, in gst_d3d9_overlay_calc_dest_rect()
106 dst.w = window_width; in gst_d3d9_overlay_calc_dest_rect()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Doverlaycomposition.c111 on_caps_changed (GstElement * element, GstCaps * caps, guint window_width, in on_caps_changed() argument
117 fail_unless_equals_int (s->expected_window_width, window_width); in on_caps_changed()

12