Displaying 1 result from an estimated 1 matches for "qlp0".
Did you mean:
lp0
2005 Feb 02
0
two small-ish optimizations (death by a thousand cuts)
...asm.s
--
Eric Wong
--- orig/src/libFLAC/lpc.c
+++ mod/src/libFLAC/lpc.c
@@ -293,6 +293,209 @@
void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[])
{
+ register const FLAC__int32 *qlp0 = &qlp_coeff[(order-1)];
+ register FLAC__int32 sum;
+ register const FLAC__int32 *history, *qlp;
+
+ history = &data[(-order)];
+
+ switch (order) {
+ case 12:
+ for( ; data_len != 0; --data_len) {
+ sum = (qlp0[0] * history[0])
+ + (qlp0[-1] * history[1])
+ + (qlp0[-2] * hi...