Home
last modified time | relevance | path

Searched refs:A_Q12 (Results 1 – 15 of 15) sorted by relevance

/external/libopus/silk/arm/
DLPC_inv_pred_gain_arm.h35 …const opus_int16 *A_Q12, /* I Prediction coefficients, Q12 [order] …
41 … define silk_LPC_inverse_pred_gain(A_Q12, order, arch) ((void)(arch), PRESUME_NEON(silk_LPC_inver… argument
48 extern opus_int32 (*const SILK_LPC_INVERSE_PRED_GAIN_IMPL[OPUS_ARCHMASK+1])(const opus_int16 *A_Q12
50 … define silk_LPC_inverse_pred_gain(A_Q12, order, arch) ((*SILK_LPC_INVERSE_PRED_GAIN_IMPL[(arch)&O… argument
53 # define silk_LPC_inverse_pred_gain(A_Q12, order, arch) ((void)(arch), silk_LPC_inverse_pred_gain… argument
DLPC_inv_pred_gain_neon_intr.c191 …const opus_int16 *A_Q12, /* I Prediction coefficients, Q12 [order] … in silk_LPC_inverse_pred_gain_neon() argument
196 const opus_int32 invGain_Q30_c = silk_LPC_inverse_pred_gain_c( A_Q12, order ); in silk_LPC_inverse_pred_gain_neon()
201 invGain_Q30 = silk_LPC_inverse_pred_gain_c( A_Q12, order ); in silk_LPC_inverse_pred_gain_neon()
211 t0_s16x8 = vld1q_s16( A_Q12 + 0 ); in silk_LPC_inverse_pred_gain_neon()
212 t1_s16x8 = vld1q_s16( A_Q12 + 8 ); in silk_LPC_inverse_pred_gain_neon()
214 t2_s16x8 = vld1q_s16( A_Q12 + 16 ); in silk_LPC_inverse_pred_gain_neon()
246 A_Q12 += order - leftover; in silk_LPC_inverse_pred_gain_neon()
251 DC_resp += (opus_int32)A_Q12[ 5 ]; in silk_LPC_inverse_pred_gain_neon()
252 DC_resp += (opus_int32)A_Q12[ 4 ]; in silk_LPC_inverse_pred_gain_neon()
253 Atmp_QA[ order - leftover + 5 ] = silk_LSHIFT32( (opus_int32)A_Q12[ 5 ], QA - 12 ); in silk_LPC_inverse_pred_gain_neon()
[all …]
Darm_silk_map.c55 …const opus_int16 *A_Q12, /* I Prediction coefficients, Q1…
DNSQ_del_dec_neon_intr.c262 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_del_dec_neon() local
333A_Q12 = &PredCoef_Q12[ ( ( k >> 1 ) | ( 1 - LSF_interpolation_flag ) ) * MAX_LPC_ORDER ]; in silk_NSQ_del_dec_neon()
377A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_neon()
388 …delayedGain_Q10, A_Q12, B_Q14, AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[… in silk_NSQ_del_dec_neon()
/external/libopus/silk/
DCNG.c88 opus_int16 A_Q12[ MAX_LPC_ORDER ]; in silk_CNG() local
149 silk_NLSF2A( A_Q12, psCNG->CNG_smth_NLSF_Q15, psDec->LPC_order, psDec->arch ); in silk_CNG()
157 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 1 ], A_Q12[ 0 ] ); in silk_CNG()
158 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 2 ], A_Q12[ 1 ] ); in silk_CNG()
159 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 3 ], A_Q12[ 2 ] ); in silk_CNG()
160 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 4 ], A_Q12[ 3 ] ); in silk_CNG()
161 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 5 ], A_Q12[ 4 ] ); in silk_CNG()
162 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 6 ], A_Q12[ 5 ] ); in silk_CNG()
163 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 7 ], A_Q12[ 6 ] ); in silk_CNG()
164 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 8 ], A_Q12[ 7 ] ); in silk_CNG()
[all …]
DPLC.c209 opus_int16 A_Q12[ MAX_LPC_ORDER ]; in silk_PLC_conceal() local
261 silk_memcpy( A_Q12, psPLC->prevLPC_Q12, psDec->LPC_order * sizeof( opus_int16 ) ); in silk_PLC_conceal()
295 …silk_LPC_analysis_filter( &sLTP[ idx ], &psDec->outBuf[ idx ], A_Q12, psDec->ltp_mem_length - idx,… in silk_PLC_conceal()
353 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 1 ], A_Q12[ 0 ] ); in silk_PLC_conceal()
354 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 2 ], A_Q12[ 1 ] ); in silk_PLC_conceal()
355 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 3 ], A_Q12[ 2 ] ); in silk_PLC_conceal()
356 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 4 ], A_Q12[ 3 ] ); in silk_PLC_conceal()
357 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 5 ], A_Q12[ 4 ] ); in silk_PLC_conceal()
358 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 6 ], A_Q12[ 5 ] ); in silk_PLC_conceal()
359 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 7 ], A_Q12[ 6 ] ); in silk_PLC_conceal()
[all …]
DLPC_inv_pred_gain.c123 …const opus_int16 *A_Q12, /* I Prediction coefficients, Q12 [order] … in silk_LPC_inverse_pred_gain_c() argument
133 DC_resp += (opus_int32)A_Q12[ k ]; in silk_LPC_inverse_pred_gain_c()
134 Atmp_QA[ k ] = silk_LSHIFT32( (opus_int32)A_Q12[ k ], QA - 12 ); in silk_LPC_inverse_pred_gain_c()
Ddecode_core.c47 opus_int16 *A_Q12, *B_Q14, *pxq, A_Q12_tmp[ MAX_LPC_ORDER ]; in silk_decode_core() local
99 A_Q12 = psDecCtrl->PredCoef_Q12[ k >> 1 ]; in silk_decode_core()
102 silk_memcpy( A_Q12_tmp, A_Q12, psDec->LPC_order * sizeof( opus_int16 ) ); in silk_decode_core()
151 A_Q12, psDec->ltp_mem_length - start_idx, psDec->LPC_order, arch ); in silk_decode_core()
DNSQ.c96 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_c() local
128 A_Q12 = &PredCoef_Q12[ (( k >> 1 ) | ( 1 - LSF_interpolation_flag )) * MAX_LPC_ORDER ]; in silk_NSQ_c()
149A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_c()
158 …k_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_Q14, in silk_NSQ_c()
DSigProc_FIX.h149 …const opus_int16 *A_Q12, /* I Prediction coefficients, Q12 [order] …
167 #define silk_LPC_inverse_pred_gain(A_Q12, order, arch) ((void)(arch), silk_LPC_inverse_pred_gai… argument
DNSQ_del_dec.c137 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_del_dec_c() local
202A_Q12 = &PredCoef_Q12[ ( ( k >> 1 ) | ( 1 - LSF_interpolation_flag ) ) * MAX_LPC_ORDER ]; in silk_NSQ_del_dec_c()
256A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_c()
267 …delayedGain_Q10, A_Q12, B_Q14, AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[… in silk_NSQ_del_dec_c()
/external/libopus/silk/tests/
Dtest_unit_LPC_inv_pred_gain.c42 int check_stability(opus_int16 *A_Q12, int order) { in check_stability() argument
48 sum_a += A_Q12[ j ]; in check_stability()
49 sum_abs_a += silk_abs( A_Q12[ j ] ); in check_stability()
65 sum += y[ j ]*A_Q12[ j ]; in check_stability()
106 opus_int16 A_Q12[ SILK_MAX_ORDER_LPC ]; in main() local
112 A_Q12[i] = ((opus_int16)rand()) >> shift; in main()
114 gain = silk_LPC_inverse_pred_gain(A_Q12, order, arch); in main()
117 if( gain != 0 && !check_stability(A_Q12, order) ) { in main()
/external/libopus/silk/fixed/
Dfind_pitch_lags_FIX.c53 opus_int16 A_Q12[ MAX_FIND_PITCH_LPC_ORDER ]; in silk_find_pitch_lags_FIX() local
104 A_Q12[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT( A_Q24[ i ], 12 ) ); in silk_find_pitch_lags_FIX()
108 …silk_bwexpander( A_Q12, psEnc->sCmn.pitchEstimationLPCOrder, SILK_FIX_CONST( FIND_PITCH_BANDWIDTH_… in silk_find_pitch_lags_FIX()
113 …silk_LPC_analysis_filter( res, x, A_Q12, buf_len, psEnc->sCmn.pitchEstimationLPCOrder, psEnc->sCmn… in silk_find_pitch_lags_FIX()
/external/libopus/silk/x86/
DNSQ_sse4_1.c92 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_sse4_1() local
184 A_Q12 = &PredCoef_Q12[ (( k >> 1 ) | ( 1 - LSF_interpolation_flag )) * MAX_LPC_ORDER ]; in silk_NSQ_sse4_1()
205A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_sse4_1()
216 …_quantizer_10_16_sse4_1( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_Q14, in silk_NSQ_sse4_1()
222 …k_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_Q14, in silk_NSQ_sse4_1()
DNSQ_del_dec_sse4_1.c134 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_del_dec_sse4_1() local
199A_Q12 = &PredCoef_Q12[ ( ( k >> 1 ) | ( 1 - LSF_interpolation_flag ) ) * MAX_LPC_ORDER ]; in silk_NSQ_del_dec_sse4_1()
253A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_sse4_1()
264 …delayedGain_Q10, A_Q12, B_Q14, AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[… in silk_NSQ_del_dec_sse4_1()