/external/libopus/silk/ |
D | CNG.c | 88 opus_int16 A_Q12[ MAX_LPC_ORDER ]; in silk_CNG() local 145 silk_NLSF2A( A_Q12, psCNG->CNG_smth_NLSF_Q15, psDec->LPC_order, psDec->arch ); in silk_CNG() 153 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 1 ], A_Q12[ 0 ] ); in silk_CNG() 154 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 2 ], A_Q12[ 1 ] ); in silk_CNG() 155 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 3 ], A_Q12[ 2 ] ); in silk_CNG() 156 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 4 ], A_Q12[ 3 ] ); in silk_CNG() 157 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 5 ], A_Q12[ 4 ] ); in silk_CNG() 158 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 6 ], A_Q12[ 5 ] ); in silk_CNG() 159 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 7 ], A_Q12[ 6 ] ); in silk_CNG() 160 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, CNG_sig_Q14[ MAX_LPC_ORDER + i - 8 ], A_Q12[ 7 ] ); in silk_CNG() [all …]
|
D | PLC.c | 209 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() 355 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 1 ], A_Q12[ 0 ] ); in silk_PLC_conceal() 356 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 2 ], A_Q12[ 1 ] ); in silk_PLC_conceal() 357 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 3 ], A_Q12[ 2 ] ); in silk_PLC_conceal() 358 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 4 ], A_Q12[ 3 ] ); in silk_PLC_conceal() 359 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 5 ], A_Q12[ 4 ] ); in silk_PLC_conceal() 360 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 6 ], A_Q12[ 5 ] ); in silk_PLC_conceal() 361 … LPC_pred_Q10 = silk_SMLAWB( LPC_pred_Q10, sLPC_Q14_ptr[ MAX_LPC_ORDER + i - 7 ], A_Q12[ 6 ] ); in silk_PLC_conceal() [all …]
|
D | LPC_inv_pred_gain.c | 123 …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()
|
D | decode_core.c | 47 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()
|
D | NSQ.c | 96 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() 149 … A_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()
|
D | SigProc_FIX.h | 149 …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
|
D | NSQ_del_dec.c | 137 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_del_dec_c() local 202 … A_Q12 = &PredCoef_Q12[ ( ( k >> 1 ) | ( 1 - LSF_interpolation_flag ) ) * MAX_LPC_ORDER ]; in silk_NSQ_del_dec_c() 256 … A_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/arm/ |
D | LPC_inv_pred_gain_arm.h | 35 …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
|
D | LPC_inv_pred_gain_neon_intr.c | 191 …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() 213 t2_s16x8 = vld1q_s16( A_Q12 + 16 ); in silk_LPC_inverse_pred_gain_neon() 242 A_Q12 += order - leftover; in silk_LPC_inverse_pred_gain_neon() 247 DC_resp += (opus_int32)A_Q12[ 5 ]; in silk_LPC_inverse_pred_gain_neon() 248 DC_resp += (opus_int32)A_Q12[ 4 ]; in silk_LPC_inverse_pred_gain_neon() 252 DC_resp += (opus_int32)A_Q12[ 3 ]; in silk_LPC_inverse_pred_gain_neon() [all …]
|
D | arm_silk_map.c | 55 …const opus_int16 *A_Q12, /* I Prediction coefficients, Q1…
|
D | NSQ_del_dec_neon_intr.c | 262 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_del_dec_neon() local 333 … A_Q12 = &PredCoef_Q12[ ( ( k >> 1 ) | ( 1 - LSF_interpolation_flag ) ) * MAX_LPC_ORDER ]; in silk_NSQ_del_dec_neon() 377 … A_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/tests/ |
D | test_unit_LPC_inv_pred_gain.c | 42 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/ |
D | find_pitch_lags_FIX.c | 53 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/ |
D | NSQ_sse4_1.c | 92 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() 205 … A_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()
|
D | NSQ_del_dec_sse4_1.c | 134 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13; in silk_NSQ_del_dec_sse4_1() local 199 … A_Q12 = &PredCoef_Q12[ ( ( k >> 1 ) | ( 1 - LSF_interpolation_flag ) ) * MAX_LPC_ORDER ]; in silk_NSQ_del_dec_sse4_1() 253 … A_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()
|