This removes some pointless/dead code.
This commit is contained in:
parent
23340e2249
commit
b8a6b31205
3 changed files with 1 additions and 4 deletions
|
@ -1139,7 +1139,6 @@ static unsigned quant_band(int encode, const CELTMode *m, int i, celt_norm *X, c
|
||||||
haar1(X, N0>>k, 1<<k);
|
haar1(X, N0>>k, 1<<k);
|
||||||
}
|
}
|
||||||
B<<=recombine;
|
B<<=recombine;
|
||||||
N_B>>=recombine;
|
|
||||||
|
|
||||||
/* Scale output for later folding */
|
/* Scale output for later folding */
|
||||||
if (lowband_out)
|
if (lowband_out)
|
||||||
|
|
|
@ -1009,7 +1009,6 @@ int celt_encode_with_ec_float(CELTEncoder * restrict st, const celt_sig * pcm, i
|
||||||
VARDECL(celt_sig, _pre);
|
VARDECL(celt_sig, _pre);
|
||||||
celt_sig *pre[2];
|
celt_sig *pre[2];
|
||||||
SAVE_STACK;
|
SAVE_STACK;
|
||||||
c = 0;
|
|
||||||
ALLOC(_pre, CC*(N+COMBFILTER_MAXPERIOD), celt_sig);
|
ALLOC(_pre, CC*(N+COMBFILTER_MAXPERIOD), celt_sig);
|
||||||
|
|
||||||
pre[0] = _pre;
|
pre[0] = _pre;
|
||||||
|
|
|
@ -250,7 +250,7 @@ static const int second_check[16] = {0, 0, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3
|
||||||
celt_word16 remove_doubling(celt_word16 *x, int maxperiod, int minperiod,
|
celt_word16 remove_doubling(celt_word16 *x, int maxperiod, int minperiod,
|
||||||
int N, int *_T0, int prev_period, celt_word16 prev_gain)
|
int N, int *_T0, int prev_period, celt_word16 prev_gain)
|
||||||
{
|
{
|
||||||
int k, i, T, T0, k0;
|
int k, i, T, T0;
|
||||||
celt_word16 g, g0;
|
celt_word16 g, g0;
|
||||||
celt_word16 pg;
|
celt_word16 pg;
|
||||||
celt_word32 xy,xx,yy;
|
celt_word32 xy,xx,yy;
|
||||||
|
@ -291,7 +291,6 @@ celt_word16 remove_doubling(celt_word16 *x, int maxperiod, int minperiod,
|
||||||
#else
|
#else
|
||||||
g = g0 = xy/sqrt(1+xx*yy);
|
g = g0 = xy/sqrt(1+xx*yy);
|
||||||
#endif
|
#endif
|
||||||
k0 = 1;
|
|
||||||
/* Look for any pitch at T/k */
|
/* Look for any pitch at T/k */
|
||||||
for (k=2;k<=15;k++)
|
for (k=2;k<=15;k++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue