search for: quant_prob_alloc

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

2009 Jul 24
1
STATIC_MODES, fft and prob members
...Guys, I've just been looking into STATIC_MODES. My plan is to generate and store the modes as part of our sound banks when they are encoded. I have noticed that even with STATIC_MODES turned on, celt_mode_create still allocs and generates the fft and prob members (via pitch_state_alloc and quant_prob_alloc respectively). I also notice that in dump_modes.c, these two members are just set to 0 explicitly. Why aren't these two members part of the static mode? Would anything bad happen if I make them part of the static mode? I assume not because CELTMode is read-only right? Thanks for your help....
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...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 cc478a3..c952cbf 100644 --- a/libcelt/quant_bands.h +++ b/libcelt/quant_bands.h @@ -45,7 +45,7 @@ unsigned char *quant_prob_alloc(const CELTMode *m); void quant_prob_free(const celt_int16 *freq); void quant_coarse_energy(const CELTMode *m, int start, int end, int effEnd, - const celt_word16 *eBands, celt_word16 *oldEBands, ec_uint32 budget, + const celt_word16 *eBands, celt_word16 *oldEBands, celt_uint32 budget,...