Displaying 2 results from an estimated 2 matches for "abr_drift".
2006 Jun 01
1
Fixed-point version
...oat constants, like .00001 or 0.05, to express
them in fixed-point should I just scale them with the appropriate
constants from arch.h?
2) If so, which scaling should I use? Taking a very specific example,
how should I change to fixed-point the expression below?
qual_change = -.00001*st->abr_drift/(1+st->abr_count);
For example, when calculating LSPs I think I should use LSP_SCALING.
But in the case above, which scaling must I use? The float constant
is -1e-5, a very small value to be represented in fixed-point using a
16 bit value, effectively yielding a zero if I just multiply it...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...spx_word32_t));
st->pitch = speex_alloc((st->nbSubframes)*sizeof(int));
st->vbr = speex_alloc(sizeof(VBRState));
vbr_init(st->vbr);
st->vbr_quality = 8;
st->vbr_enabled = 0;
st->vad_enabled = 0;
st->dtx_enabled = 0;
st->abr_enabled = 0;
st->abr_drift = 0;
st->plc_tuning = 2;
st->complexity=2;
st->sampling_rate=8000;
st->dtx_count=0;
#ifdef ENABLE_VALGRIND
VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st));
#endif
return st;
}
void nb_encoder_destroy(void *state)
{
EncState *st=(EncState *)state;
/* Free...