• Home
  • Raw
  • Download

Lines Matching refs:provider

52 static GList *gst_v4l2_device_provider_probe (GstDeviceProvider * provider);
55 static gboolean gst_v4l2_device_provider_start (GstDeviceProvider * provider);
56 static void gst_v4l2_device_provider_stop (GstDeviceProvider * provider);
82 gst_v4l2_device_provider_init (GstV4l2DeviceProvider * provider) in gst_v4l2_device_provider_init() argument
85 g_cond_init (&provider->started_cond); in gst_v4l2_device_provider_init()
93 GstV4l2DeviceProvider *provider = GST_V4L2_DEVICE_PROVIDER (object); in gst_v4l2_device_provider_finalize() local
95 g_cond_clear (&provider->started_cond); in gst_v4l2_device_provider_finalize()
102 gst_v4l2_device_provider_probe_device (GstV4l2DeviceProvider * provider, in gst_v4l2_device_provider_probe_device() argument
119 v4l2obj = gst_v4l2_object_new (NULL, GST_OBJECT (provider), in gst_v4l2_device_provider_probe_device()
202 gst_v4l2_device_provider_probe (GstDeviceProvider * provider) in gst_v4l2_device_provider_probe() argument
204 GstV4l2DeviceProvider *self = GST_V4L2_DEVICE_PROVIDER (provider); in gst_v4l2_device_provider_probe()
233 gst_v4l2_device_provider_device_from_udev (GstV4l2DeviceProvider * provider, in gst_v4l2_device_provider_device_from_udev() argument
301 gstdev = gst_v4l2_device_provider_probe_device (provider, device_path, in gst_v4l2_device_provider_device_from_udev()
314 GstDeviceProvider *provider = GST_DEVICE_PROVIDER (self); in uevent_cb() local
326 gst_device_provider_device_add (provider, gstdev); in uevent_cb()
332 for (item = provider->devices; item; item = item->next) { in uevent_cb()
342 GST_OBJECT_UNLOCK (provider); in uevent_cb()
345 gst_device_provider_device_remove (provider, GST_DEVICE (gstdev)); in uevent_cb()
356 GstV4l2DeviceProvider *provider = data; in provider_thread() local
363 GST_OBJECT_LOCK (provider); in provider_thread()
364 if (provider->context) in provider_thread()
365 context = g_main_context_ref (provider->context); in provider_thread()
366 if (provider->loop) in provider_thread()
367 loop = g_main_loop_ref (provider->loop); in provider_thread()
370 provider->started = TRUE; in provider_thread()
371 g_cond_broadcast (&provider->started_cond); in provider_thread()
372 GST_OBJECT_UNLOCK (provider); in provider_thread()
375 GST_OBJECT_UNLOCK (provider); in provider_thread()
381 g_signal_connect (client, "uevent", G_CALLBACK (uevent_cb), provider); in provider_thread()
393 gst_v4l2_device_provider_device_from_udev (provider, udev_device); in provider_thread()
395 gst_device_provider_device_add (GST_DEVICE_PROVIDER (provider), gstdev); in provider_thread()
401 GST_OBJECT_LOCK (provider); in provider_thread()
402 provider->started = TRUE; in provider_thread()
403 g_cond_broadcast (&provider->started_cond); in provider_thread()
404 GST_OBJECT_UNLOCK (provider); in provider_thread()
412 gst_object_unref (provider); in provider_thread()
418 gst_v4l2_device_provider_start (GstDeviceProvider * provider) in gst_v4l2_device_provider_start() argument
420 GstV4l2DeviceProvider *self = GST_V4L2_DEVICE_PROVIDER (provider); in gst_v4l2_device_provider_start()
440 gst_v4l2_device_provider_stop (GstDeviceProvider * provider) in gst_v4l2_device_provider_stop() argument
442 GstV4l2DeviceProvider *self = GST_V4L2_DEVICE_PROVIDER (provider); in gst_v4l2_device_provider_stop()