Home
last modified time | relevance | path

Searched refs:psDecCtrl (Results 1 – 7 of 7) sorted by relevance

/external/libopus/silk/
Ddecode_parameters.c37 …silk_decoder_control *psDecCtrl, /* I/O Decoder control … in silk_decode_parameters() argument
46 silk_gains_dequant( psDecCtrl->Gains_Q16, psDec->indices.GainsIndices, in silk_decode_parameters()
55 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order, psDec->arch ); in silk_decode_parameters()
72 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order, psDec->arch ); in silk_decode_parameters()
75 …silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof… in silk_decode_parameters()
82 silk_bwexpander( psDecCtrl->PredCoef_Q12[ 0 ], psDec->LPC_order, BWE_AFTER_LOSS_Q16 ); in silk_decode_parameters()
83 silk_bwexpander( psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order, BWE_AFTER_LOSS_Q16 ); in silk_decode_parameters()
92 …silk_decode_pitch( psDec->indices.lagIndex, psDec->indices.contourIndex, psDecCtrl->pitchL, psDec-… in silk_decode_parameters()
100psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER + i ] = silk_LSHIFT( cbk_ptr_Q7[ Ix * LTP_ORDER + i ], 7 ); in silk_decode_parameters()
108 psDecCtrl->LTP_scale_Q14 = silk_LTPScales_table_Q14[ Ix ]; in silk_decode_parameters()
[all …]
Ddecode_frame.c49 VARDECL( silk_decoder_control, psDecCtrl ); in silk_decode_frame()
54 ALLOC( psDecCtrl, 1, silk_decoder_control ); in silk_decode_frame()
55 psDecCtrl->LTP_scale_Q14 = 0; in silk_decode_frame()
80 silk_decode_parameters( psDec, psDecCtrl, condCoding ); in silk_decode_frame()
85 silk_decode_core( psDec, psDecCtrl, pOut, pulses, arch ); in silk_decode_frame()
90 silk_PLC( psDec, psDecCtrl, pOut, 0, arch ); in silk_decode_frame()
100 silk_PLC( psDec, psDecCtrl, pOut, 1, arch ); in silk_decode_frame()
114 silk_CNG( psDec, psDecCtrl, pOut, L ); in silk_decode_frame()
122 psDec->lagPrev = psDecCtrl->pitchL[ psDec->nb_subfr - 1 ]; in silk_decode_frame()
Ddecode_core.c40 …silk_decoder_control *psDecCtrl, /* I Decoder control … in silk_decode_core() argument
99 A_Q12 = psDecCtrl->PredCoef_Q12[ k >> 1 ]; in silk_decode_core()
103 B_Q14 = &psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER ]; in silk_decode_core()
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()
133 psDecCtrl->pitchL[ k ] = psDec->lagPrev; in silk_decode_core()
138 lag = psDecCtrl->pitchL[ k ]; in silk_decode_core()
[all …]
DPLC.c43 silk_decoder_control *psDecCtrl /* I/O Decoder control */
48 silk_decoder_control *psDecCtrl, /* I/O Decoder control */
67 silk_decoder_control *psDecCtrl, /* I/O Decoder control */ in silk_PLC() argument
83 silk_PLC_conceal( psDec, psDecCtrl, frame, arch ); in silk_PLC()
90 silk_PLC_update( psDec, psDecCtrl ); in silk_PLC()
99 silk_decoder_control *psDecCtrl /* I/O Decoder control */ in silk_PLC_update() argument
113 for( j = 0; j * psDec->subfr_length < psDecCtrl->pitchL[ psDec->nb_subfr - 1 ]; j++ ) { in silk_PLC_update()
119 … temp_LTP_Gain_Q14 += psDecCtrl->LTPCoef_Q14[ ( psDec->nb_subfr - 1 - j ) * LTP_ORDER + i ]; in silk_PLC_update()
124 &psDecCtrl->LTPCoef_Q14[ silk_SMULBB( psDec->nb_subfr - 1 - j, LTP_ORDER ) ], in silk_PLC_update()
127 psPLC->pitchL_Q8 = silk_LSHIFT( psDecCtrl->pitchL[ psDec->nb_subfr - 1 - j ], 8 ); in silk_PLC_update()
[all …]
DCNG.c81 …silk_decoder_control *psDecCtrl, /* I/O Decoder control … in silk_CNG() argument
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()
122 …if( silk_SMULWW( psCNG->CNG_smth_Gain_Q16, CNG_GAIN_SMTH_THRESHOLD_Q16 ) > psDecCtrl->Gains_Q16[ i… in silk_CNG()
123 psCNG->CNG_smth_Gain_Q16 = psDecCtrl->Gains_Q16[ i ]; in silk_CNG()
Dmain.h428 …silk_decoder_control *psDecCtrl, /* I/O Decoder control …
435 …silk_decoder_control *psDecCtrl, /* I Decoder control …
462 …silk_decoder_control *psDecCtrl, /* I/O Decoder control …
DPLC.h49 silk_decoder_control *psDecCtrl, /* I/O Decoder control */