/external/libopus/silk/arm/ |
D | NSQ_del_dec_arm.h | 43 const opus_int32 Gains_Q16[MAX_NB_SUBFR], 51 LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, \ argument 56 AR_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, \ 74 const opus_int32 Gains_Q16[MAX_NB_SUBFR], 80 LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, \ argument 84 AR_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, \ 90 LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, \ argument 95 LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, \
|
D | NSQ_del_dec_neon_intr.c | 78 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ 229 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … in silk_NSQ_del_dec_neon() 245 …6, pulses_c, PredCoef_Q12, LTPCoef_Q14, AR_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, in silk_NSQ_del_dec_neon() 258 Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14 ); in silk_NSQ_del_dec_neon() 367 …copy_winner_state( psDelDec, decisionDelay, smpl_buf_idx, Winner_ind, Gains_Q16[ 1 ], 14, pulses, … in silk_NSQ_del_dec_neon() 385 LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionDelay ); in silk_NSQ_del_dec_neon() 389 … Gains_Q16[ k ], Lambda_Q10, offset_Q10, psEncC->subfr_length, subfr++, psEncC->shapingLPCOrder, in silk_NSQ_del_dec_neon() 409 Gain_Q10 = silk_RSHIFT32( Gains_Q16[ psEncC->nb_subfr - 1 ], 6 ); in silk_NSQ_del_dec_neon() 1014 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ in silk_nsq_del_dec_scale_states_neon() 1024 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_del_dec_scale_states_neon() [all …]
|
D | arm_silk_map.c | 76 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step …
|
/external/libopus/silk/x86/ |
D | main_sse.h | 100 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 109 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14, arch) \ 111 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14)) 127 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 134 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14, arch) \ 136 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14)) 154 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 163 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14, arch) \ 165 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14)) 181 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … [all …]
|
D | NSQ_sse4_1.c | 48 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ 85 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … in silk_NSQ_sse4_1() 212 …_sse4_1( psEncC, NSQ, x_Q3, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndic… in silk_NSQ_sse4_1() 217 … AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], in silk_NSQ_sse4_1() 223 …AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], Lambda_Q1… in silk_NSQ_sse4_1() 611 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ in silk_nsq_scale_states_sse4_1() 621 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_scale_states_sse4_1() 625 if( Gains_Q16[ subfr ] != NSQ->prev_gain_Q16 ) { in silk_nsq_scale_states_sse4_1() 626 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states_sse4_1() 659 NSQ->prev_gain_Q16 = Gains_Q16[ subfr ]; in silk_nsq_scale_states_sse4_1()
|
D | NSQ_del_dec_sse4_1.c | 76 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ 126 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … in silk_NSQ_del_dec_sse4_1() 241 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gains_Q16[ 1 ] ), 14 ) ); in silk_NSQ_del_dec_sse4_1() 261 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec_sse4_1() 265 … Gains_Q16[ k ], Lambda_Q10, offset_Q10, psEncC->subfr_length, subfr++, psEncC->shapingLPCOrder, in silk_NSQ_del_dec_sse4_1() 287 Gain_Q10 = silk_RSHIFT32( Gains_Q16[ psEncC->nb_subfr - 1 ], 6 ); in silk_NSQ_del_dec_sse4_1() 738 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ in silk_nsq_del_dec_scale_states_sse4_1() 750 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_del_dec_scale_states_sse4_1() 755 if( Gains_Q16[ subfr ] != NSQ->prev_gain_Q16 ) { in silk_nsq_del_dec_scale_states_sse4_1() 756 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states_sse4_1() [all …]
|
D | x86_silk_map.c | 82 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 130 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step …
|
/external/libopus/silk/fixed/ |
D | process_gains_FIX.c | 51 …psEncCtrl->Gains_Q16[ k ] = silk_SMLAWB( psEncCtrl->Gains_Q16[ k ], psEncCtrl->Gains_Q16[ k ], s_Q… in silk_process_gains_FIX() 73 gain = psEncCtrl->Gains_Q16[ k ]; in silk_process_gains_FIX() 81 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( gain, 8 ); /* Q16 */ in silk_process_gains_FIX() 85 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( gain, 16 ); /* Q16 */ in silk_process_gains_FIX() 90 …silk_memcpy( psEncCtrl->GainsUnq_Q16, psEncCtrl->Gains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_in… in silk_process_gains_FIX() 94 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, psEncCtrl->Gains_Q16, in silk_process_gains_FIX()
|
D | noise_shape_analysis_FIX.c | 295 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT_SAT32( tmp32, 16 - Qnrg ); in silk_noise_shape_analysis_FIX() 300 silk_assert( psEncCtrl->Gains_Q16[ k ] > 0 ); in silk_noise_shape_analysis_FIX() 301 if( psEncCtrl->Gains_Q16[ k ] < SILK_FIX_CONST( 0.25, 16 ) ) { in silk_noise_shape_analysis_FIX() 302 psEncCtrl->Gains_Q16[ k ] = silk_SMULWW( psEncCtrl->Gains_Q16[ k ], gain_mult_Q16 ); in silk_noise_shape_analysis_FIX() 304 …psEncCtrl->Gains_Q16[ k ] = silk_SMULWW( silk_RSHIFT_ROUND( psEncCtrl->Gains_Q16[ k ], 1 ), gain_m… in silk_noise_shape_analysis_FIX() 305 if ( psEncCtrl->Gains_Q16[ k ] >= ( silk_int32_MAX >> 1 ) ) { in silk_noise_shape_analysis_FIX() 306 psEncCtrl->Gains_Q16[ k ] = silk_int32_MAX; in silk_noise_shape_analysis_FIX() 308 psEncCtrl->Gains_Q16[ k ] = silk_LSHIFT32( psEncCtrl->Gains_Q16[ k ], 1 ); in silk_noise_shape_analysis_FIX() 311 silk_assert( psEncCtrl->Gains_Q16[ k ] > 0 ); in silk_noise_shape_analysis_FIX() 338 psEncCtrl->Gains_Q16[ k ] = silk_SMULWW( psEncCtrl->Gains_Q16[ k ], gain_mult_Q16 ); in silk_noise_shape_analysis_FIX() [all …]
|
D | encode_frame_FIX.c | 203 …sEncCtrl.Tilt_Q14, sEncCtrl.LF_shp_Q14, sEncCtrl.Gains_Q16, sEncCtrl.pitchL, sEncCtrl.Lambda_Q10, … in silk_encode_frame_FIX() 208 …sEncCtrl.Tilt_Q14, sEncCtrl.LF_shp_Q14, sEncCtrl.Gains_Q16, sEncCtrl.pitchL, sEncCtrl.Lambda_Q10, … in silk_encode_frame_FIX() 351 … sEncCtrl.Gains_Q16[ i ] = silk_LSHIFT_SAT32( silk_SMULWB( sEncCtrl.GainsUnq_Q16[ i ], tmp ), 8 ); in silk_encode_frame_FIX() 356 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, sEncCtrl.Gains_Q16, in silk_encode_frame_FIX() 414 … silk_memcpy( TempGains_Q16, psEncCtrl->Gains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_int32 ) ); in silk_LBRR_encode_FIX() 427 silk_gains_dequant( psEncCtrl->Gains_Q16, psIndices_LBRR->GainsIndices, in silk_LBRR_encode_FIX() 437 …psEncCtrl->Gains_Q16, psEncCtrl->pitchL, psEncCtrl->Lambda_Q10, psEncCtrl->LTP_scale_Q14, psEnc->s… in silk_LBRR_encode_FIX() 442 …psEncCtrl->Gains_Q16, psEncCtrl->pitchL, psEncCtrl->Lambda_Q10, psEncCtrl->LTP_scale_Q14, psEnc->s… in silk_LBRR_encode_FIX() 446 … silk_memcpy( psEncCtrl->Gains_Q16, TempGains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_int32 ) ); in silk_LBRR_encode_FIX()
|
D | find_pred_coefs_FIX.c | 55 min_gain_Q16 = silk_min( min_gain_Q16, psEncCtrl->Gains_Q16[ i ] ); in silk_find_pred_coefs_FIX() 59 silk_assert( psEncCtrl->Gains_Q16[ i ] > 0 ); in silk_find_pred_coefs_FIX() 61 invGains_Q16[ i ] = silk_DIV32_varQ( min_gain_Q16, psEncCtrl->Gains_Q16[ i ], 16 - 2 ); in silk_find_pred_coefs_FIX()
|
D | structs_FIX.h | 68 opus_int32 Gains_Q16[ MAX_NB_SUBFR ]; member
|
/external/libopus/silk/fixed/mips/ |
D | noise_shape_analysis_FIX_mipsr1.h | 202 …psEncCtrl->Gains_Q16[ k ] = (silk_LSHIFT32( silk_LIMIT( (tmp32), silk_RSHIFT32( silk_int32_MIN, (1… in silk_noise_shape_analysis_FIX() 208 silk_assert( psEncCtrl->Gains_Q16[ k ] >= 0 ); in silk_noise_shape_analysis_FIX() 209 …if ( silk_SMULWW( silk_RSHIFT_ROUND( psEncCtrl->Gains_Q16[ k ], 1 ), gain_mult_Q16 ) >= ( silk_int… in silk_noise_shape_analysis_FIX() 210 psEncCtrl->Gains_Q16[ k ] = silk_int32_MAX; in silk_noise_shape_analysis_FIX() 212 psEncCtrl->Gains_Q16[ k ] = silk_SMULWW( psEncCtrl->Gains_Q16[ k ], gain_mult_Q16 ); in silk_noise_shape_analysis_FIX() 252 psEncCtrl->Gains_Q16[ k ] = silk_SMULWW( psEncCtrl->Gains_Q16[ k ], gain_mult_Q16 ); in silk_noise_shape_analysis_FIX() 253 silk_assert( psEncCtrl->Gains_Q16[ k ] >= 0 ); in silk_noise_shape_analysis_FIX() 254 psEncCtrl->Gains_Q16[ k ] = silk_ADD_POS_SAT32( psEncCtrl->Gains_Q16[ k ], gain_add_Q16 ); in silk_noise_shape_analysis_FIX()
|
/external/libopus/silk/float/ |
D | wrappers_FLP.c | 107 opus_int32 Gains_Q16[ MAX_NB_SUBFR ]; in silk_NSQ_wrapper_FLP() local 147 Gains_Q16[ i ] = silk_float2int( psEncCtrl->Gains[ i ] * 65536.0f ); in silk_NSQ_wrapper_FLP() 148 silk_assert( Gains_Q16[ i ] > 0 ); in silk_NSQ_wrapper_FLP() 165 …AR_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, psEncCtrl->pitchL, Lambda_Q10, LTP_sca… in silk_NSQ_wrapper_FLP() 168 …AR_Q13, HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, psEncCtrl->pitchL, Lambda_Q10, LTP_sca… in silk_NSQ_wrapper_FLP()
|
D | encode_frame_FLP.c | 390 opus_int32 Gains_Q16[ MAX_NB_SUBFR ]; in silk_LBRR_encode_FLP() local 418 silk_gains_dequant( Gains_Q16, psIndices_LBRR->GainsIndices, in silk_LBRR_encode_FLP() 423 psEncCtrl->Gains[ k ] = Gains_Q16[ k ] * ( 1.0f / 65536.0f ); in silk_LBRR_encode_FLP()
|
/external/libopus/silk/ |
D | NSQ.c | 46 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ 89 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … in silk_NSQ_c() 156 …e_states( psEncC, NSQ, x16, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndic… in silk_NSQ_c() 159 …AR_shp_Q13, lag, HarmShapeFIRPacked_Q14, Tilt_Q14[ k ], LF_shp_Q14[ k ], Gains_Q16[ k ], Lambda_Q1… in silk_NSQ_c() 377 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ in silk_nsq_scale_states() 386 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_scale_states() 408 if( Gains_Q16[ subfr ] != NSQ->prev_gain_Q16 ) { in silk_nsq_scale_states() 409 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_scale_states() 435 NSQ->prev_gain_Q16 = Gains_Q16[ subfr ]; in silk_nsq_scale_states()
|
D | main.h | 261 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 269 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14, arch) \ argument 271 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14)) 287 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 295 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14, arch) \ argument 297 … HarmShapeGain_Q14, Tilt_Q14, LF_shp_Q14, Gains_Q16, pitchL, Lambda_Q10, LTP_scale_Q14))
|
D | decode_core.c | 106 Gain_Q10 = silk_RSHIFT( psDecCtrl->Gains_Q16[ k ], 6 ); in silk_decode_core() 107 inv_gain_Q31 = silk_INVERSE32_varQ( psDecCtrl->Gains_Q16[ k ], 47 ); in silk_decode_core() 110 if( psDecCtrl->Gains_Q16[ k ] != psDec->prev_gain_Q16 ) { in silk_decode_core() 111 gain_adj_Q16 = silk_DIV32_varQ( psDec->prev_gain_Q16, psDecCtrl->Gains_Q16[ k ], 16 ); in silk_decode_core() 123 psDec->prev_gain_Q16 = psDecCtrl->Gains_Q16[ k ]; in silk_decode_core()
|
D | NSQ_del_dec.c | 78 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ 129 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … in silk_NSQ_del_dec_c() 244 silk_SMULWW( psDD->Xq_Q14[ last_smple_idx ], Gains_Q16[ 1 ] ), 14 ) ); in silk_NSQ_del_dec_c() 264 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec_c() 268 … Gains_Q16[ k ], Lambda_Q10, offset_Q10, psEncC->subfr_length, subfr++, psEncC->shapingLPCOrder, in silk_NSQ_del_dec_c() 290 Gain_Q10 = silk_RSHIFT32( Gains_Q16[ psEncC->nb_subfr - 1 ], 6 ); in silk_NSQ_del_dec_c() 662 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ in silk_nsq_del_dec_scale_states() 673 inv_gain_Q31 = silk_INVERSE32_varQ( silk_max( Gains_Q16[ subfr ], 1 ), 47 ); in silk_nsq_del_dec_scale_states() 695 if( Gains_Q16[ subfr ] != NSQ->prev_gain_Q16 ) { in silk_nsq_del_dec_scale_states() 696 gain_adj_Q16 = silk_DIV32_varQ( NSQ->prev_gain_Q16, Gains_Q16[ subfr ], 16 ); in silk_nsq_del_dec_scale_states() [all …]
|
D | CNG.c | 109 if( psDecCtrl->Gains_Q16[ i ] > max_Gain_Q16 ) { in silk_CNG() 110 max_Gain_Q16 = psDecCtrl->Gains_Q16[ i ]; in silk_CNG() 120 …psCNG->CNG_smth_Gain_Q16 += silk_SMULWB( psDecCtrl->Gains_Q16[ i ] - psCNG->CNG_smth_Gain_Q16, CNG… in silk_CNG()
|
D | decode_parameters.c | 46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices, in silk_decode_parameters()
|
D | structs.h | 317 opus_int32 Gains_Q16[ MAX_NB_SUBFR ]; member
|
D | PLC.c | 164 …silk_memcpy( psPLC->prevGain_Q16, &psDecCtrl->Gains_Q16[ psDec->nb_subfr - 2 ], 2 * sizeof( opus_i… in silk_PLC_update()
|