GstHip.HipDevice¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
Device ID |
||
r |
Texture2D support |
||
r |
Vendor |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
object |
r |
Class Details¶
- class GstHip.HipDevice(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Opaque
GstHip.HipDevicestructNew in version 1.28.
- classmethod new(vendor, device_id)¶
- Parameters:
vendor (
GstHip.HipVendor) – aGstHip.HipVendordevice_id (
int) – device identifier
- Returns:
a
GstHip.HipDeviceif succeeded, otherwiseNone- Return type:
Creates a new device instance with vendor and device_id.
New in version 1.28.
- get_device_id()¶
- Returns:
the device identifier
- Return type:
Gets numeric device identifier of self
New in version 1.28.
- get_stream()¶
- Returns:
- Return type:
Gets per
GstHip.HipDevicedefaultGstHip.HipStreamowned by selfNew in version 1.28.
- get_vendor()¶
- Returns:
- Return type:
Gets vendor of self
New in version 1.28.
- is_equal(device2)¶
- Parameters:
device2 (
GstHip.HipDevice) – aGstHip.HipDevice- Returns:
Trueif both devices are associated with the same hardware device- Return type:
Checks equality of self and device2
New in version 1.28.
Property Details¶
- GstHip.HipDevice.props.device_id¶
-
Device ID
- GstHip.HipDevice.props.texture2d_support¶
-
Texture2D support
- GstHip.HipDevice.props.vendor¶
- Name:
vendor- Type:
- Default Value:
- Flags:
Vendor