Skip to content
Snippets Groups Projects
Commit 6044907c authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes a SILK fixed-point encoder issue reported by Cliff Parris <cliff@espico.com>

parent e51a3f33
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ void silk_burg_modified(
tmp1 = silk_SMLAWW( tmp1, Atmp1, Atmp1 ); /* Q16 */
A_Q16[ k ] = -Atmp1;
}
*res_nrg = silk_SMLAWW( nrg, silk_SMMUL( FIND_LPC_COND_FAC, C0 ), -tmp1 ); /* Q( -rshifts ) */
*res_nrg = silk_SMLAWW( nrg, silk_SMMUL( SILK_FIX_CONST( FIND_LPC_COND_FAC, 32 ), C0 ), -tmp1 );/* Q( -rshifts ) */
*res_nrg_Q = -rshifts;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment