Home
last modified time | relevance | path

Searched refs:gst_widget (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstglwidget.c88 gtk_gst_gl_widget_bind_buffer (GtkGstGLWidget * gst_widget) in gtk_gst_gl_widget_bind_buffer() argument
90 GtkGstGLWidgetPrivate *priv = gst_widget->priv; in gtk_gst_gl_widget_bind_buffer()
108 gtk_gst_gl_widget_unbind_buffer (GtkGstGLWidget * gst_widget) in gtk_gst_gl_widget_unbind_buffer() argument
110 GtkGstGLWidgetPrivate *priv = gst_widget->priv; in gtk_gst_gl_widget_unbind_buffer()
120 gtk_gst_gl_widget_init_redisplay (GtkGstGLWidget * gst_widget) in gtk_gst_gl_widget_init_redisplay() argument
122 GtkGstGLWidgetPrivate *priv = gst_widget->priv; in gtk_gst_gl_widget_init_redisplay()
157 gtk_gst_gl_widget_bind_buffer (gst_widget); in gtk_gst_gl_widget_init_redisplay()
226 _redraw_texture (GtkGstGLWidget * gst_widget, guint tex) in _redraw_texture() argument
228 GtkGstGLWidgetPrivate *priv = gst_widget->priv; in _redraw_texture()
231 GtkGstBaseWidget *base_widget = GTK_GST_BASE_WIDGET (gst_widget); in _redraw_texture()
[all …]
Dgtkgstwidget.c44 GtkGstBaseWidget *gst_widget = (GtkGstBaseWidget *) widget; in gtk_gst_widget_draw() local
52 GTK_GST_BASE_WIDGET_LOCK (gst_widget); in gtk_gst_widget_draw()
56 if (gst_widget->pending_buffer) { in gtk_gst_widget_draw()
57 if (gst_widget->buffer) in gtk_gst_widget_draw()
58 gst_buffer_unref (gst_widget->buffer); in gtk_gst_widget_draw()
59 gst_widget->buffer = gst_widget->pending_buffer; in gtk_gst_widget_draw()
60 gst_widget->pending_buffer = NULL; in gtk_gst_widget_draw()
64 if (gst_widget->negotiated && gst_widget->buffer in gtk_gst_widget_draw()
65 && gst_video_frame_map (&frame, &gst_widget->v_info, in gtk_gst_widget_draw()
66 gst_widget->buffer, GST_MAP_READ)) { in gtk_gst_widget_draw()
[all …]
Dgstgtkglsink.c248 GtkGstGLWidget *gst_widget; in gst_gtk_gl_sink_start() local
254 gst_widget = GTK_GST_GL_WIDGET (base_sink->widget); in gst_gtk_gl_sink_start()
258 g_signal_connect (gst_widget, "size-allocate", in gst_gtk_gl_sink_start()
262 g_signal_connect (gst_widget, "destroy", G_CALLBACK (destroy_cb), in gst_gtk_gl_sink_start()
265 _size_changed_cb (GTK_WIDGET (gst_widget), NULL, gtk_sink); in gst_gtk_gl_sink_start()
267 if (!gtk_gst_gl_widget_init_winsys (gst_widget)) { in gst_gtk_gl_sink_start()
273 gtk_sink->display = gtk_gst_gl_widget_get_display (gst_widget); in gst_gtk_gl_sink_start()
274 gtk_sink->context = gtk_gst_gl_widget_get_context (gst_widget); in gst_gtk_gl_sink_start()
275 gtk_sink->gtk_context = gtk_gst_gl_widget_get_gtk_context (gst_widget); in gst_gtk_gl_sink_start()
Dgtkgstglwidget.h75 void gtk_gst_gl_widget_set_rotate_method (GtkGstGLWidget * gst_widget,
78 GtkGstGLWidget * gst_widget);
Dgtkgstbasewidget.c183 GtkGstBaseWidget *gst_widget = (GtkGstBaseWidget *) widget; in gtk_gst_base_widget_get_preferred_width() local
184 gint video_width = gst_widget->display_width; in gtk_gst_base_widget_get_preferred_width()
186 if (!gst_widget->negotiated) in gtk_gst_base_widget_get_preferred_width()
199 GtkGstBaseWidget *gst_widget = (GtkGstBaseWidget *) widget; in gtk_gst_base_widget_get_preferred_height() local
200 gint video_height = gst_widget->display_height; in gtk_gst_base_widget_get_preferred_height()
202 if (!gst_widget->negotiated) in gtk_gst_base_widget_get_preferred_height()