search for: remaining_bits

Displaying 3 results from an estimated 3 matches for "remaining_bits".

2010 Jul 06
3
V0.8.0 Problems
Tim, et al, I have run into several problems with V0.8.0. I will address them seperately. 1. My compiler is complaining about the following code in celt.c which seems to define metric first as celt_word32, then as celt_word16. Am I mis-interpreting something? ?? VARDECL(celt_word32, metric); ?? ALLOC(metric, len, celt_word16); Thx MikeH -------------- next part -------------- An HTML attachment
2009 Jan 14
0
[PATCH] Moved the application of the pitch gain to (un)quant_bands(). This doesn't change anything to the codec, but will make the next changes easier.
..., int total_bits, ec_enc *enc) +void quant_bands(const CELTMode *m, celt_norm_t * restrict X, celt_norm_t *P, celt_mask_t *W, int pitch_used, celt_pgain_t *pgains, const celt_ener_t *bandE, const int *stereo_mode, int *pulses, int shortBlocks, int fold, int total_bits, ec_enc *enc) { int i, j, remaining_bits, balance; const celt_int16_t * restrict eBands = m->eBands; celt_norm_t * restrict norm; VARDECL(celt_norm_t, _norm); const int C = CHANNELS(m); + const celt_int16_t *pBands = m->pBands; + int pband=-1; int B; SAVE_STACK; @@ -414,6 +399,15 @@ void quant_bands(con...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...ead, int dual_stereo, int intensity, int *tf_res, int resynth, - celt_int32 total_bits, celt_int32 balance, ec_ctx *ec, int LM, int codedBands, ec_uint32 *seed) + celt_int32 total_bits, celt_int32 balance, ec_ctx *ec, int LM, int codedBands, celt_uint32 *seed) { int i; celt_int32 remaining_bits; diff --git a/libcelt/bands.h b/libcelt/bands.h index d0fcf1b..d3d3dc8 100644 --- a/libcelt/bands.h +++ b/libcelt/bands.h @@ -84,7 +84,7 @@ void haar1(celt_norm *X, int N0, int stride); void quant_all_bands(int encode, const CELTMode *m, int start, int end, celt_norm * X, celt_norm * Y, uns...