26 #define SAMPLE_SIZE 16
37 #define SAMPLE_SIZE 32
47 int pred_order,
int qlevel,
int len)
51 for (i = pred_order; i < len - 1; i += 2, decoded += 2) {
55 for (j = 1; j < pred_order; j++) {
62 d = decoded[j] += s0 >> qlevel;
64 decoded[j + 1] +=
s1 >> qlevel;
68 for (j = 0; j < pred_order; j++)
69 sum += coeffs[j] * decoded[j];
70 decoded[j] += sum >> qlevel;
75 int pred_order,
int qlevel,
int len)
79 for (i = pred_order; i <
len; i++, decoded++) {
81 for (j = 0; j < pred_order; j++)
82 sum += (int64_t)coeffs[j] * decoded[j];
83 decoded[j] += sum >> qlevel;