• Home
  • Raw
  • Download

Lines Matching refs:gstdev

236   GstV4l2Device *gstdev;  in gst_v4l2_device_provider_device_from_udev()  local
301 gstdev = gst_v4l2_device_provider_probe_device (provider, device_path, in gst_v4l2_device_provider_device_from_udev()
304 if (gstdev) in gst_v4l2_device_provider_device_from_udev()
305 gstdev->syspath = g_strdup (g_udev_device_get_sysfs_path (udev_device)); in gst_v4l2_device_provider_device_from_udev()
307 return GST_DEVICE (gstdev); in gst_v4l2_device_provider_device_from_udev()
321 GstDevice *gstdev = NULL; in uevent_cb() local
323 gstdev = gst_v4l2_device_provider_device_from_udev (self, device); in uevent_cb()
325 if (gstdev) in uevent_cb()
326 gst_device_provider_device_add (provider, gstdev); in uevent_cb()
328 GstV4l2Device *gstdev = NULL; in uevent_cb() local
333 gstdev = item->data; in uevent_cb()
335 if (!strcmp (gstdev->syspath, g_udev_device_get_sysfs_path (device))) { in uevent_cb()
336 gst_object_ref (gstdev); in uevent_cb()
340 gstdev = NULL; in uevent_cb()
344 if (gstdev) { in uevent_cb()
345 gst_device_provider_device_remove (provider, GST_DEVICE (gstdev)); in uevent_cb()
346 g_object_unref (gstdev); in uevent_cb()
387 GstDevice *gstdev; in provider_thread() local
392 gstdev = in provider_thread()
394 if (gstdev) in provider_thread()
395 gst_device_provider_device_add (GST_DEVICE_PROVIDER (provider), gstdev); in provider_thread()
536 GstV4l2Device *gstdev; in gst_v4l2_device_new() local
558 gstdev = g_object_new (GST_TYPE_V4L2_DEVICE, "device-path", device_path, in gst_v4l2_device_new()
562 gstdev->element = element; in gst_v4l2_device_new()
565 return gstdev; in gst_v4l2_device_new()