Home
last modified time | relevance | path

Searched refs:device_path (Results 1 – 25 of 63) sorted by relevance

123

/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2.c143 video_fd = open (it->device_path, O_RDWR | O_CLOEXEC); in gst_v4l2_probe_and_register()
146 GST_DEBUG ("Failed to open %s: %s", it->device_path, g_strerror (errno)); in gst_v4l2_probe_and_register()
167 it->device_path); in gst_v4l2_probe_and_register()
170 sink_caps = gst_caps_merge (gst_v4l2_probe_template_caps (it->device_path, in gst_v4l2_probe_and_register()
172 gst_v4l2_probe_template_caps (it->device_path, video_fd, in gst_v4l2_probe_and_register()
176 src_caps = gst_caps_merge (gst_v4l2_probe_template_caps (it->device_path, in gst_v4l2_probe_and_register()
178 gst_v4l2_probe_template_caps (it->device_path, video_fd, in gst_v4l2_probe_and_register()
188 basename = g_path_get_basename (it->device_path); in gst_v4l2_probe_and_register()
195 gst_v4l2_video_dec_register (plugin, basename, it->device_path, in gst_v4l2_probe_and_register()
199 gst_v4l2_fwht_enc_register (plugin, basename, it->device_path, in gst_v4l2_probe_and_register()
[all …]
Dgstv4l2deviceprovider.c41 static GstV4l2Device *gst_v4l2_device_new (const gchar * device_path,
103 const gchar * device_path, const gchar * device_name, GstStructure * props) in gst_v4l2_device_provider_probe_device() argument
113 if (stat (device_path, &st) == -1) in gst_v4l2_device_provider_probe_device()
120 V4L2_BUF_TYPE_VIDEO_CAPTURE, device_path, NULL, NULL, NULL); in gst_v4l2_device_provider_probe_device()
126 gst_structure_set (props, "device.path", G_TYPE_STRING, device_path, NULL); in gst_v4l2_device_provider_probe_device()
180 device = gst_v4l2_device_new (device_path, in gst_v4l2_device_provider_probe_device()
215 it->device_path, "udev-probed", G_TYPE_BOOLEAN, FALSE, NULL); in gst_v4l2_device_provider_probe()
216 device = gst_v4l2_device_provider_probe_device (self, it->device_path, NULL, in gst_v4l2_device_provider_probe()
237 const gchar *device_path = g_udev_device_get_device_file (udev_device); 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()
[all …]
Dv4l2-utils.c67 it->parent.device_path = NULL; in gst_v4l2_iterator_next()
82 it->parent.device_path = g_udev_device_get_device_file (it->device); in gst_v4l2_iterator_next()
128 g_free ((gchar *) it->parent.device_path); in gst_v4l2_iterator_next()
129 it->parent.device_path = NULL; in gst_v4l2_iterator_next()
147 it->parent.device_path = device; in gst_v4l2_iterator_next()
155 return it->parent.device_path != NULL; in gst_v4l2_iterator_next()
162 g_free ((gchar *) it->parent.device_path); in gst_v4l2_iterator_free()
Dgstv4l2h263enc.c111 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_h263_enc_register() argument
114 "h263", basename, device_path, NULL, -1, sink_caps, in gst_v4l2_h263_enc_register()
Dgstv4l2h265enc.c115 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_h265_enc_register() argument
120 "h265", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_h265_enc_register()
Dgstv4l2vp8enc.c115 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_vp8_enc_register() argument
120 "vp8", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_vp8_enc_register()
Dgstv4l2jpegenc.c114 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_jpeg_enc_register() argument
117 "jpeg", basename, device_path, NULL, -1, sink_caps, in gst_v4l2_jpeg_enc_register()
Dgstv4l2vp9enc.c114 const gchar * device_path, gint video_fd, GstCaps * sink_caps, in gst_v4l2_vp9_enc_register() argument
119 "vp9", basename, device_path, codec, video_fd, sink_caps, in gst_v4l2_vp9_enc_register()
Dgstv4l2fwhtenc.c114 const gchar * device_path, GstCaps * sink_caps, GstCaps * src_caps) in gst_v4l2_fwht_enc_register() argument
117 "fwht", basename, device_path, NULL, -1, sink_caps, in gst_v4l2_fwht_enc_register()
/third_party/skia/infra/bots/recipe_modules/flavor/
Dssh.py50 device_path = self.device_path_join(self.device_dirs.bin_dir, self.app_name)
51 self.copy_file_to_device(host_path, device_path)
52 self.ssh('make %s executable' % self.app_name, 'chmod', '+x', device_path)
69 def scp_device_path(self, device_path): argument
70 return '%s:%s' % (self.user_ip, device_path)
72 def copy_file_to_device(self, host_path, device_path): argument
73 device_path = self.scp_device_path(device_path)
74 self._run('scp %s %s' % (host_path, device_path),
75 ['scp', host_path, device_path], infra_step=True)
Dchromebook.py52 def copy_directory_contents_to_device(self, host_path, device_path): argument
53 self._copy_dir(host_path, self.scp_device_path(device_path))
55 def copy_directory_contents_to_host(self, device_path, host_path): argument
56 self._copy_dir(self.scp_device_path(device_path), host_path)
Dapi.py93 def copy_file_to_device(self, host_path, device_path): argument
94 return self._f.copy_file_to_device(host_path, device_path)
135 host_path, device_path): argument
148 self.create_clean_device_dir(device_path)
150 host_path, device_path)
/third_party/flutter/skia/infra/bots/recipe_modules/flavor/
Dssh.py64 def scp_device_path(self, device_path): argument
65 return '%s:%s' % (self.user_ip, device_path)
67 def copy_file_to_device(self, host_path, device_path): argument
68 device_path = self.scp_device_path(device_path)
69 self._run('scp %s %s' % (host_path, device_path),
70 ['scp', host_path, device_path], infra_step=True)
Dwin_ssh.py74 device_path = self.scp_device_path(path)
75 ok = self._run('scp %s %s' % (device_path, host_path),
76 cmd=['scp', device_path, host_path],
90 def copy_directory_contents_to_device(self, host_path, device_path): argument
105 self._cmd('copy %s to %s' % (tmpdir, device_path),
106 'robocopy /mir "%s" "%s"' % (tmpdir, device_path),
109 def copy_directory_contents_to_host(self, device_path, host_path): argument
111 src = self.scp_device_path(self.device_path_join(device_path, '*'))
Dchromebook.py51 def copy_directory_contents_to_device(self, host_path, device_path): argument
52 self._copy_dir(host_path, self.scp_device_path(device_path))
54 def copy_directory_contents_to_host(self, device_path, host_path): argument
55 self._copy_dir(self.scp_device_path(device_path), host_path)
Dapi.py103 def copy_file_to_device(self, host_path, device_path): argument
104 return self._f.copy_file_to_device(host_path, device_path)
143 host_path, device_path): argument
156 self.create_clean_device_dir(device_path)
158 host_path, device_path)
/third_party/cups-filters/cupsfilters/
Dcolord.c268 char *device_path = NULL; in get_device_path_for_device_id() local
304 device_path = strdup(device_path_tmp); in get_device_path_for_device_id()
310 return device_path; in get_device_path_for_device_id()
318 char *device_path = NULL; in colord_get_profile_for_device_id() local
335 device_path = get_device_path_for_device_id (con, device_id); in colord_get_profile_for_device_id()
336 if (device_path == NULL) { in colord_get_profile_for_device_id()
342 filename = get_profile_for_device_path(con, device_path, qualifier_tuple); in colord_get_profile_for_device_id()
349 free(device_path); in colord_get_profile_for_device_id()
420 char *device_path = NULL; in colord_get_inhibit_for_device_id() local
432 device_path = get_device_path_for_device_id (con, device_id); in colord_get_inhibit_for_device_id()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfsourceobject.c122 g_free (self->device_path); in gst_mf_source_object_finalize()
138 g_value_set_string (value, self->device_path); in gst_mf_source_object_get_property()
163 g_free (self->device_path); in gst_mf_source_object_set_property()
164 self->device_path = g_value_dup_string (value); in gst_mf_source_object_set_property()
356 const gchar * device_name, const gchar * device_path, gpointer dispatcher) in gst_mf_source_object_new() argument
361 device_index, device_name, device_path); in gst_mf_source_object_new()
366 device_index, device_name, device_path, dispatcher); in gst_mf_source_object_new()
371 device_index, device_name, device_path, dispatcher); in gst_mf_source_object_new()
376 device_index, device_name, device_path); in gst_mf_source_object_new()
Dgstmfdevice.c61 gchar *device_path; member
102 g_free (self->device_path); in gst_mf_device_finalize()
115 g_object_set (elem, "device-path", self->device_path, NULL); in gst_mf_device_create_element()
128 g_value_set_string (value, self->device_path); in gst_mf_device_get_property()
144 self->device_path = g_value_dup_string (value); in gst_mf_device_set_property()
281 gchar *device_path = NULL; in gst_mf_device_provider_probe() local
295 "device-path", &device_path, "device-name", &device_name, NULL); in gst_mf_device_provider_probe()
297 if (!device_path) { in gst_mf_device_provider_probe()
309 "device.path", G_TYPE_STRING, device_path, in gst_mf_device_provider_probe()
312 device = g_object_new (GST_TYPE_MF_DEVICE, "device-path", device_path, in gst_mf_device_provider_probe()
[all …]
Dgstmfvideosrc.c80 gchar *device_path; member
205 g_free (self->device_path); in gst_mf_video_src_finalize()
218 g_value_set_string (value, self->device_path); in gst_mf_video_src_get_property()
240 g_free (self->device_path); in gst_mf_video_src_set_property()
241 self->device_path = g_value_dup_string (value); in gst_mf_video_src_set_property()
269 self->device_index, self->device_name, self->device_path, NULL); in gst_mf_video_src_start()
Dgstmfcapturewinrt.cpp272 GST_STR_NULL (source->device_path)); in gst_mf_capture_winrt_thread_func()
278 if (source->device_path) { in gst_mf_capture_winrt_thread_func()
279 match = g_ascii_strcasecmp (iter.id_.c_str(), source->device_path) == 0; in gst_mf_capture_winrt_thread_func()
326 g_free (source->device_path); in gst_mf_capture_winrt_thread_func()
327 source->device_path = g_strdup (target_group->id_.c_str ()); in gst_mf_capture_winrt_thread_func()
727 const gchar * device_name, const gchar * device_path, gpointer dispatcher) in gst_mf_capture_winrt_new() argument
755 device_name, "device-path", device_path, "dispatcher", dispatcher, NULL); in gst_mf_capture_winrt_new()
/third_party/gstreamer/gstplugins_bad/sys/uvch264/
Dgstuvch264deviceprovider.c52 gchar *device_path; member
69 g_value_set_string (value, self->device_path); in gst_uvc_h264_device_get_property()
84 g_object_set (elem, "device", self->device_path, NULL); in gst_uvc_h264_device_create_element()
97 self->device_path = g_value_dup_string (value); in gst_uvc_h264_device_set_property()
110 g_free (self->device_path); in gst_uvc_h264_device_finalize()
243 if (!g_strcmp0 (((GstUvcH264Device *) item->data)->device_path, in _bus_message_cb()
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dgstksvideosrc.c91 gchar *device_path; member
238 priv->device_path = DEFAULT_DEVICE_PATH; in gst_ks_video_src_init()
252 g_free (priv->device_path); in gst_ks_video_src_finalize()
266 g_value_set_string (value, priv->device_path); in gst_ks_video_src_get_property()
303 const gchar *device_path = g_value_get_string (value); in gst_ks_video_src_set_property() local
304 g_free (priv->device_path); in gst_ks_video_src_set_property()
305 priv->device_path = NULL; in gst_ks_video_src_set_property()
306 if (device_path && strlen (device_path) != 0) in gst_ks_video_src_set_property()
307 priv->device_path = g_value_dup_string (value); in gst_ks_video_src_set_property()
443 if (priv->device_path != NULL) { in gst_ks_video_src_open_device()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Ddshowdeviceprovider.cpp39 const gchar * device_name, GstCaps * caps, const gchar * device_path,
225 GstCaps * caps, const gchar * device_path, GstDshowDeviceType type) in gst_dshow_device_new() argument
232 g_return_val_if_fail (device_path, NULL); in gst_dshow_device_new()
254 gstdev->device = g_strdup (device_path); in gst_dshow_device_new()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvautils.c297 gchar *device_path = NULL; in gst_context_get_va_display() local
301 g_object_get (display, "path", &device_path, NULL); in gst_context_get_va_display()
302 ret = (g_strcmp0 (device_path, render_device_path) == 0); in gst_context_get_va_display()
303 g_free (device_path); in gst_context_get_va_display()

123