public class Baum
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Baum.Result |
Constructor and Description |
---|
Baum(int did,
int iw,
int ih) |
Modifier and Type | Method and Description |
---|---|
static boolean |
bb2bgrimg(java.awt.image.BufferedImage image,
java.nio.ByteBuffer bb) |
static boolean |
bgrimg2bb(java.nio.ByteBuffer bb,
java.awt.image.BufferedImage image) |
void |
createPlan(java.lang.String path,
Baum.Result result,
java.nio.ByteBuffer img,
int iw,
int ih) |
void |
createPlan(java.lang.String path,
Baum.Result result,
java.nio.ByteBuffer img,
int iw,
int ih,
int ws) |
Baum.Result |
createResult(int z) |
void |
dispose() |
int |
enqueueTask(Baum.Result result,
java.nio.ByteBuffer img,
int iw,
int ih) |
int |
enqueueTask(Baum.Result result,
java.nio.ByteBuffer img,
int iw,
int ih,
int ws) |
void |
free(java.nio.ByteBuffer bb) |
java.lang.String |
getDeviceName() |
static java.lang.String |
getDeviceName(int did) |
int |
loadPlan(java.lang.String path) |
java.nio.ByteBuffer |
malloc(long z) |
int |
poll(boolean waitFlag) |
int |
queueLen() |
public Baum.Result createResult(int z)
public void dispose()
public int enqueueTask(Baum.Result result, java.nio.ByteBuffer img, int iw, int ih, int ws)
public int enqueueTask(Baum.Result result, java.nio.ByteBuffer img, int iw, int ih)
public int poll(boolean waitFlag)
public int queueLen()
public void createPlan(java.lang.String path, Baum.Result result, java.nio.ByteBuffer img, int iw, int ih, int ws)
public void createPlan(java.lang.String path, Baum.Result result, java.nio.ByteBuffer img, int iw, int ih)
public int loadPlan(java.lang.String path)
public java.lang.String getDeviceName()
public static java.lang.String getDeviceName(int did)
public java.nio.ByteBuffer malloc(long z)
public void free(java.nio.ByteBuffer bb)
public static boolean bb2bgrimg(java.awt.image.BufferedImage image, java.nio.ByteBuffer bb)
public static boolean bgrimg2bb(java.nio.ByteBuffer bb, java.awt.image.BufferedImage image)