Displaying 2 results from an estimated 2 matches for "tonal_averag".
Did you mean:
tonal_average
2010 Jan 27
1
Some additions to CELT_RESET_STATE for 0.7.1
...'ve been kind of lax lately and have only
now tried to reconcile it with the state structures in the 0.7.1 drop. I
think (and feel free to contradict me here) that the following lines
should be added to CELT_RESET_STATE in celt_encoder_ctl:
st->fold_decision = 1;
st->tonal_average = QCONST16(1.,8);
st->gain_prod = 0;
st->vbr_reservoir = 0;
st->vbr_drift = 0;
st->vbr_offset = 0;
st->vbr_count = 0;
st->xmem = 0;
CELT_MEMSET(st->pitch_buf, 0, (MAX_PERIOD>>1)+2);
and the following lines s...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...ccab29d..47697c0 100644
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -113,7 +113,7 @@ struct CELTEncoder {
/* Everything beyond this point gets cleared on a reset */
#define ENCODER_RESET_START rng
- ec_uint32 rng;
+ celt_uint32 rng;
int spread_decision;
int delayedIntra;
int tonal_average;
@@ -687,8 +687,8 @@ static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM,
int tf_select_rsv;
int tf_changed;
int logp;
- ec_uint32 budget;
- ec_uint32 tell;
+ celt_uint32 budget;
+ celt_uint32 tell;
budget = enc->storage*8;
tell = ec_tell(e...