• Home
  • Raw
  • Download

Lines Matching refs:NSQ

41     silk_nsq_state      *NSQ,                   /* I/O  NSQ state                       */
54 silk_nsq_state *NSQ, /* I/O NSQ state */
75 …silk_nsq_state *NSQ, /* I/O NSQ state … in silk_NSQ_sse4_1() argument
106 NSQ->rand_seed = psIndices->Seed; in silk_NSQ_sse4_1()
109 lag = NSQ->lagPrev; in silk_NSQ_sse4_1()
111 silk_assert( NSQ->prev_gain_Q16 != 0 ); in silk_NSQ_sse4_1()
180 NSQ->sLTP_shp_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_sse4_1()
181 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_sse4_1()
182 pxq = &NSQ->xq[ psEncC->ltp_mem_length ]; in silk_NSQ_sse4_1()
193 NSQ->rewhite_flag = 0; in silk_NSQ_sse4_1()
204 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_sse4_1()
207 NSQ->rewhite_flag = 1; in silk_NSQ_sse4_1()
208 NSQ->sLTP_buf_idx = psEncC->ltp_mem_length; in silk_NSQ_sse4_1()
212 …silk_nsq_scale_states_sse4_1( psEncC, NSQ, x_Q3, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains… in silk_NSQ_sse4_1()
216 …silk_noise_shape_quantizer_10_16_sse4_1( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q… in silk_NSQ_sse4_1()
222 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ_sse4_1()
233 NSQ->lagPrev = pitchL[ psEncC->nb_subfr - 1 ]; in silk_NSQ_sse4_1()
237 …silk_memmove( NSQ->xq, &NSQ->xq[ psEncC->frame_length ], psEncC->ltp_mem_lengt… in silk_NSQ_sse4_1()
238 …silk_memmove( NSQ->sLTP_shp_Q14, &NSQ->sLTP_shp_Q14[ psEncC->frame_length ], psEncC->ltp_mem_lengt… in silk_NSQ_sse4_1()
246 silk_nsq_state *NSQ, /* I/O NSQ state */ in silk_noise_shape_quantizer_10_16_sse4_1() argument
283 shp_lag_ptr = &NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - lag + HARM_SHAPE_FIR_TAPS / 2 ]; in silk_noise_shape_quantizer_10_16_sse4_1()
284 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ]; in silk_noise_shape_quantizer_10_16_sse4_1()
288 psLPC_Q14 = &NSQ->sLPC_Q14[ NSQ_LPC_BUF_LENGTH - 1 ]; in silk_noise_shape_quantizer_10_16_sse4_1()
290 sLF_AR_shp_Q14 = NSQ->sLF_AR_shp_Q14; in silk_noise_shape_quantizer_10_16_sse4_1()
330 xmm_tempa = _mm_loadu_si128( (__m128i *)(&(NSQ->sAR2_Q14[ 0 ]) ) ); in silk_noise_shape_quantizer_10_16_sse4_1()
331 xmm_tempb = _mm_loadu_si128( (__m128i *)(&(NSQ->sAR2_Q14[ 4 ]) ) ); in silk_noise_shape_quantizer_10_16_sse4_1()
428 NSQ->sAR2_Q14[ 9 ] = NSQ->sAR2_Q14[ 8 ]; in silk_noise_shape_quantizer_10_16_sse4_1()
429NSQ->sAR2_Q14[ 8 ] = _mm_cvtsi128_si32( _mm_srli_si128(_mm_unpackhi_epi16( sAR2_Q14_lo_76543210, s… in silk_noise_shape_quantizer_10_16_sse4_1()
457 n_AR_Q12 = silk_SMLAWB( n_AR_Q12, NSQ->sAR2_Q14[ 8 ], AR_shp_Q13[ 8 ] ); in silk_noise_shape_quantizer_10_16_sse4_1()
458 n_AR_Q12 = silk_SMLAWB( n_AR_Q12, NSQ->sAR2_Q14[ 9 ], AR_shp_Q13[ 9 ] ); in silk_noise_shape_quantizer_10_16_sse4_1()
463 n_LF_Q12 = silk_SMULWB( NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx - 1 ], LF_shp_Q14 ); in silk_noise_shape_quantizer_10_16_sse4_1()
488 NSQ->rand_seed = silk_RAND( NSQ->rand_seed ); in silk_noise_shape_quantizer_10_16_sse4_1()
492 if ( NSQ->rand_seed < 0 ) r_Q10 = tmp2; in silk_noise_shape_quantizer_10_16_sse4_1()
514 if ( NSQ->rand_seed < 0 ) exc_Q14 = tmp2; in silk_noise_shape_quantizer_10_16_sse4_1()
525NSQ->sLTP_shp_Q14[ NSQ->sLTP_shp_buf_idx ] = silk_SUB_LSHIFT32( sLF_AR_shp_Q14, n_LF_Q12, 2 ); in silk_noise_shape_quantizer_10_16_sse4_1()
526 sLTP_Q15[ NSQ->sLTP_buf_idx ] = silk_LSHIFT( LPC_exc_Q14, 1 ); in silk_noise_shape_quantizer_10_16_sse4_1()
527 NSQ->sLTP_shp_buf_idx++; in silk_noise_shape_quantizer_10_16_sse4_1()
528 NSQ->sLTP_buf_idx++; in silk_noise_shape_quantizer_10_16_sse4_1()
531 NSQ->rand_seed = silk_ADD32_ovflw( NSQ->rand_seed, pulses[ i ] ); in silk_noise_shape_quantizer_10_16_sse4_1()
534 NSQ->sLF_AR_shp_Q14 = sLF_AR_shp_Q14; in silk_noise_shape_quantizer_10_16_sse4_1()
537 psLPC_Q14 = &NSQ->sLPC_Q14[ NSQ_LPC_BUF_LENGTH ]; in silk_noise_shape_quantizer_10_16_sse4_1()
542 _mm_storeu_si128( (__m128i *)(&NSQ->sAR2_Q14[ 4 ]), xmm_tempa ); in silk_noise_shape_quantizer_10_16_sse4_1()
543 _mm_storeu_si128( (__m128i *)(&NSQ->sAR2_Q14[ 0 ]), xmm_tempb ); in silk_noise_shape_quantizer_10_16_sse4_1()
600 … silk_memcpy( NSQ->sLPC_Q14, &NSQ->sLPC_Q14[ length ], NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) ); in silk_noise_shape_quantizer_10_16_sse4_1()
605 silk_nsq_state *NSQ, /* I/O NSQ state */ in silk_nsq_scale_states_sse4_1() argument
626 if( Gains_Q16[ subfr ] != NSQ->prev_gain_Q16 ) { in silk_nsq_scale_states_sse4_1()
627 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states_sse4_1()
660 NSQ->prev_gain_Q16 = Gains_Q16[ subfr ]; in silk_nsq_scale_states_sse4_1()
663 if( NSQ->rewhite_flag ) { in silk_nsq_scale_states_sse4_1()
668 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states_sse4_1()
682 … for( i = NSQ->sLTP_shp_buf_idx - psEncC->ltp_mem_length; i < NSQ->sLTP_shp_buf_idx - 3; i += 4 ) in silk_nsq_scale_states_sse4_1()
684 xmm_sLTP_shp_Q14_x2x0 = _mm_loadu_si128( (__m128i *)(&(NSQ->sLTP_shp_Q14[ i ] ) ) ); in silk_nsq_scale_states_sse4_1()
696 _mm_storeu_si128( (__m128i *)(&(NSQ->sLTP_shp_Q14[ i ] ) ), xmm_sLTP_shp_Q14_x2x0 ); in silk_nsq_scale_states_sse4_1()
699 for( ; i < NSQ->sLTP_shp_buf_idx; i++ ) { in silk_nsq_scale_states_sse4_1()
700 NSQ->sLTP_shp_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLTP_shp_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
704 if( signal_type == TYPE_VOICED && NSQ->rewhite_flag == 0 ) { in silk_nsq_scale_states_sse4_1()
705 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) { in silk_nsq_scale_states_sse4_1()
710 NSQ->sLF_AR_shp_Q14 = silk_SMULWW( gain_adj_Q16, NSQ->sLF_AR_shp_Q14 ); in silk_nsq_scale_states_sse4_1()
714 NSQ->sLPC_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sLPC_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()
717 NSQ->sAR2_Q14[ i ] = silk_SMULWW( gain_adj_Q16, NSQ->sAR2_Q14[ i ] ); in silk_nsq_scale_states_sse4_1()