search for: ol_pitch_coef

Displaying 2 results from an estimated 2 matches for "ol_pitch_coef".

2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...te) { EncState *st=(EncState *)state; /* Free all allocated memory */ vbr_destroy(st->vbr); /*Free state memory... should be last*/ speex_free(st); } int nb_encode(void *state, void *vin, SpeexBits *bits) { EncState *st; int i, sub, roots; int ol_pitch; spx_word16_t ol_pitch_coef; spx_word32_t ol_gain; VARDECL(spx_sig_t *res); VARDECL(spx_sig_t *target); VARDECL(spx_mem_t *mem); char *stack; VARDECL(spx_word16_t *syn_resp); VARDECL(spx_sig_t *real_exc); #ifdef EPIC_48K int pitch_half[2]; int ol_pitch_id=0; #endif spx_word16_t *in = vin; st=...
2005 Dec 12
2
More floating point errors
Hi! It seems that using a different compiler (I assume the development is done with MSC) uncovers various issues with the floating point. Here is the second one I'm seeing - DOMAIN error from sqrt(). In the open_loop_nbest_pitch(), this line: g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start]) ),6)); The values are: e0 is 7.2 i is 142, start is 17