search for: unquant_coarse_energy

Displaying 2 results from an estimated 2 matches for "unquant_coarse_energy".

Did you mean: quant_coarse_energy
2009 Dec 02
1
bug found in CELT 0.6.1, fix proposed.
...served when encoding 48kHz at 60kbs using the following parameters: <rate> 48000 <channels> 1 <frame size> 1024 <bytes per packet> 160 At these settings nbEBands = 25. However the eMeans[] array as defined in the top of quant_bands.c and used in quant_coarse_energy() and unquant_coarse_energy() has only 24 members. Using the settings above, the code illegally reads the 25th member from random memory. If this memory is 0 as in the x86 implementations tested then there is no problem, but on MIPS it is not zero. In case its is of use to anyone, I have included the contents of a patch fi...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...int end, int effEnd, { ec_enc enc_intra_state; int tell_intra; - ec_uint32 nstart_bytes; - ec_uint32 nintra_bytes; + celt_uint32 nstart_bytes; + celt_uint32 nintra_bytes; int badness2; VARDECL(unsigned char, intra_bits); @@ -421,8 +421,8 @@ void unquant_coarse_energy(const CELTMode *m, int start, int end, celt_word16 *o celt_word16 coef; celt_word16 beta; const int C = CHANNELS(_C); - ec_int32 budget; - ec_int32 tell; + celt_int32 budget; + celt_int32 tell; if (intra) diff --git a/libcelt/quant_bands.h b/libcelt/quant_bands.h index c...