comparison g726.c @ 7056:0c65c19e5aaa libavcodec

Do not inline g726_iterate() the function is big so its inlining will not help speedwise IMHO. .o size changes from 70k -> 49k
author michael
date Tue, 17 Jun 2008 00:09:42 +0000
parents d634343b7917
children 2de55b561147
comparison
equal deleted inserted replaced
7055:d634343b7917 7056:0c65c19e5aaa
181 dex = (dql>>7) & 0xf; /* 4bit exponent */ 181 dex = (dql>>7) & 0xf; /* 4bit exponent */
182 dqt = (1<<7) + (dql & 0x7f); /* log2 -> linear */ 182 dqt = (1<<7) + (dql & 0x7f); /* log2 -> linear */
183 return (dql < 0) ? 0 : ((dqt<<7) >> (14-dex)); 183 return (dql < 0) ? 0 : ((dqt<<7) >> (14-dex));
184 } 184 }
185 185
186 static inline int16_t g726_iterate(G726Context* c, int16_t I) 186 static int16_t g726_iterate(G726Context* c, int16_t I)
187 { 187 {
188 int dq, re_signal, pk0, fa1, i, tr, ylint, ylfrac, thr2, al, dq0; 188 int dq, re_signal, pk0, fa1, i, tr, ylint, ylfrac, thr2, al, dq0;
189 Float11 f; 189 Float11 f;
190 190
191 dq = inverse_quant(c, I); 191 dq = inverse_quant(c, I);