/external/libopus/silk/ |
D | enc_API.c | 76 silk_encoder *psEnc; in silk_InitEncoder() local 79 psEnc = (silk_encoder *)encState; in silk_InitEncoder() 82 silk_memset( psEnc, 0, sizeof( silk_encoder ) ); in silk_InitEncoder() 84 if( ret += silk_init_encoder( &psEnc->state_Fxx[ n ], arch ) ) { in silk_InitEncoder() 89 psEnc->nChannelsAPI = 1; in silk_InitEncoder() 90 psEnc->nChannelsInternal = 1; in silk_InitEncoder() 110 silk_encoder *psEnc = (silk_encoder *)encState; in silk_QueryEncoder() local 112 state_Fxx = psEnc->state_Fxx; in silk_QueryEncoder() 114 encStatus->nChannelsAPI = psEnc->nChannelsAPI; in silk_QueryEncoder() 115 encStatus->nChannelsInternal = psEnc->nChannelsInternal; in silk_QueryEncoder() [all …]
|
D | control_codec.c | 43 silk_encoder_state_Fxx *psEnc, /* I/O */ 48 silk_encoder_state_Fxx *psEnc, /* I/O */ 66 …silk_encoder_state_Fxx *psEnc, /* I/O Pointer to Silk en… in silk_control_encoder() argument 76 psEnc->sCmn.useDTX = encControl->useDTX; in silk_control_encoder() 77 psEnc->sCmn.useCBR = encControl->useCBR; in silk_control_encoder() 78 psEnc->sCmn.API_fs_Hz = encControl->API_sampleRate; in silk_control_encoder() 79 psEnc->sCmn.maxInternal_fs_Hz = encControl->maxInternalSampleRate; in silk_control_encoder() 80 psEnc->sCmn.minInternal_fs_Hz = encControl->minInternalSampleRate; in silk_control_encoder() 81 psEnc->sCmn.desiredInternal_fs_Hz = encControl->desiredInternalSampleRate; in silk_control_encoder() 82 psEnc->sCmn.useInBandFEC = encControl->useInBandFEC; in silk_control_encoder() [all …]
|
D | init_encoder.c | 43 …silk_encoder_state_Fxx *psEnc, /* I/O Pointer to Silk FI… in silk_init_encoder() argument 50 silk_memset( psEnc, 0, sizeof( silk_encoder_state_Fxx ) ); in silk_init_encoder() 52 psEnc->sCmn.arch = arch; in silk_init_encoder() 54 …psEnc->sCmn.variable_HP_smth1_Q15 = silk_LSHIFT( silk_lin2log( SILK_FIX_CONST( VARIABLE_HP_MIN_CUT… in silk_init_encoder() 55 psEnc->sCmn.variable_HP_smth2_Q15 = psEnc->sCmn.variable_HP_smth1_Q15; in silk_init_encoder() 58 psEnc->sCmn.first_frame_after_reset = 1; in silk_init_encoder() 61 ret += silk_VAD_Init( &psEnc->sCmn.sVAD ); in silk_init_encoder()
|
/external/libopus/silk/float/ |
D | encode_frame_FLP.c | 37 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 44 …silk_encoder_state_FLP *psEnc /* I/O Encoder state FLP … in silk_encode_do_VAD_FLP() argument 50 silk_VAD_GetSA_Q8( &psEnc->sCmn, psEnc->sCmn.inputBuf + 1 ); in silk_encode_do_VAD_FLP() 55 if( psEnc->sCmn.speech_activity_Q8 < SILK_FIX_CONST( SPEECH_ACTIVITY_DTX_THRES, 8 ) ) { in silk_encode_do_VAD_FLP() 56 psEnc->sCmn.indices.signalType = TYPE_NO_VOICE_ACTIVITY; in silk_encode_do_VAD_FLP() 57 psEnc->sCmn.noSpeechCounter++; in silk_encode_do_VAD_FLP() 58 if( psEnc->sCmn.noSpeechCounter < NB_SPEECH_FRAMES_BEFORE_DTX ) { in silk_encode_do_VAD_FLP() 59 psEnc->sCmn.inDTX = 0; in silk_encode_do_VAD_FLP() 60 … } else if( psEnc->sCmn.noSpeechCounter > MAX_CONSECUTIVE_DTX + NB_SPEECH_FRAMES_BEFORE_DTX ) { in silk_encode_do_VAD_FLP() 61 psEnc->sCmn.noSpeechCounter = NB_SPEECH_FRAMES_BEFORE_DTX; in silk_encode_do_VAD_FLP() [all …]
|
D | find_pitch_lags_FLP.c | 37 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_find_pitch_lags_FLP() argument 56 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FLP() 59 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); in silk_find_pitch_lags_FLP() 61 x_buf = x - psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FLP() 70 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; in silk_find_pitch_lags_FLP() 72 silk_apply_sine_window_FLP( Wsig_ptr, x_buf_ptr, 1, psEnc->sCmn.la_pitch ); in silk_find_pitch_lags_FLP() 75 Wsig_ptr += psEnc->sCmn.la_pitch; in silk_find_pitch_lags_FLP() 76 x_buf_ptr += psEnc->sCmn.la_pitch; in silk_find_pitch_lags_FLP() 77 …silk_memcpy( Wsig_ptr, x_buf_ptr, ( psEnc->sCmn.pitch_LPC_win_length - ( psEnc->sCmn.la_pitch << 1… in silk_find_pitch_lags_FLP() 80 Wsig_ptr += psEnc->sCmn.pitch_LPC_win_length - ( psEnc->sCmn.la_pitch << 1 ); in silk_find_pitch_lags_FLP() [all …]
|
D | find_pred_coefs_FLP.c | 36 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_find_pred_coefs_FLP() argument 52 for( i = 0; i < psEnc->sCmn.nb_subfr; i++ ) { in silk_find_pred_coefs_FLP() 58 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_find_pred_coefs_FLP() 62 …silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FLP() 66 …psEncCtrl->pitchL, Wght, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.ltp_mem_lengt… in silk_find_pred_coefs_FLP() 69 …silk_quant_LTP_gains_FLP( psEncCtrl->LTPCoef, psEnc->sCmn.indices.LTPIndex, &psEnc->sCmn.indices.P… in silk_find_pred_coefs_FLP() 70 …&psEnc->sCmn.sum_log_gain_Q7, WLTP, psEnc->sCmn.mu_LTP_Q9, psEnc->sCmn.LTPQuantLowComplexity, psEn… in silk_find_pred_coefs_FLP() 73 silk_LTP_scale_ctrl_FLP( psEnc, psEncCtrl, condCoding ); in silk_find_pred_coefs_FLP() 76 … silk_LTP_analysis_filter_FLP( LPC_in_pre, x - psEnc->sCmn.predictLPCOrder, psEncCtrl->LTPCoef, in silk_find_pred_coefs_FLP() 77 …psEncCtrl->pitchL, invGains, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLP… in silk_find_pred_coefs_FLP() [all …]
|
D | noise_shape_analysis_FLP.c | 129 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_noise_shape_analysis_FLP() argument 135 silk_shape_state_FLP *psShapeSt = &psEnc->sShape; in silk_noise_shape_analysis_FLP() 145 x_ptr = x - psEnc->sCmn.la_shape; in silk_noise_shape_analysis_FLP() 150 SNR_adj_dB = psEnc->sCmn.SNR_dB_Q7 * ( 1 / 128.0f ); in silk_noise_shape_analysis_FLP() 153 …psEncCtrl->input_quality = 0.5f * ( psEnc->sCmn.input_quality_bands_Q15[ 0 ] + psEnc->sCmn.input_q… in silk_noise_shape_analysis_FLP() 158 if( psEnc->sCmn.useCBR == 0 ) { in silk_noise_shape_analysis_FLP() 160 b = 1.0f - psEnc->sCmn.speech_activity_Q8 * ( 1.0f / 256.0f ); in silk_noise_shape_analysis_FLP() 164 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FLP() 166 SNR_adj_dB += HARM_SNR_INCR_dB * psEnc->LTPCorr; in silk_noise_shape_analysis_FLP() 169 …SNR_adj_dB += ( -0.4f * psEnc->sCmn.SNR_dB_Q7 * ( 1 / 128.0f ) + 6.0f ) * ( 1.0f - psEncCtrl->inpu… in silk_noise_shape_analysis_FLP() [all …]
|
D | process_gains_FLP.c | 37 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_process_gains_FLP() argument 42 silk_shape_state_FLP *psShapeSt = &psEnc->sShape; in silk_process_gains_FLP() 48 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FLP() 50 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_process_gains_FLP() 56 …Val = ( silk_float )( pow( 2.0f, 0.33f * ( 21.0f - psEnc->sCmn.SNR_dB_Q7 * ( 1 / 128.0f ) ) ) / ps… in silk_process_gains_FLP() 58 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_process_gains_FLP() 66 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_process_gains_FLP() 71 silk_memcpy( psEncCtrl->GainsUnq_Q16, pGains_Q16, psEnc->sCmn.nb_subfr * sizeof( opus_int32 ) ); in silk_process_gains_FLP() 75 silk_gains_quant( psEnc->sCmn.indices.GainsIndices, pGains_Q16, in silk_process_gains_FLP() 76 &psShapeSt->LastGainIndex, condCoding == CODE_CONDITIONALLY, psEnc->sCmn.nb_subfr ); in silk_process_gains_FLP() [all …]
|
D | LTP_scale_ctrl_FLP.c | 35 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_LTP_scale_ctrl_FLP() argument 44 round_loss = psEnc->sCmn.PacketLoss_perc + psEnc->sCmn.nFramesPerPacket; in silk_LTP_scale_ctrl_FLP() 45 …psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( round_loss * psEncCtrl->LTPredCodGain … in silk_LTP_scale_ctrl_FLP() 48 psEnc->sCmn.indices.LTP_scaleIndex = 0; in silk_LTP_scale_ctrl_FLP() 51 …psEncCtrl->LTP_scale = (silk_float)silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ] … in silk_LTP_scale_ctrl_FLP()
|
D | prefilter_FLP.c | 95 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_prefilter_FLP() argument 101 silk_prefilter_state_FLP *P = &psEnc->sPrefilt; in silk_prefilter_FLP() 115 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_prefilter_FLP() 117 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_prefilter_FLP() 133 …(silk_float)psEnc->sCmn.warping_Q16 / 65536.0f, psEnc->sCmn.subfr_length, psEnc->sCmn.shapingLPCOr… in silk_prefilter_FLP() 140 for( j = 1; j < psEnc->sCmn.subfr_length; j++ ) { in silk_prefilter_FLP() 143 P->sHarmHP = st_res[ psEnc->sCmn.subfr_length - 1 ]; in silk_prefilter_FLP() 145 …silk_prefilt_FLP( P, pxw, pxw, HarmShapeFIR, Tilt, LF_MA_shp, LF_AR_shp, lag, psEnc->sCmn.subfr_le… in silk_prefilter_FLP() 147 px += psEnc->sCmn.subfr_length; in silk_prefilter_FLP() 148 pxw += psEnc->sCmn.subfr_length; in silk_prefilter_FLP() [all …]
|
D | main_FLP.h | 59 …silk_encoder_state_FLP *psEnc /* I/O Encoder state FLP … 64 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 74 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 80 …silk_encoder_state_FLP *psEnc, /* I/O Pointer to Silk encode… 92 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 103 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 120 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 130 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 139 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … 222 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … [all …]
|
D | wrappers_FLP.c | 96 …silk_encoder_state_FLP *psEnc, /* I/O Encoder state FLP … in silk_NSQ_wrapper_FLP() argument 120 for( i = 0; i < psEnc->sCmn.nb_subfr; i++ ) { in silk_NSQ_wrapper_FLP() 121 for( j = 0; j < psEnc->sCmn.shapingLPCOrder; j++ ) { in silk_NSQ_wrapper_FLP() 126 for( i = 0; i < psEnc->sCmn.nb_subfr; i++ ) { in silk_NSQ_wrapper_FLP() 135 for( i = 0; i < psEnc->sCmn.nb_subfr * LTP_ORDER; i++ ) { in silk_NSQ_wrapper_FLP() 140 for( i = 0; i < psEnc->sCmn.predictLPCOrder; i++ ) { in silk_NSQ_wrapper_FLP() 145 for( i = 0; i < psEnc->sCmn.nb_subfr; i++ ) { in silk_NSQ_wrapper_FLP() 157 for( i = 0; i < psEnc->sCmn.frame_length; i++ ) { in silk_NSQ_wrapper_FLP() 162 if( psEnc->sCmn.nStatesDelayedDecision > 1 || psEnc->sCmn.warping_Q16 > 0 ) { in silk_NSQ_wrapper_FLP() 163 … silk_NSQ_del_dec( &psEnc->sCmn, psNSQ, psIndices, x_Q3, pulses, PredCoef_Q12[ 0 ], LTPCoef_Q14, in silk_NSQ_wrapper_FLP() [all …]
|
/external/libopus/silk/fixed/ |
D | encode_frame_FIX.c | 38 …silk_encoder_state_FIX *psEnc, /* I/O Pointer to Silk FI… 45 …silk_encoder_state_FIX *psEnc /* I/O Pointer to Silk FI… in silk_encode_do_VAD_FIX() argument 51 silk_VAD_GetSA_Q8( &psEnc->sCmn, psEnc->sCmn.inputBuf + 1 ); in silk_encode_do_VAD_FIX() 56 if( psEnc->sCmn.speech_activity_Q8 < SILK_FIX_CONST( SPEECH_ACTIVITY_DTX_THRES, 8 ) ) { in silk_encode_do_VAD_FIX() 57 psEnc->sCmn.indices.signalType = TYPE_NO_VOICE_ACTIVITY; in silk_encode_do_VAD_FIX() 58 psEnc->sCmn.noSpeechCounter++; in silk_encode_do_VAD_FIX() 59 if( psEnc->sCmn.noSpeechCounter < NB_SPEECH_FRAMES_BEFORE_DTX ) { in silk_encode_do_VAD_FIX() 60 psEnc->sCmn.inDTX = 0; in silk_encode_do_VAD_FIX() 61 … } else if( psEnc->sCmn.noSpeechCounter > MAX_CONSECUTIVE_DTX + NB_SPEECH_FRAMES_BEFORE_DTX ) { in silk_encode_do_VAD_FIX() 62 psEnc->sCmn.noSpeechCounter = NB_SPEECH_FRAMES_BEFORE_DTX; in silk_encode_do_VAD_FIX() [all …]
|
D | find_pitch_lags_FIX.c | 38 …silk_encoder_state_FIX *psEnc, /* I/O encoder state … in silk_find_pitch_lags_FIX() argument 59 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FIX() 62 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); in silk_find_pitch_lags_FIX() 64 x_buf = x - psEnc->sCmn.ltp_mem_length; in silk_find_pitch_lags_FIX() 72 ALLOC( Wsig, psEnc->sCmn.pitch_LPC_win_length, opus_int16 ); in silk_find_pitch_lags_FIX() 75 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; in silk_find_pitch_lags_FIX() 77 silk_apply_sine_window( Wsig_ptr, x_buf_ptr, 1, psEnc->sCmn.la_pitch ); in silk_find_pitch_lags_FIX() 80 Wsig_ptr += psEnc->sCmn.la_pitch; in silk_find_pitch_lags_FIX() 81 x_buf_ptr += psEnc->sCmn.la_pitch; in silk_find_pitch_lags_FIX() 82 …silk_memcpy( Wsig_ptr, x_buf_ptr, ( psEnc->sCmn.pitch_LPC_win_length - silk_LSHIFT( psEnc->sCmn.la… in silk_find_pitch_lags_FIX() [all …]
|
D | find_pred_coefs_FIX.c | 36 …silk_encoder_state_FIX *psEnc, /* I/O encoder state … in silk_find_pred_coefs_FIX() argument 55 for( i = 0; i < psEnc->sCmn.nb_subfr; i++ ) { in silk_find_pred_coefs_FIX() 58 for( i = 0; i < psEnc->sCmn.nb_subfr; i++ ) { in silk_find_pred_coefs_FIX() 77 psEnc->sCmn.nb_subfr * psEnc->sCmn.predictLPCOrder in silk_find_pred_coefs_FIX() 78 + psEnc->sCmn.frame_length, opus_int16 ); in silk_find_pred_coefs_FIX() 79 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_find_pred_coefs_FIX() 85 …silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + … in silk_find_pred_coefs_FIX() 87 ALLOC( WLTP, psEnc->sCmn.nb_subfr * LTP_ORDER * LTP_ORDER, opus_int32 ); in silk_find_pred_coefs_FIX() 91 res_pitch, psEncCtrl->pitchL, Wght_Q15, psEnc->sCmn.subfr_length, in silk_find_pred_coefs_FIX() 92 psEnc->sCmn.nb_subfr, psEnc->sCmn.ltp_mem_length, LTP_corrs_rshift ); in silk_find_pred_coefs_FIX() [all …]
|
D | noise_shape_analysis_FIX.c | 145 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state FIX … in silk_noise_shape_analysis_FIX() argument 152 silk_shape_state_FIX *psShapeSt = &psEnc->sShape; in silk_noise_shape_analysis_FIX() 166 x_ptr = x - psEnc->sCmn.la_shape; in silk_noise_shape_analysis_FIX() 171 SNR_adj_dB_Q7 = psEnc->sCmn.SNR_dB_Q7; in silk_noise_shape_analysis_FIX() 174 …psEncCtrl->input_quality_Q14 = ( opus_int )silk_RSHIFT( (opus_int32)psEnc->sCmn.input_quality_band… in silk_noise_shape_analysis_FIX() 175 + psEnc->sCmn.input_quality_bands_Q15[ 1 ], 2 ); in silk_noise_shape_analysis_FIX() 182 if( psEnc->sCmn.useCBR == 0 ) { in silk_noise_shape_analysis_FIX() 183 b_Q8 = SILK_FIX_CONST( 1.0, 8 ) - psEnc->sCmn.speech_activity_Q8; in silk_noise_shape_analysis_FIX() 190 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX() 192 …SNR_adj_dB_Q7 = silk_SMLAWB( SNR_adj_dB_Q7, SILK_FIX_CONST( HARM_SNR_INCR_dB, 8 ), psEnc->LTPCorr_… in silk_noise_shape_analysis_FIX() [all …]
|
D | process_gains_FIX.c | 37 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state … in silk_process_gains_FIX() argument 42 silk_shape_state_FIX *psShapeSt = &psEnc->sShape; in silk_process_gains_FIX() 47 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FIX() 50 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_process_gains_FIX() 58 …SMULWB( SILK_FIX_CONST( 21 + 16 / 0.33, 7 ) - psEnc->sCmn.SNR_dB_Q7, SILK_FIX_CONST( 0.33, 16 ) ) … in silk_process_gains_FIX() 60 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { 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() 95 &psShapeSt->LastGainIndex, condCoding == CODE_CONDITIONALLY, psEnc->sCmn.nb_subfr ); in silk_process_gains_FIX() 98 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FIX() [all …]
|
D | prefilter_FIX.c | 91 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state … in silk_prefilter_FIX() argument 97 silk_prefilter_state_FIX *P = &psEnc->sPrefilt; in silk_prefilter_FIX() 114 ALLOC( x_filt_Q12, psEnc->sCmn.subfr_length, opus_int32 ); in silk_prefilter_FIX() 115 ALLOC( st_res_Q2, psEnc->sCmn.subfr_length, opus_int32 ); in silk_prefilter_FIX() 116 for( k = 0; k < psEnc->sCmn.nb_subfr; k++ ) { in silk_prefilter_FIX() 118 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_prefilter_FIX() 133 psEnc->sCmn.warping_Q16, psEnc->sCmn.subfr_length, psEnc->sCmn.shapingLPCOrder ); in silk_prefilter_FIX() 143 for( j = 1; j < psEnc->sCmn.subfr_length; j++ ) { in silk_prefilter_FIX() 146 P->sHarmHP_Q2 = st_res_Q2[ psEnc->sCmn.subfr_length - 1 ]; in silk_prefilter_FIX() 148 …P, x_filt_Q12, pxw_Q3, HarmShapeFIRPacked_Q12, Tilt_Q14, LF_shp_Q14, lag, psEnc->sCmn.subfr_length… in silk_prefilter_FIX() [all …]
|
D | LTP_scale_ctrl_FIX.c | 36 …silk_encoder_state_FIX *psEnc, /* I/O encoder state … in silk_LTP_scale_ctrl_FIX() argument 45 round_loss = psEnc->sCmn.PacketLoss_perc + psEnc->sCmn.nFramesPerPacket; in silk_LTP_scale_ctrl_FIX() 46 psEnc->sCmn.indices.LTP_scaleIndex = (opus_int8)silk_LIMIT( in silk_LTP_scale_ctrl_FIX() 50 psEnc->sCmn.indices.LTP_scaleIndex = 0; in silk_LTP_scale_ctrl_FIX() 52 psEncCtrl->LTP_scale_Q14 = silk_LTPScales_table_Q14[ psEnc->sCmn.indices.LTP_scaleIndex ]; in silk_LTP_scale_ctrl_FIX()
|
D | main_FIX.h | 61 …silk_encoder_state_FIX *psEnc /* I/O Pointer to Silk FI… 66 …silk_encoder_state_FIX *psEnc, /* I/O Pointer to Silk FI… 76 …silk_encoder_state_Fxx *psEnc, /* I/O Pointer to Silk FI… 82 …silk_encoder_state_Fxx *psEnc, /* I/O Pointer to Silk en… 94 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state … 105 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state FIX … 124 …silk_encoder_state_FIX *psEnc, /* I/O encoder state … 134 …silk_encoder_state_FIX *psEnc, /* I/O encoder state … 143 …silk_encoder_state_FIX *psEnc, /* I/O encoder state … 208 …silk_encoder_state_FIX *psEnc, /* I/O Encoder state …
|