@Namespace(value="dai") @Properties(inherit=depthai.class) public class OpenVINO extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION_2020_3
enum dai::OpenVINO::Version
|
static int |
VERSION_2020_4
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_1
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_2
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_3
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_4
enum dai::OpenVINO::Version
|
| Constructor and Description |
|---|
OpenVINO()
Default native constructor.
|
OpenVINO(long size)
Native array allocator.
|
OpenVINO(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areVersionsBlobCompatible(int v1,
int v2)
Checks whether two blob versions are compatible
|
static int |
getBlobLatestSupportedVersion(int majorVersion,
int minorVersion)
Returns latest potentionally supported version by a given blob version.
|
static IntPointer |
getBlobSupportedVersions(int majorVersion,
int minorVersion)
Returns a list of potentionally supported versions for a specified blob major and minor versions.
|
OpenVINO |
getPointer(long i) |
static BytePointer |
getVersionName(int version)
Returns string representation of a given version
|
static IntPointer |
getVersions() |
static int |
parseVersionName(BytePointer versionString)
Creates Version from string representation.
|
static int |
parseVersionName(String versionString) |
OpenVINO |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic static final int VERSION_2020_3
public static final int VERSION_2020_4
public static final int VERSION_2021_1
public static final int VERSION_2021_2
public static final int VERSION_2021_3
public static final int VERSION_2021_4
public OpenVINO()
public OpenVINO(long size)
Pointer.position(long).public OpenVINO(Pointer p)
Pointer(Pointer).public OpenVINO getPointer(long i)
getPointer in class Pointer@Cast(value="dai::OpenVINO::Version*") @StdVector public static IntPointer getVersions()
@StdString public static BytePointer getVersionName(@Cast(value="dai::OpenVINO::Version") int version)
version - OpenVINO version@Cast(value="dai::OpenVINO::Version") public static int parseVersionName(@StdString BytePointer versionString)
versionString - Version as string@Cast(value="dai::OpenVINO::Version") public static int parseVersionName(@StdString String versionString)
@Cast(value="dai::OpenVINO::Version*") @StdVector public static IntPointer getBlobSupportedVersions(@Cast(value="std::uint32_t") int majorVersion, @Cast(value="std::uint32_t") int minorVersion)
majorVersion - Major version from OpenVINO blobminorVersion - Minor version from OpenVINO blob@Cast(value="dai::OpenVINO::Version") public static int getBlobLatestSupportedVersion(@Cast(value="std::uint32_t") int majorVersion, @Cast(value="std::uint32_t") int minorVersion)
majorVersion - Major version from OpenVINO blobminorVersion - Minor version from OpenVINO blobCopyright © 2021. All rights reserved.