Lines Matching refs:rshifts
57 opus_int k, n, s, lz, rshifts, reached_max_gain; in silk_burg_modified_c() local
73 rshifts = 32 + 1 + N_BITS_HEAD_ROOM - lz; in silk_burg_modified_c()
74 if (rshifts > MAX_RSHIFTS) rshifts = MAX_RSHIFTS; in silk_burg_modified_c()
75 if (rshifts < MIN_RSHIFTS) rshifts = MIN_RSHIFTS; in silk_burg_modified_c()
77 if (rshifts > 0) { in silk_burg_modified_c()
78 C0 = (opus_int32)silk_RSHIFT64(C0_64, rshifts ); in silk_burg_modified_c()
80 C0 = silk_LSHIFT32((opus_int32)C0_64, -rshifts ); in silk_burg_modified_c()
85 if( rshifts > 0 ) { in silk_burg_modified_c()
90 … silk_inner_prod16_aligned_64( x_ptr, x_ptr + n, subfr_length - n, arch ), rshifts ); in silk_burg_modified_c()
105 C_first_row[ n - 1 ] += silk_LSHIFT32( xcorr[ n - 1 ], -rshifts ); in silk_burg_modified_c()
121 if( rshifts > -2 ) { in silk_burg_modified_c()
124 …x1 = -silk_LSHIFT32( (opus_int32)x_ptr[ n ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_c()
125 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], 16 - rshifts ); /* Q(16-rs… in silk_burg_modified_c()
135 …tmp1 = silk_LSHIFT32( -tmp1, 32 - QA - rshifts ); /* Q(16-rs… in silk_burg_modified_c()
136 …tmp2 = silk_LSHIFT32( -tmp2, 32 - QA - rshifts ); /* Q(16-rs… in silk_burg_modified_c()
145 …x1 = -silk_LSHIFT32( (opus_int32)x_ptr[ n ], -rshifts ); /* Q( -rsh… in silk_burg_modified_c()
146 …x2 = -silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n - 1 ], -rshifts ); /* Q( -rsh… in silk_burg_modified_c()
163 … silk_LSHIFT32( (opus_int32)x_ptr[ n - k ], -rshifts - 1 ) ); /* Q( -rshift ) */ in silk_burg_modified_c()
165 … silk_LSHIFT32( (opus_int32)x_ptr[ subfr_length - n + k - 1 ], -rshifts - 1 ) ); /* Q( -rshift ) */ in silk_burg_modified_c()
253 if( rshifts > 0 ) { in silk_burg_modified_c()
256 … C0 -= (opus_int32)silk_RSHIFT64( silk_inner_prod16_aligned_64( x_ptr, x_ptr, D, arch ), rshifts ); in silk_burg_modified_c()
261 C0 -= silk_LSHIFT32( silk_inner_prod_aligned( x_ptr, x_ptr, D, arch), -rshifts); in silk_burg_modified_c()
266 *res_nrg_Q = -rshifts; in silk_burg_modified_c()
278 *res_nrg_Q = -rshifts; in silk_burg_modified_c()