/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/dispmanx/ |
D | gstglwindow_dispmanx_egl.c | 102 window_egl->render_rect.x = 0; in gst_gl_window_dispmanx_egl_init() 103 window_egl->render_rect.y = 0; in gst_gl_window_dispmanx_egl_init() 104 window_egl->render_rect.w = 0; in gst_gl_window_dispmanx_egl_init() 105 window_egl->render_rect.h = 0; in gst_gl_window_dispmanx_egl_init() 245 if (window_egl->render_rect.w <= 0 || window_egl->render_rect.h <= 0) { in window_resize() 252 gst_video_sink_center_rect (src, window_egl->render_rect, &res, FALSE); in window_resize() 294 window_egl->render_rect.x = x; in gst_gl_window_dispmanx_egl_set_render_rectangle() 295 window_egl->render_rect.y = y; in gst_gl_window_dispmanx_egl_set_render_rectangle() 296 window_egl->render_rect.w = width; in gst_gl_window_dispmanx_egl_set_render_rectangle() 297 window_egl->render_rect.h = height; in gst_gl_window_dispmanx_egl_set_render_rectangle() [all …]
|
D | gstglwindow_dispmanx_egl.h | 71 GstVideoRectangle render_rect; member
|
/third_party/gstreamer/gstplugins_base/sys/xvimage/ |
D | xvimageallocator.c | 599 if (rect->x > window->render_rect.x) { in gst_xwindow_draw_borders() 601 window->render_rect.x, window->render_rect.y, in gst_xwindow_draw_borders() 602 rect->x - window->render_rect.x, window->render_rect.h); in gst_xwindow_draw_borders() 607 t2 = window->render_rect.x + window->render_rect.w; in gst_xwindow_draw_borders() 610 t1, window->render_rect.y, t2 - t1, window->render_rect.h); in gst_xwindow_draw_borders() 614 if (rect->y > window->render_rect.y) { in gst_xwindow_draw_borders() 616 window->render_rect.x, window->render_rect.y, in gst_xwindow_draw_borders() 617 window->render_rect.w, rect->y - window->render_rect.y); in gst_xwindow_draw_borders() 622 t2 = window->render_rect.y + window->render_rect.h; in gst_xwindow_draw_borders() 625 window->render_rect.x, t1, window->render_rect.w, t2 - t1); in gst_xwindow_draw_borders() [all …]
|
D | xvcontext.c | 932 window->render_rect.x = window->render_rect.y = 0; in gst_xvcontext_create_xwindow() 933 window->render_rect.w = width; in gst_xvcontext_create_xwindow() 934 window->render_rect.h = height; in gst_xvcontext_create_xwindow() 1006 window->render_rect.x = window->render_rect.y = 0; in gst_xvcontext_create_xwindow_from_xid() 1007 window->render_rect.w = attr.width; in gst_xvcontext_create_xwindow_from_xid() 1008 window->render_rect.h = attr.height; in gst_xvcontext_create_xwindow_from_xid() 1116 window->render_rect.x = window->render_rect.y = 0; in gst_xwindow_update_geometry() 1117 window->render_rect.w = attr.width; in gst_xwindow_update_geometry() 1118 window->render_rect.h = attr.height; in gst_xwindow_update_geometry() 1150 window->render_rect.x = x; in gst_xwindow_set_render_rectangle() [all …]
|
D | xvimagesink.c | 301 dst.w = xwindow->render_rect.w; in gst_xv_image_sink_xvimage_put() 302 dst.h = xwindow->render_rect.h; in gst_xv_image_sink_xvimage_put() 305 result.x += xwindow->render_rect.x; in gst_xv_image_sink_xvimage_put() 306 result.y += xwindow->render_rect.y; in gst_xv_image_sink_xvimage_put() 308 memcpy (&result, &xwindow->render_rect, sizeof (GstVideoRectangle)); in gst_xv_image_sink_xvimage_put() 799 xvimagesink->render_rect.x, xvimagesink->render_rect.y, in gst_xv_image_sink_setcaps() 800 xvimagesink->render_rect.w, xvimagesink->render_rect.h); in gst_xv_image_sink_setcaps() 1143 dst.w = xwindow->render_rect.w; in gst_xv_image_sink_navigation_send_event() 1144 dst.h = xwindow->render_rect.h; in gst_xv_image_sink_navigation_send_event() 1147 result.x += xwindow->render_rect.x; in gst_xv_image_sink_navigation_send_event() [all …]
|
D | xvimagesink.h | 126 GstVideoRectangle render_rect; member
|
D | xvcontext.h | 226 GstVideoRectangle render_rect; member
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/ |
D | gstglwindow_x11.c | 65 GstVideoRectangle render_rect; member 296 if (window_x11->priv->render_rect.w > 0 && in gst_gl_window_x11_set_window_handle() 297 window_x11->priv->render_rect.h > 0) { in gst_gl_window_x11_set_window_handle() 298 x = window_x11->priv->render_rect.x; in gst_gl_window_x11_set_window_handle() 299 y = window_x11->priv->render_rect.y; in gst_gl_window_x11_set_window_handle() 300 width = window_x11->priv->render_rect.w; in gst_gl_window_x11_set_window_handle() 301 height = window_x11->priv->render_rect.h; in gst_gl_window_x11_set_window_handle() 357 render->window_x11->priv->render_rect = render->rect; in _set_render_rectangle() 453 (window_x11->priv->render_rect.w < 0 || in draw_cb() 454 window_x11->priv->render_rect.h < 0)) { in draw_cb()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/ |
D | gstglwindow_wayland_egl.c | 418 if (window_egl->window.render_rect.w > 0) in create_surfaces() 419 width = window_egl->window.render_rect.w; in create_surfaces() 428 if (window_egl->window.render_rect.h > 0) in create_surfaces() 429 height = window_egl->window.render_rect.h; in create_surfaces() 473 window->window.render_rect.w = window->window.render_rect.h = -1; in gst_gl_window_wayland_egl_init() 687 render->window_egl->window.render_rect = render->rect; in _set_render_rectangle() 719 if (window_egl->window.render_rect.w < 0 in gst_gl_window_wayland_egl_set_preferred_size() 720 && window_egl->window.render_rect.h < 0) { in gst_gl_window_wayland_egl_set_preferred_size()
|
D | gstglwindow_wayland_egl.h | 84 GstVideoRectangle render_rect; member
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmssink.c | 132 (self->render_rect.w == width && self->render_rect.h == height)) { in gst_kms_sink_set_render_rectangle() 133 self->render_rect = self->pending_rect; in gst_kms_sink_set_render_rectangle() 160 self->render_rect = self->pending_rect; in gst_kms_sink_expose() 783 if (self->render_rect.w == 0 || self->render_rect.h == 0) { in gst_kms_sink_start() 784 self->render_rect.x = 0; in gst_kms_sink_start() 785 self->render_rect.y = 0; in gst_kms_sink_start() 786 self->render_rect.w = self->hdisplay; in gst_kms_sink_start() 787 self->render_rect.h = self->vdisplay; in gst_kms_sink_start() 790 self->pending_rect = self->render_rect; in gst_kms_sink_start() 944 self->render_rect = self->pending_rect; in gst_kms_sink_stop() [all …]
|
D | gstkmssink.h | 88 GstVideoRectangle render_rect; member
|
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/ |
D | d3dvideosink.c | 560 sink->render_rect.x = x; in gst_d3dvideosink_set_render_rectangle() 561 sink->render_rect.y = y; in gst_d3dvideosink_set_render_rectangle() 562 sink->render_rect.w = width; in gst_d3dvideosink_set_render_rectangle() 563 sink->render_rect.h = height; in gst_d3dvideosink_set_render_rectangle()
|
D | d3dhelpers.c | 962 if (sink->d3d.render_rect) { in d3d_get_render_coordinates() 963 memcpy (&r_area, sink->d3d.render_rect, sizeof (r_area)); in d3d_get_render_coordinates() 1182 sink->d3d.render_rect = &sink->render_rect; in d3d_set_render_rectangle() 1489 if ((d3d_pp.SwapEffect != D3DSWAPEFFECT_COPY && sink->d3d.render_rect) || in d3d_resize_swap_chain() 1491 && sink->d3d.render_rect == NULL)) { in d3d_resize_swap_chain() 1493 (sink->d3d.render_rect == in d3d_resize_swap_chain() 1496 sink->d3d.render_rect ? "COPY" : "DISCARD"); in d3d_resize_swap_chain() 1773 if (d3d_get_render_rects (sink->d3d.render_rect, &dstr, &srcr)) { in d3d_present_swap_chain() 1810 GstVideoRectangle *render_rect = NULL; in d3d_stretch_and_copy() local 1822 render_rect = sink->d3d.render_rect; in d3d_stretch_and_copy() [all …]
|
D | d3dvideosink.h | 60 GstVideoRectangle render_rect; member
|
D | d3dhelpers.h | 90 GstVideoRectangle * render_rect; member
|