-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade presets for DNNL 2.6.1, Gym 0.25.0, LLVM 14.0.6, DepthAI 2…
….17.0, TVM 0.9.0
- Loading branch information
Showing
146 changed files
with
1,512 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
depthai/src/gen/java/org/bytedeco/depthai/BoolStringByteVectorTuple.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.depthai; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
import static org.bytedeco.openblas.global.openblas_nolapack.*; | ||
import static org.bytedeco.openblas.global.openblas.*; | ||
import org.bytedeco.opencv.opencv_core.*; | ||
import static org.bytedeco.opencv.global.opencv_core.*; | ||
import org.bytedeco.opencv.opencv_imgproc.*; | ||
import static org.bytedeco.opencv.global.opencv_imgproc.*; | ||
|
||
import static org.bytedeco.depthai.global.depthai.*; | ||
|
||
@NoOffset @Name("std::tuple<bool,std::string,std::vector<uint8_t> >") @Properties(inherit = org.bytedeco.depthai.presets.depthai.class) | ||
public class BoolStringByteVectorTuple extends Pointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public BoolStringByteVectorTuple(Pointer p) { super(p); } | ||
public BoolStringByteVectorTuple(@Cast("bool") boolean value0, @StdString BytePointer value1, @ByRef ByteVector value2) { allocate(value0, value1, value2); } | ||
private native void allocate(@Cast("bool") boolean value0, @StdString BytePointer value1, @ByRef ByteVector value2); | ||
public BoolStringByteVectorTuple() { allocate(); } | ||
private native void allocate(); | ||
public native @Name("operator =") @ByRef BoolStringByteVectorTuple put(@ByRef BoolStringByteVectorTuple x); | ||
|
||
public @Cast("bool") boolean get0() { return get0(this); } | ||
@Namespace @Name("std::get<0>") public static native @Cast("bool") boolean get0(@ByRef BoolStringByteVectorTuple container); | ||
public @StdString BytePointer get1() { return get1(this); } | ||
@Namespace @Name("std::get<1>") public static native @StdString BytePointer get1(@ByRef BoolStringByteVectorTuple container); | ||
public @ByRef ByteVector get2() { return get2(this); } | ||
@Namespace @Name("std::get<2>") public static native @ByRef ByteVector get2(@ByRef BoolStringByteVectorTuple container); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.depthai; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import static org.bytedeco.javacpp.presets.javacpp.*; | ||
import static org.bytedeco.openblas.global.openblas_nolapack.*; | ||
import static org.bytedeco.openblas.global.openblas.*; | ||
import org.bytedeco.opencv.opencv_core.*; | ||
import static org.bytedeco.opencv.global.opencv_core.*; | ||
import org.bytedeco.opencv.opencv_imgproc.*; | ||
import static org.bytedeco.opencv.global.opencv_imgproc.*; | ||
|
||
import static org.bytedeco.depthai.global.depthai.*; | ||
|
||
@Name("std::vector<uint8_t>") @Properties(inherit = org.bytedeco.depthai.presets.depthai.class) | ||
public class ByteVector extends Pointer { | ||
static { Loader.load(); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public ByteVector(Pointer p) { super(p); } | ||
public ByteVector(byte value) { this(1); put(0, value); } | ||
public ByteVector(byte ... array) { this(array.length); put(array); } | ||
public ByteVector() { allocate(); } | ||
public ByteVector(long n) { allocate(n); } | ||
private native void allocate(); | ||
private native void allocate(@Cast("size_t") long n); | ||
public native @Name("operator =") @ByRef ByteVector put(@ByRef ByteVector x); | ||
|
||
public boolean empty() { return size() == 0; } | ||
public native long size(); | ||
public void clear() { resize(0); } | ||
public native void resize(@Cast("size_t") long n); | ||
|
||
@Index(function = "at") public native @Cast("uint8_t") byte get(@Cast("size_t") long i); | ||
public native ByteVector put(@Cast("size_t") long i, byte value); | ||
|
||
public native @ByVal Iterator insert(@ByVal Iterator pos, @Cast("uint8_t") byte value); | ||
public native @ByVal Iterator erase(@ByVal Iterator pos); | ||
public native @ByVal Iterator begin(); | ||
public native @ByVal Iterator end(); | ||
@NoOffset @Name("iterator") public static class Iterator extends Pointer { | ||
public Iterator(Pointer p) { super(p); } | ||
public Iterator() { } | ||
|
||
public native @Name("operator ++") @ByRef Iterator increment(); | ||
public native @Name("operator ==") boolean equals(@ByRef Iterator it); | ||
public native @Name("operator *") @Cast("uint8_t") byte get(); | ||
} | ||
|
||
public byte[] get() { | ||
byte[] array = new byte[size() < Integer.MAX_VALUE ? (int)size() : Integer.MAX_VALUE]; | ||
for (int i = 0; i < array.length; i++) { | ||
array[i] = get(i); | ||
} | ||
return array; | ||
} | ||
@Override public String toString() { | ||
return java.util.Arrays.toString(get()); | ||
} | ||
|
||
public byte pop_back() { | ||
long size = size(); | ||
byte value = get(size - 1); | ||
resize(size - 1); | ||
return value; | ||
} | ||
public ByteVector push_back(byte value) { | ||
long size = size(); | ||
resize(size + 1); | ||
return put(size, value); | ||
} | ||
public ByteVector put(byte value) { | ||
if (size() != 1) { resize(1); } | ||
return put(0, value); | ||
} | ||
public ByteVector put(byte ... array) { | ||
if (size() != array.length) { resize(array.length); } | ||
for (int i = 0; i < array.length; i++) { | ||
put(i, array[i]); | ||
} | ||
return this; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.