44 lines
1.1 KiB
Java
44 lines
1.1 KiB
Java
package c.i.e.r.d;
|
|
|
|
import c.i.e.r.a;
|
|
import java.lang.reflect.Array;
|
|
/* compiled from: PDF417CodewordDecoder */
|
|
public final class i {
|
|
public static final float[][] a;
|
|
|
|
static {
|
|
int i;
|
|
int length = a.b.length;
|
|
int[] iArr = new int[2];
|
|
iArr[1] = 8;
|
|
iArr[0] = length;
|
|
a = (float[][]) Array.newInstance(float.class, iArr);
|
|
int i2 = 0;
|
|
while (true) {
|
|
int[] iArr2 = a.b;
|
|
if (i2 < iArr2.length) {
|
|
int i3 = iArr2[i2];
|
|
int i4 = i3 & 1;
|
|
int i5 = 0;
|
|
while (i5 < 8) {
|
|
float f = 0.0f;
|
|
while (true) {
|
|
i = i3 & 1;
|
|
if (i != i4) {
|
|
break;
|
|
}
|
|
f += 1.0f;
|
|
i3 >>= 1;
|
|
}
|
|
a[i2][(8 - i5) - 1] = f / 17.0f;
|
|
i5++;
|
|
i4 = i;
|
|
}
|
|
i2++;
|
|
} else {
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|