34 lines
706 B
Java
34 lines
706 B
Java
package net.sourceforge.zbar;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public class ImageScanner {
|
|
public long peer = create();
|
|
|
|
public static native void init();
|
|
|
|
public native long create();
|
|
|
|
public native void destroy(long j);
|
|
|
|
public native long getResults(long j);
|
|
|
|
public native int scanImage(Image image);
|
|
|
|
public native void setConfig(int i, int i2, int i3) throws IllegalArgumentException;
|
|
|
|
protected void finalize() {
|
|
synchronized (this) {
|
|
long j = this.peer;
|
|
if (j != 0) {
|
|
destroy(j);
|
|
this.peer = 0L;
|
|
}
|
|
}
|
|
}
|
|
|
|
static {
|
|
System.loadLibrary("s4515e");
|
|
init();
|
|
}
|
|
}
|