Displaying 2 results from an estimated 2 matches for "innov_gain".
2004 Aug 06
1
fixed / floating point
I've noticed that the nb decoder uses floating point in several places
even when using FIXED_POINT. I don't have to deal with lost packets,
so I'm mainly interested in innov_gain and pgain in no transmission
mode (nb_celp.c around line 1272) and g and exci in vocoder mode
(around line 1557). Is there a reason that these places must use
floating point, or would it be possible to make them use fixed point?
-------------- next part --------------
A non-text attachment was...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...ze);
bw_lpc(k2, st->interp_qlpc, awk2, st->lpcSize);
bw_lpc(k3, st->interp_qlpc, awk3, st->lpcSize);
}
/* Make up a plausible excitation */
/* FIXME: THIS CAN BE IMPROVED */
/*if (pitch_gain>.95)
pitch_gain=.95;*/
{
float innov_gain=0;
innov_gain = compute_rms(st->innov, st->frameSize);
for (i=0;i<st->subframeSize;i++)
{
#if 0
exc[i] = pitch_gain * exc[i - st->last_pitch] +
fact*sqrt(1-pitch_gain)*st->innov[i+offset];
/*Just so it give the same lost packets as with if 0*/...