Searched refs:diff_Q15 (Results 1 – 2 of 2) sorted by relevance
/external/libopus/silk/ |
D | NLSF_VQ.c | 44 opus_int32 diff_Q15, sum_error_Q30, sum_error_Q26; in silk_NLSF_VQ() local 54 …diff_Q15 = silk_SUB_LSHIFT32( in_Q15[ m ], (opus_int32)*pCB_Q8++, 7 ); /* range: [ -32767 : 32767 … in silk_NLSF_VQ() 55 sum_error_Q30 = silk_SMULBB( diff_Q15, diff_Q15 ); in silk_NLSF_VQ() 58 …diff_Q15 = silk_SUB_LSHIFT32( in_Q15[m + 1], (opus_int32)*pCB_Q8++, 7 ); /* range: [ -32767 : 3276… in silk_NLSF_VQ() 59 sum_error_Q30 = silk_SMLABB( sum_error_Q30, diff_Q15, diff_Q15 ); in silk_NLSF_VQ()
|
D | NLSF_stabilize.c | 55 opus_int32 diff_Q15, min_diff_Q15, min_center_Q15, max_center_Q15; in silk_NLSF_stabilize() local 69 diff_Q15 = NLSF_Q15[i] - ( NLSF_Q15[i-1] + NDeltaMin_Q15[i] ); in silk_NLSF_stabilize() 70 if( diff_Q15 < min_diff_Q15 ) { in silk_NLSF_stabilize() 71 min_diff_Q15 = diff_Q15; in silk_NLSF_stabilize() 76 diff_Q15 = ( 1 << 15 ) - ( NLSF_Q15[L-1] + NDeltaMin_Q15[L] ); in silk_NLSF_stabilize() 77 if( diff_Q15 < min_diff_Q15 ) { in silk_NLSF_stabilize() 78 min_diff_Q15 = diff_Q15; in silk_NLSF_stabilize()
|