Lines Matching refs:xwindow
247 GstXWindow *xwindow; in gst_xv_image_sink_xvimage_put() local
253 if (G_UNLIKELY ((xwindow = xvimagesink->xwindow) == NULL)) { in gst_xv_image_sink_xvimage_put()
310 dst.w = xwindow->render_rect.w; in gst_xv_image_sink_xvimage_put()
311 dst.h = xwindow->render_rect.h; in gst_xv_image_sink_xvimage_put()
314 result.x += xwindow->render_rect.x; in gst_xv_image_sink_xvimage_put()
315 result.y += xwindow->render_rect.y; in gst_xv_image_sink_xvimage_put()
317 memcpy (&result, &xwindow->render_rect, sizeof (GstVideoRectangle)); in gst_xv_image_sink_xvimage_put()
320 gst_xvimage_memory_render (mem, &src, xwindow, &result, draw_border); in gst_xv_image_sink_xvimage_put()
329 GstXWindow * xwindow, const gchar * media_title) in gst_xv_image_sink_xwindow_set_title() argument
335 if (xwindow) { in gst_xv_image_sink_xwindow_set_title()
353 gst_xwindow_set_title (xwindow, title); in gst_xv_image_sink_xwindow_set_title()
364 GstXWindow *xwindow = NULL; in gst_xv_image_sink_xwindow_new() local
371 xwindow = gst_xvcontext_create_xwindow (context, width, height); in gst_xv_image_sink_xwindow_new()
374 gst_xv_image_sink_xwindow_set_title (xvimagesink, xwindow, NULL); in gst_xv_image_sink_xwindow_new()
376 gst_xwindow_set_event_handling (xwindow, xvimagesink->handle_events); in gst_xv_image_sink_xwindow_new()
379 xwindow->win); in gst_xv_image_sink_xwindow_new()
381 return xwindow; in gst_xv_image_sink_xwindow_new()
391 if (G_LIKELY (xvimagesink->xwindow)) in gst_xv_image_sink_xwindow_update_geometry()
392 gst_xwindow_update_geometry (xvimagesink->xwindow); in gst_xv_image_sink_xwindow_update_geometry()
433 xvimagesink->xwindow->win, PointerMotionMask, &e)) { in gst_xv_image_sink_handle_xevents()
465 xvimagesink->xwindow->win, in gst_xv_image_sink_handle_xevents()
526 xvimagesink->xwindow->win, ExposureMask | StructureNotifyMask, &e)) { in gst_xv_image_sink_handle_xevents()
572 gst_xwindow_destroy (xvimagesink->xwindow); in gst_xv_image_sink_handle_xevents()
573 xvimagesink->xwindow = NULL; in gst_xv_image_sink_handle_xevents()
596 if (xvimagesink->xwindow) { in gst_xv_image_sink_event_thread()
791 if (!xvimagesink->xwindow) { in gst_xv_image_sink_setcaps()
804 if (!xvimagesink->xwindow) { in gst_xv_image_sink_setcaps()
805 xvimagesink->xwindow = gst_xv_image_sink_xwindow_new (xvimagesink, in gst_xv_image_sink_setcaps()
812 gst_xwindow_set_render_rectangle (xvimagesink->xwindow, in gst_xv_image_sink_setcaps()
1072 gst_xv_image_sink_xwindow_set_title (xvimagesink, xvimagesink->xwindow, in gst_xv_image_sink_event()
1160 GstXWindow *xwindow; in gst_xv_image_sink_navigation_send_event() local
1165 if (!(xwindow = xvimagesink->xwindow)) { in gst_xv_image_sink_navigation_send_event()
1176 dst.w = xwindow->render_rect.w; in gst_xv_image_sink_navigation_send_event()
1177 dst.h = xwindow->render_rect.h; in gst_xv_image_sink_navigation_send_event()
1180 result.x += xwindow->render_rect.x; in gst_xv_image_sink_navigation_send_event()
1181 result.y += xwindow->render_rect.y; in gst_xv_image_sink_navigation_send_event()
1183 memcpy (&result, &xwindow->render_rect, sizeof (GstVideoRectangle)); in gst_xv_image_sink_navigation_send_event()
1231 GstXWindow *xwindow = NULL; in gst_xv_image_sink_set_window_handle() local
1239 if (xvimagesink->xwindow && (xwindow_id == xvimagesink->xwindow->win)) { in gst_xv_image_sink_set_window_handle()
1258 if (xvimagesink->xwindow) { in gst_xv_image_sink_set_window_handle()
1259 gst_xwindow_destroy (xvimagesink->xwindow); in gst_xv_image_sink_set_window_handle()
1260 xvimagesink->xwindow = NULL; in gst_xv_image_sink_set_window_handle()
1269 xwindow = in gst_xv_image_sink_set_window_handle()
1275 xwindow = gst_xvcontext_create_xwindow_from_xid (context, xwindow_id); in gst_xv_image_sink_set_window_handle()
1276 gst_xwindow_set_event_handling (xwindow, xvimagesink->handle_events); in gst_xv_image_sink_set_window_handle()
1279 if (xwindow) in gst_xv_image_sink_set_window_handle()
1280 xvimagesink->xwindow = xwindow; in gst_xv_image_sink_set_window_handle()
1303 if (G_LIKELY (xvimagesink->xwindow)) in gst_xv_image_sink_set_event_handling()
1304 gst_xwindow_set_event_handling (xvimagesink->xwindow, handle_events); in gst_xv_image_sink_set_event_handling()
1315 if (G_LIKELY (xvimagesink->xwindow)) { in gst_xv_image_sink_set_render_rectangle()
1316 gst_xwindow_set_render_rectangle (xvimagesink->xwindow, x, y, width, in gst_xv_image_sink_set_render_rectangle()
1752 if (xvimagesink->xwindow) in gst_xv_image_sink_get_property()
1753 g_value_set_uint64 (value, xvimagesink->xwindow->width); in gst_xv_image_sink_get_property()
1758 if (xvimagesink->xwindow) in gst_xv_image_sink_get_property()
1759 g_value_set_uint64 (value, xvimagesink->xwindow->height); in gst_xv_image_sink_get_property()
1841 if (xvimagesink->xwindow) { in gst_xv_image_sink_close()
1842 gst_xwindow_clear (xvimagesink->xwindow); in gst_xv_image_sink_close()
1843 gst_xwindow_destroy (xvimagesink->xwindow); in gst_xv_image_sink_close()
1844 xvimagesink->xwindow = NULL; in gst_xv_image_sink_close()
1903 xvimagesink->xwindow = NULL; in gst_xv_image_sink_init()