Displaying 1 result from an estimated 1 matches for "log2amp".
Did you mean:
jogamp
2011 Mar 02
1
[PATCH] Fix CNG when effEBands is less than nbEBands.
...fprintf(stderr,"pitch_index: %4i gain %0.2f tapset: %i\n",pitch_index,gain1,prefilter_tapset);
gain1 = QCONST16(0.09375f,15)*(qg+1);
pf_on = 1;
}
@@ -1967,17 +1968,26 @@ static void celt_decode_lost(CELTDecoder * restrict st, celt_word16 * restrict p
log2Amp(st->mode, st->start, st->end, bandE, backgroundLogE, C);
seed = st->rng;
- for (i=0;i<C*N;i++)
+ for (c=0;c<C;c++)
{
- seed = lcg_rand(seed);
- X[i] = (celt_int32)(seed)>>20;
+ for (i=0;i<st->mode->effEBands;i+...