Home
last modified time | relevance | path

Searched refs:device_index (Results 1 – 25 of 68) sorted by relevance

123

/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2client.cpp242 gint device_index; member
336 self->device_index = DEFAULT_DEVICE_INDEX; in gst_wasapi2_client_init()
417 g_value_set_int (value, self->device_index); in gst_wasapi2_client_get_property()
450 self->device_index = g_value_get_int (value); in gst_wasapi2_client_set_property()
555 gint device_index = 0; in gst_wasapi2_client_activate_async() local
567 GST_STR_NULL (self->device_id), self->device_index); in gst_wasapi2_client_activate_async()
601 } else if (self->device_index < 0 && !self->device_id) { in gst_wasapi2_client_activate_async()
605 } else if (!self->device_id && self->device_index == 0) { in gst_wasapi2_client_activate_async()
652 if (self->device_index >= 0 && self->device_index > (gint) count) { in gst_wasapi2_client_activate_async()
654 self->device_index); in gst_wasapi2_client_activate_async()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstgldisplay_egl_device.c98 gst_gl_display_egl_device_new (guint device_index) in gst_gl_display_egl_device_new() argument
123 if (num_devices <= device_index) { in gst_gl_display_egl_device_new()
125 device_index, num_devices); in gst_gl_display_egl_device_new()
135 ret->device = device_list[device_index]; in gst_gl_display_egl_device_new()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvenc.c605 guint rank, gint device_index, CUcontext cuda_ctx) in gst_nv_enc_register() argument
635 device_index, cu_res); in gst_nv_enc_register()
642 device_index, status); in gst_nv_enc_register()
649 device_index, status); in gst_nv_enc_register()
674 ERROR_DETAILS, max_width, codec, device_index, status); in gst_nv_enc_register()
684 ERROR_DETAILS, max_height, codec, device_index, status); in gst_nv_enc_register()
695 ERROR_DETAILS, min_width, codec, device_index, status); in gst_nv_enc_register()
703 ERROR_DETAILS, min_height, codec, device_index, status); in gst_nv_enc_register()
713 device_index, codec, device_caps.rc_modes); in gst_nv_enc_register()
765 DEBUG_DEVICE_CAPS (device_index, in gst_nv_enc_register()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfsourceobject.c111 self->device_index = DEFAULT_DEVICE_INDEX; in gst_mf_source_object_init()
144 g_value_set_int (value, self->device_index); in gst_mf_source_object_get_property()
171 self->device_index = g_value_get_int (value); in gst_mf_source_object_set_property()
355 gst_mf_source_object_new (GstMFSourceType type, gint device_index, 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()
Dgstmfaacenc.cpp82 guint device_index; member
160 mfenc_class->device_index = cdata->device_index; in gst_mf_aac_enc_class_init()
504 const gchar * device_name, guint32 enum_flags, guint device_index, in gst_mf_aac_enc_register() argument
531 cdata->device_index = device_index; in gst_mf_aac_enc_register()
565 GstMFTransform * transform, guint device_index, guint32 enum_flags) in gst_mf_aac_enc_plugin_init_internal() argument
692 gst_mf_aac_enc_register (plugin, rank, device_name, enum_flags, device_index, in gst_mf_aac_enc_plugin_init_internal()
724 enum_params.device_index = i++; in gst_mf_aac_enc_plugin_init()
732 enum_params.device_index, enum_params.enum_flags); in gst_mf_aac_enc_plugin_init()
Dgstmfmp3enc.cpp82 guint device_index; member
160 mfenc_class->device_index = cdata->device_index; in gst_mf_mp3_enc_class_init()
460 const gchar * device_name, guint32 enum_flags, guint device_index, in gst_mf_mp3_enc_register() argument
487 cdata->device_index = device_index; in gst_mf_mp3_enc_register()
585 GstMFTransform * transform, guint device_index, guint32 enum_flags) in gst_mf_mp3_enc_plugin_init_internal() argument
708 gst_mf_mp3_enc_register (plugin, rank, device_name, enum_flags, device_index, in gst_mf_mp3_enc_plugin_init_internal()
738 enum_params.device_index = i++; in gst_mf_mp3_enc_plugin_init()
746 enum_params.device_index, enum_params.enum_flags); in gst_mf_mp3_enc_plugin_init()
Dgstmfvideosrc.c82 gint device_index; member
196 self->device_index = DEFAULT_DEVICE_INDEX; in gst_mf_video_src_init()
224 g_value_set_int (value, self->device_index); in gst_mf_video_src_get_property()
248 self->device_index = g_value_get_int (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()
Dgstmfvideoenc.h88 guint device_index; member
127 guint device_index; /* Index of enumerated IMFActivate via MFTEnum */ member
Dgstmfsourceobject.h56 gint device_index; member
114 gint device_index,
Dgstmfcapturewinrt.cpp271 source->device_index, GST_STR_NULL (source->device_name), in gst_mf_capture_winrt_thread_func()
283 } else if (source->device_index >= 0) { in gst_mf_capture_winrt_thread_func()
284 match = index == source->device_index; in gst_mf_capture_winrt_thread_func()
332 source->device_index = index; in gst_mf_capture_winrt_thread_func()
726 gst_mf_capture_winrt_new (GstMFSourceType type, gint device_index, in gst_mf_capture_winrt_new() argument
754 "source-type", type, "device-index", device_index, "device-name", in gst_mf_capture_winrt_new()
Dgstmfaudioenc.cpp87 enum_params.device_index = klass->device_index; in gst_mf_audio_enc_open()
90 klass->enum_flags, klass->device_index); in gst_mf_audio_enc_open()
Dgstmfsourcereader.h34 gint device_index,
Dgstmfcapturewinrt.h33 gint device_index,
Dgstmfsourcereader.cpp816 object->device_index, GST_STR_NULL (object->device_name), in gst_mf_source_reader_thread_func()
827 } else if (object->device_index >= 0) { in gst_mf_source_reader_thread_func()
828 match = activate->index == object->device_index; in gst_mf_source_reader_thread_func()
849 object->device_index = target->index; in gst_mf_source_reader_thread_func()
977 gst_mf_source_reader_new (GstMFSourceType type, gint device_index, in gst_mf_source_reader_new() argument
986 "source-type", type, "device-index", device_index, "device-name", in gst_mf_source_reader_new()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Ddshowdeviceprovider.cpp86 return gst_dshow_device_new (info->device_index, info->device_name, in new_video_source()
224 gst_dshow_device_new (guint device_index, const gchar * device_name, in gst_dshow_device_new() argument
256 gstdev->device_index = device_index; in gst_dshow_device_new()
279 g_value_set_int (value, device->device_index); in gst_dshow_device_get_property()
304 device->device_index = g_value_get_int (value); in gst_dshow_device_set_property()
Dgstdshow.h41 gint device_index; member
98 gchar ** device_name, gint * device_index);
122 const gchar *device, const gchar *device_name, const gint device_index);
Dgstdshow.cpp397 entry->device_index = devidx; in gst_dshow_enumerate_devices()
428 const gchar * device, const gchar * device_name, const gint device_index) in gst_dshow_select_device() argument
435 device_index, device_name, device); in gst_dshow_select_device()
449 } else if (!device && !device_name && device_index == entry->device_index) { in gst_dshow_select_device()
458 selected->device_index, selected->device_name, selected->device); in gst_dshow_select_device()
489 gchar ** device_name, gint * device_index) in gst_dshow_getdevice_from_devicename() argument
534 if ((!*device_name || !**device_name) && devidx == *device_index) { in gst_dshow_getdevice_from_devicename()
544 *device_index = devidx; in gst_dshow_getdevice_from_devicename()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Davfdeviceprovider.m34 static GstDevice *gst_avf_device_new (const gchar * device_name, int device_index,
164 g_object_set (elem, "device-index", avf_dev->device_index, NULL);
175 g_object_set (element, "device-index", avf_dev->device_index, NULL);
192 g_value_set_int (value, device->device_index);
210 device->device_index = g_value_get_int (value);
219 gst_avf_device_new (const gchar * device_name, int device_index, GstCaps * caps, GstAvfDeviceType t…
242 "device-index", device_index, "properties", props, NULL);
/third_party/FreeBSD/sys/dev/usb/
Dusb_hub.h38 uint8_t device_index; /* zero means not valid */ member
71 struct usb_device *udev, uint8_t device_index);
Dusb_device.c1475 uint8_t device_index; in usb_alloc_device() local
1493 for (device_index = USB_ROOT_HUB_ADDR; in usb_alloc_device()
1494 (device_index != bus->devices_max) && in usb_alloc_device()
1495 (bus->devices[device_index] != NULL); in usb_alloc_device()
1496 device_index++) /* nop */; in usb_alloc_device()
1498 if (device_index == bus->devices_max) { in usb_alloc_device()
1590 udev->device_index = device_index; in usb_alloc_device()
1596 device_get_unit(bus->bdev), device_index); in usb_alloc_device()
1608 "(%s, ignored)\n", device_index, in usb_alloc_device()
1618 err = usbd_req_set_address(udev, NULL, device_index); in usb_alloc_device()
[all …]
Dusb_hub.c1505 up->device_index = 0; in uhub_attach()
1768 (res.udev->parent_hub != NULL) ? res.udev->parent_hub->device_index : 0U, in uhub_child_location_string()
1770 res.udev->device_index, res.iface_index); in uhub_child_location_string()
2274 if (up->device_index == 0) { in usb_bus_port_get_device()
2278 return (bus->devices[up->device_index]); in usb_bus_port_get_device()
2288 struct usb_device *udev, uint8_t device_index) in usb_bus_port_set_device() argument
2300 up->device_index = device_index; in usb_bus_port_set_device()
2302 device_index = up->device_index; in usb_bus_port_set_device()
2303 up->device_index = 0; in usb_bus_port_set_device()
2309 if (device_index != 0) { in usb_bus_port_set_device()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkphysicaldevice.h58 guint device_index; member
90 guint device_index);
/third_party/pulseaudio/src/modules/
Dmodule-device-manager.c652 uint32_t role_index, device_index; in route_sink_input() local
685 device_index = u->preferred_sinks[role_index]; in route_sink_input()
686 if (PA_INVALID_INDEX == device_index) in route_sink_input()
689 if (!(sink = pa_idxset_get_by_index(u->core->sinks, device_index))) in route_sink_input()
724 uint32_t role_index, device_index; in route_source_output() local
760 device_index = u->preferred_sources[role_index]; in route_source_output()
761 if (PA_INVALID_INDEX == device_index) in route_source_output()
764 if (!(source = pa_idxset_get_by_index(u->core->sources, device_index))) in route_source_output()
992 uint32_t device_index; in sink_input_new_hook_callback() local
994 device_index = u->preferred_sinks[role_index]; in sink_input_new_hook_callback()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dgstksvideosrc.c93 gint device_index; member
240 priv->device_index = DEFAULT_DEVICE_INDEX; in gst_ks_video_src_init()
272 g_value_set_int (value, priv->device_index); in gst_ks_video_src_get_property()
320 priv->device_index = g_value_get_int (value); in gst_ks_video_src_set_property()
447 } else if (priv->device_index >= 0) { in gst_ks_video_src_open_device()
448 match = entry->index == priv->device_index; in gst_ks_video_src_open_device()
504 priv->device_index), (NULL)); in gst_ks_video_src_open_device()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsedeviceprovider.c295 updated_device = gst_pulse_device_new (dev->device_index, in get_server_info_cb()
370 dev->device_index == idx) { in context_subscribe_cb()
698 gst_pulse_device_new (guint device_index, const gchar * device_name, in gst_pulse_device_new() argument
731 gstdev->device_index = device_index; in gst_pulse_device_new()

123