search for: smooth_coef_q16

Displaying 7 results from an estimated 7 matches for "smooth_coef_q16".

2016 Aug 26
2
[PATCH 9/9] Optimize silk_inner_prod_aligned_scale() for ARM NEON
...*/ opus_int32 mid_res_amp_Q0[], /* I/O Smoothed mid, residual norms */ opus_int length, /* I Number of samples */ - opus_int smooth_coef_Q16 /* I Smoothing coefficient */ + opus_int smooth_coef_Q16, /* I Smoothing coefficient */ + int arch /* I Architecture...
2017 Nov 20
4
Reg an issue with smoothing factor in VAD implementation
...y is doubled > here : comment by me > } else { > speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 15 ); > } > > /* square-root */ > speech_nrg = silk_SQRT_APPROX( speech_nrg ); > SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); > } > > /* Smoothing coefficient */ > smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( > (opus_int32)SA_Q15, SA_Q15 ) ); // step3: Update the smoothing factor based > on speech probability : comment by me > > if( psEncC->frame_length == 10 * psEncC->fs_kHz ) { > smooth_coef_Q16 >>= 1; > } > > Her...
2017 Nov 27
3
Reg an issue with smoothing factor in VAD implementation
...g = silk_LSHIFT_SAT32( speech_nrg, 16 ); // Energy is doubled here : comment by me } else { speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 15 ); } /* square-root */ speech_nrg = silk_SQRT_APPROX( speech_nrg ); SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); } /* Smoothing coefficient */ smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( (opus_int32)SA_Q15, SA_Q15 ) ); // step3: Update the smoothing factor based on speech probability : comment by me if( psEncC->frame_length == 10 * psEncC->fs_kHz ) { smooth_coef_Q16 >>= 1; } Here, in step1, Speech probability is...
2018 Feb 16
1
Reg an issue with smoothing factor in VAD implementation
...ached patch fixes the overflow problem? Koen, can you confirm the fix makes sense? Cheers, Jean-Marc On 11/27/2017 12:10 PM, Logan Stromberg wrote: > Sorry, long holiday weekend in America. > I can say with pretty high certainty that there is an overflow occurring > and it is flipping smooth_coef_Q16 to be negative when it probably > shouldn't be. I had originally thought it was only an issue where it was > overflowing the 15th bit but not the 16th, which might still preserve > the intended value for operations that ignore the sign bit (in cases > where the 16-bit value is store...
2017 Nov 27
0
Reg an issue with smoothing factor in VAD implementation
Sorry, long holiday weekend in America. I can say with pretty high certainty that there is an overflow occurring and it is flipping smooth_coef_Q16 to be negative when it probably shouldn't be. I had originally thought it was only an issue where it was overflowing the 15th bit but not the 16th, which might still preserve the intended value for operations that ignore the sign bit (in cases where the 16-bit value is stored in a 32-bit int wi...
2017 Nov 20
0
Reg an issue with smoothing factor in VAD implementation
...g = silk_LSHIFT_SAT32( speech_nrg, 16 ); // Energy is doubled here : comment by me } else { speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 15 ); } /* square-root */ speech_nrg = silk_SQRT_APPROX( speech_nrg ); SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); } /* Smoothing coefficient */ smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( (opus_int32)SA_Q15, SA_Q15 ) ); // step3: Update the smoothing factor based on speech probability : comment by me if( psEncC->frame_length == 10 * psEncC->fs_kHz ) { smooth_coef_Q16 >>= 1; } Here, in step1, Speech probability is...
2017 Nov 22
0
Reg an issue with smoothing factor in VAD implementation
...gt; } else { >> speech_nrg = silk_LSHIFT_SAT32( speech_nrg, 15 ); >> } >> >> /* square-root */ >> speech_nrg = silk_SQRT_APPROX( speech_nrg ); >> SA_Q15 = silk_SMULWB( 32768 + speech_nrg, SA_Q15 ); >> } >> >> /* Smoothing coefficient */ >> smooth_coef_Q16 = silk_SMULWB( VAD_SNR_SMOOTH_COEF_Q18, silk_SMULWB( >> (opus_int32)SA_Q15, SA_Q15 ) ); // step3: Update the smoothing factor based >> on speech probability : comment by me >> >> if( psEncC->frame_length == 10 * psEncC->fs_kHz ) { >> smooth_coef_Q16 >>= 1;...