ref: bab307bc1824b45e4bd9b3beb4df3a924d850196
parent: e55b64d9cee6bd064e4bb78a8223001807ae183e
author: lieff <[email protected]>
date: Thu Jan 11 17:15:27 EST 2018
typos
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
Here is rough benchmark measured with perf (i7-6700K, IO included, no CPU heat to address speedstep):
-| Vector | Hz | Samples| Sec | Clocktics | Clocktics per second | PSNR | Max diff |
+| Vector | Hz | Samples| Sec | Clockticks | Clockticks per second | PSNR | Max diff |
| ----------- | ----- | ------ | ------ | --------- | ------ | ------ | - |
|compl.bit | 48000 | 248832 | 5.184 | 25242198 | 4.869M | 124.22 | 1 |
|he_32khz.bit | 32000 | 172800 | 5.4 | 16148873 | 2.990M | 139.67 | 1 |
@@ -36,7 +36,7 @@
Keyj minimp3 benchmark/conformance test:
-| Vector | Hz | Samples| Sec | Clocktics | Clocktics per second | PSNR | Max diff |
+| Vector | Hz | Samples| Sec | Clockticks | Clockticks per second | PSNR | Max diff |
| ----------- | ----- | ------ | ------ | --------- | ------ | ----- | - |
|compl.bit | 48000 | 248832 | 5.184 | 31849373 | 6.143M | 71.50 | 41 |
|he_32khz.bit | 32000 | 172800 | 5.4 | 26302319 | 4.870M | 71.63 | 24 |
--- a/minimp3.h
+++ b/minimp3.h
@@ -384,7 +384,7 @@
{
ba = ba_code_tab[get_bits(bs, ba_bits)];
}
- sci->bitalloc[2*i+1] = sci->stereo_bands ? ba : 0;
+ sci->bitalloc[2*i + 1] = sci->stereo_bands ? ba : 0;
}
for (i = 0; i < 2 * sci->total_bands; i++)
@@ -1215,7 +1215,7 @@
if (have_simd()) for (; k < n; k += 4)
{
f4 t[4][8], *x;
- float * y = grbuf + k;
+ float *y = grbuf + k;
for (x = t[0], i = 0; i < 8; i++, x++)
{
@@ -1481,7 +1481,7 @@
#endif
for (i = 14; i >= 0; i--)
{
-#define LOAD(k) float w0 = *w++; float w1 = *w++; float * vz = &zlin[4*i-k*64]; float * vy = &zlin[4*i-(15-k)*64];
+#define LOAD(k) float w0 = *w++; float w1 = *w++; float * vz = &zlin[4*i - k*64]; float * vy = &zlin[4*i - (15 - k)*64];
#define S0(k) {int j; LOAD(k); for (j = 0; j < 4; j++) b[j] = vz[j] * w1 + vy[j] * w0, a[j] = vz[j] * w0 - vy[j] * w1;}
#define S1(k) {int j; LOAD(k); for (j = 0; j < 4; j++) b[j] += vz[j] * w1 + vy[j] * w0, a[j] += vz[j] * w0 - vy[j] * w1;}
#define S2(k) {int j; LOAD(k); for (j = 0; j < 4; j++) b[j] += vz[j] * w1 + vy[j] * w0, a[j] += vy[j] * w1 - vz[j] * w0;}