search for: renormalise_vector

Displaying 4 results from an estimated 4 matches for "renormalise_vector".

2011 Mar 02
1
[PATCH] Fix CNG when effEBands is less than nbEBands.
...>mode->eBands[i]<<LM); + blen = (st->mode->eBands[i+1]-st->mode->eBands[i])<<LM; + for (j=0;j<blen;j++) + { + seed = lcg_rand(seed); + X[boffs+j] = (celt_int32)(seed)>>20; + } + renormalise_vector(X+boffs, blen, Q15ONE); + } } st->rng = seed; - for (c=0;c<C;c++) - for (i=0;i<st->mode->nbEBands;i++) - renormalise_vector(X+N*c+(st->mode->eBands[i]<<LM), (st->mode->eBands[i+1]-st->mode->eBands[i])<<LM, Q1...
2011 Mar 02
1
Crash bug in CELT plc
...This gives me a mode where nbEBands is 21 and eBands[21] is 100 (the standard 2.5 ms short block ebands). This also gives me LM = 2, so what happens is eBands[nbEBands]<<LM is 400, whereas my framesize is only 320. This causes a stack overrun at line 1978 in celt.c in both calls to "renormalise_vector" and "denormalise_bands". It seems that the obvious solution for "denormalise_bands" is to call it with "st->mode->effEBands" instead of "st->mode->nbEBands", but I don't know what to do about the call to "renormalise_vector"...
2013 Sep 24
5
Problem compiling opus-tools-0.1.7
...ant': /home/peppermint/build/opus-1.1-beta/celt/vq.c:227: undefined reference to `floorf' /usr/local/lib/libopus.a(vq.o): In function `normalise_residual': /home/peppermint/build/opus-1.1-beta/celt/vq.c:126: undefined reference to `sqrtf' /usr/local/lib/libopus.a(vq.o): In function `renormalise_vector': /home/peppermint/build/opus-1.1-beta/celt/vq.c:366: undefined reference to `sqrtf' /usr/local/lib/libopus.a(vq.o): In function `stereo_itheta': /home/peppermint/build/opus-1.1-beta/celt/vq.c:411: undefined reference to `atan2' /home/peppermint/build/opus-1.1-beta/celt/vq.c:411: un...
2013 Sep 24
0
Problem compiling opus-tools-0.1.7
.../peppermint/build/opus-1.1-beta/celt/vq.c:227: undefined reference to `floorf' > /usr/local/lib/libopus.a(vq.o): In function `normalise_residual': > /home/peppermint/build/opus-1.1-beta/celt/vq.c:126: undefined reference to `sqrtf' > /usr/local/lib/libopus.a(vq.o): In function `renormalise_vector': > /home/peppermint/build/opus-1.1-beta/celt/vq.c:366: undefined reference to `sqrtf' > /usr/local/lib/libopus.a(vq.o): In function `stereo_itheta': > /home/peppermint/build/opus-1.1-beta/celt/vq.c:411: undefined reference to `atan2' > /home/peppermint/build/opus-1.1-be...