• Home
  • Raw
  • Download

Lines Matching full:overlay

82  * Overlay elapsed running time since the first observed running time.
109 gst_time_overlay_render_time (GstTimeOverlay * overlay, GstClockTime time) in gst_time_overlay_render_time() argument
126 gst_time_overlay_get_text (GstBaseTextOverlay * overlay, in gst_time_overlay_get_text() argument
129 GstTimeOverlay *self = GST_TIME_OVERLAY (overlay); in gst_time_overlay_get_text()
133 overlay->need_render = TRUE; in gst_time_overlay_get_text()
135 time_line = g_atomic_int_get (&GST_TIME_OVERLAY_CAST (overlay)->time_line); in gst_time_overlay_get_text()
147 GstSegment *segment = &overlay->segment; in gst_time_overlay_get_text()
187 time_str = gst_time_overlay_render_time (GST_TIME_OVERLAY (overlay), ts); in gst_time_overlay_get_text()
191 txt = g_strdup (overlay->default_text); in gst_time_overlay_get_text()
243 gst_element_class_set_static_metadata (gstelement_class, "Time overlay", in gst_time_overlay_class_init()
285 GstTimeOverlay *overlay = GST_TIME_OVERLAY (parent); in gst_time_overlay_video_event() local
289 overlay->first_running_time = GST_CLOCK_TIME_NONE; in gst_time_overlay_video_event()
295 return overlay->orig_video_event (pad, parent, event); in gst_time_overlay_video_event()
299 gst_time_overlay_init (GstTimeOverlay * overlay) in gst_time_overlay_init() argument
306 textoverlay = GST_BASE_TEXT_OVERLAY (overlay); in gst_time_overlay_init()
311 overlay->time_line = DEFAULT_TIME_LINE; in gst_time_overlay_init()
312 overlay->show_times_as_dates = DEFAULT_SHOW_TIMES_AS_DATES; in gst_time_overlay_init()
313 overlay->datetime_epoch = g_date_time_new_utc (1900, 1, 1, 0, 0, 0); in gst_time_overlay_init()
314 overlay->datetime_format = g_strdup (DEFAULT_DATETIME_FORMAT); in gst_time_overlay_init()
331 video_sink = gst_element_get_static_pad (GST_ELEMENT (overlay), "video_sink"); in gst_time_overlay_init()
332 overlay->orig_video_event = GST_PAD_EVENTFUNC (video_sink); in gst_time_overlay_init()
340 GstTimeOverlay *overlay = GST_TIME_OVERLAY (object); in gst_time_overlay_set_property() local
344 g_atomic_int_set (&overlay->time_line, g_value_get_enum (value)); in gst_time_overlay_set_property()
347 overlay->show_times_as_dates = g_value_get_boolean (value); in gst_time_overlay_set_property()
350 g_date_time_unref (overlay->datetime_epoch); in gst_time_overlay_set_property()
351 overlay->datetime_epoch = (GDateTime *) g_value_dup_boxed (value); in gst_time_overlay_set_property()
354 g_free (overlay->datetime_format); in gst_time_overlay_set_property()
355 overlay->datetime_format = g_value_dup_string (value); in gst_time_overlay_set_property()
367 GstTimeOverlay *overlay = GST_TIME_OVERLAY (object); in gst_time_overlay_get_property() local
371 g_value_set_enum (value, g_atomic_int_get (&overlay->time_line)); in gst_time_overlay_get_property()
374 g_value_set_boolean (value, overlay->show_times_as_dates); in gst_time_overlay_get_property()
377 g_value_set_boxed (value, overlay->datetime_epoch); in gst_time_overlay_get_property()
380 g_value_set_string (value, overlay->datetime_format); in gst_time_overlay_get_property()