Home
last modified time | relevance | path

Searched refs:deviceUniqueIdUTF8 (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/modules/video_capture/
Ddevice_info_impl.cc40 int32_t DeviceInfoImpl::NumberOfCapabilities(const char* deviceUniqueIdUTF8) { in NumberOfCapabilities() argument
41 if (!deviceUniqueIdUTF8) in NumberOfCapabilities()
48 deviceUniqueIdUTF8, in NumberOfCapabilities()
57 int32_t ret = CreateCapabilityMap(deviceUniqueIdUTF8); in NumberOfCapabilities()
61 int32_t DeviceInfoImpl::GetCapability(const char* deviceUniqueIdUTF8, in GetCapability() argument
64 assert(deviceUniqueIdUTF8 != NULL); in GetCapability()
69 deviceUniqueIdUTF8, in GetCapability()
73 if (-1 == CreateCapabilityMap(deviceUniqueIdUTF8)) { in GetCapability()
95 const char* deviceUniqueIdUTF8, in GetBestMatchedCapability() argument
98 if (!deviceUniqueIdUTF8) in GetBestMatchedCapability()
[all …]
Dvideo_capture.h38 char* deviceUniqueIdUTF8,
44 virtual int32_t NumberOfCapabilities(const char* deviceUniqueIdUTF8) = 0;
47 virtual int32_t GetCapability(const char* deviceUniqueIdUTF8,
53 virtual int32_t GetOrientation(const char* deviceUniqueIdUTF8,
60 const char* deviceUniqueIdUTF8,
66 const char* deviceUniqueIdUTF8,
Ddevice_info_impl.h29 int32_t NumberOfCapabilities(const char* deviceUniqueIdUTF8) override;
30 int32_t GetCapability(const char* deviceUniqueIdUTF8,
34 int32_t GetBestMatchedCapability(const char* deviceUniqueIdUTF8,
37 int32_t GetOrientation(const char* deviceUniqueIdUTF8,
48 virtual int32_t CreateCapabilityMap(const char* deviceUniqueIdUTF8) = 0;
Dvideo_capture_factory.cc18 const char* deviceUniqueIdUTF8) { in Create() argument
22 return videocapturemodule::VideoCaptureImpl::Create(deviceUniqueIdUTF8); in Create()
Dvideo_capture_factory.h30 const char* deviceUniqueIdUTF8);
Dvideo_capture_impl.h44 const char* deviceUniqueIdUTF8);
/external/webrtc/modules/video_capture/linux/
Ddevice_info_linux.cc74 char* deviceUniqueIdUTF8, in GetDeviceName() argument
134 memset(deviceUniqueIdUTF8, 0, deviceUniqueIdUTF8Length); in GetDeviceName()
135 memcpy(deviceUniqueIdUTF8, cap.bus_info, in GetDeviceName()
146 int32_t DeviceInfoLinux::CreateCapabilityMap(const char* deviceUniqueIdUTF8) { in CreateCapabilityMap() argument
152 (int32_t)strlen((char*)deviceUniqueIdUTF8); in CreateCapabilityMap()
158 << deviceUniqueIdUTF8; in CreateCapabilityMap()
176 if (strncmp((const char*)cap.bus_info, (const char*)deviceUniqueIdUTF8, in CreateCapabilityMap()
177 strlen((const char*)deviceUniqueIdUTF8)) == in CreateCapabilityMap()
186 (const char*)deviceUniqueIdUTF8)) { in CreateCapabilityMap()
211 memcpy(_lastUsedDeviceName, deviceUniqueIdUTF8, in CreateCapabilityMap()
[all …]
Ddevice_info_linux.h28 char* deviceUniqueIdUTF8,
36 int32_t CreateCapabilityMap(const char* deviceUniqueIdUTF8) override;
46 bool IsDeviceNameMatches(const char* name, const char* deviceUniqueIdUTF8);
Dvideo_capture_linux.cc58 int32_t VideoCaptureModuleV4L2::Init(const char* deviceUniqueIdUTF8) { in Init() argument
59 int len = strlen((const char*)deviceUniqueIdUTF8); in Init()
62 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, len + 1); in Init()
79 (const char*)deviceUniqueIdUTF8, in Init()
80 strlen((const char*)deviceUniqueIdUTF8)) == in Init()
/external/webrtc/modules/video_capture/windows/
Ddevice_info_ds.h47 char* deviceUniqueIdUTF8,
55 int32_t DisplayCaptureSettingsDialogBox(const char* deviceUniqueIdUTF8,
67 IBaseFilter* GetDeviceFilter(const char* deviceUniqueIdUTF8,
83 char* deviceUniqueIdUTF8,
88 int32_t CreateCapabilityMap(const char* deviceUniqueIdUTF8) override;
Ddevice_info_ds.cc109 char* deviceUniqueIdUTF8, in GetDeviceName() argument
115 deviceNumber, deviceNameUTF8, deviceNameLength, deviceUniqueIdUTF8, in GetDeviceName()
123 char* deviceUniqueIdUTF8, in GetDeviceInfo() argument
175 strncpy_s((char*)deviceUniqueIdUTF8, deviceUniqueIdUTF8Length, in GetDeviceInfo()
182 CP_UTF8, 0, varName.bstrVal, -1, (char*)deviceUniqueIdUTF8, in GetDeviceInfo()
191 GetProductId(deviceUniqueIdUTF8, productUniqueIdUTF8, in GetDeviceInfo()
211 IBaseFilter* DeviceInfoDS::GetDeviceFilter(const char* deviceUniqueIdUTF8, in GetDeviceFilter() argument
215 (char*)deviceUniqueIdUTF8); // UTF8 is also NULL terminated in GetDeviceFilter()
257 if (strncmp(tempDevicePathUTF8, (const char*)deviceUniqueIdUTF8, in GetDeviceFilter()
273 GetProductId(deviceUniqueIdUTF8, productUniqueIdUTF8, in GetDeviceFilter()
[all …]
Dvideo_capture_ds.cc58 int32_t VideoCaptureDS::Init(const char* deviceUniqueIdUTF8) { in Init() argument
59 const int32_t nameLength = (int32_t)strlen((char*)deviceUniqueIdUTF8); in Init()
65 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, nameLength + 1); in Init()
70 _captureFilter = _dsInfo.GetDeviceFilter(deviceUniqueIdUTF8); in Init()
127 RTC_LOG(LS_INFO) << "Capture device '" << deviceUniqueIdUTF8 in Init()
Dvideo_capture_ds.h30 virtual int32_t Init(const char* deviceUniqueIdUTF8);