search for: bitres

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

Did you mean: bites
2011 Mar 01
1
Possible bug in CELT's VBR code
Hi guys, It looks to me like line 955 in celt.c should be: effectiveBytes = vbr_rate>>(3+BITRES); otherwise it seems like "effectiveBytes" is 8 times larger than it should be (at least if it's really meant to be bytes). Cheers, John Ridges
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...st->analysis.tonality, tf_estimate, st->stereo_saving, tot_boost, coded_bands);*/ #ifndef DISABLE_FLOAT_API - if (analysis->valid && analysis->activity<.4) + if (analysis->valid && analysis->activity<.4f) target -= (opus_int32)((coded_bins<<BITRES)*(.4f-analysis->activity)); #endif /* Stereo savings */ @@ -1666,7 +1666,7 @@ int celt_encode_with_ec(CELTEncoder * OP prefilter_tapset = st->tapset_decision; pf_on = run_prefilter(st, in, prefilter_mem, CC, N, prefilter_tapset, &pitch_index, &gain1, &qg, enab...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...is){ _this->offs=_this->end_offs=0; } -static inline ec_uint32 ec_range_bytes(ec_ctx *_this){ +static inline celt_uint32 ec_range_bytes(ec_ctx *_this){ return _this->offs; } @@ -125,6 +123,6 @@ static inline int ec_tell(ec_ctx *_this){ Return: The number of bits scaled by 2**BITRES. This will always be slightly larger than the exact value (e.g., all rounding error is in the positive direction).*/ -ec_uint32 ec_tell_frac(ec_ctx *_this); +celt_uint32 ec_tell_frac(ec_ctx *_this); #endif diff --git a/libcelt/entdec.c b/libcelt/entdec.c index f5676c6..8b4...