Build AsminVoicechat / prepare-release (push) Successful in 14s
Build AsminVoicechat / build-and-test (17) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (18) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (19) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (20) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (21) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (22) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (23) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (24) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (25) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (26) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (27-ea) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (16) (push) Canceled after 38s
39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package de.maxhenkel.voicechat.concentus;
|
|
|
|
import de.maxhenkel.voicechat.concentus.Arrays;
|
|
|
|
class StereoEncodeState {
|
|
final short[] pred_prev_Q13 = new short[2];
|
|
final short[] sMid = new short[2];
|
|
final short[] sSide = new short[2];
|
|
final int[] mid_side_amp_Q0 = new int[4];
|
|
short smth_width_Q14 = 0;
|
|
short width_prev_Q14 = 0;
|
|
short silent_side_len = 0;
|
|
final byte[][][] predIx = Arrays.InitThreeDimensionalArrayByte(3, 2, 3);
|
|
final byte[] mid_only_flags = new byte[3];
|
|
|
|
StereoEncodeState() {
|
|
}
|
|
|
|
void Reset() {
|
|
Arrays.MemSet(this.pred_prev_Q13, (short)0, 2);
|
|
Arrays.MemSet(this.sMid, (short)0, 2);
|
|
Arrays.MemSet(this.sSide, (short)0, 2);
|
|
Arrays.MemSet(this.mid_side_amp_Q0, 0, 4);
|
|
this.smth_width_Q14 = 0;
|
|
this.width_prev_Q14 = 0;
|
|
this.silent_side_len = 0;
|
|
for (int x = 0; x < 3; ++x) {
|
|
for (int y = 0; y < 2; ++y) {
|
|
Arrays.MemSet(this.predIx[x][y], (byte)0, 3);
|
|
}
|
|
}
|
|
Arrays.MemSet(this.mid_only_flags, (byte)0, 3);
|
|
}
|
|
}
|
|
|