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 ); in silk_decode_parameters()
72 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order ); 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.c48 VARDECL( silk_decoder_control, psDecCtrl ); in silk_decode_frame()
54 ALLOC( psDecCtrl, 1, silk_decoder_control ); in silk_decode_frame()
57 psDecCtrl->LTP_scale_Q14 = 0; in silk_decode_frame()
79 silk_decode_parameters( psDec, psDecCtrl, condCoding ); in silk_decode_frame()
84 silk_decode_core( psDec, psDecCtrl, pOut, pulses ); in silk_decode_frame()
89 silk_PLC( psDec, psDecCtrl, pOut, 0 ); in silk_decode_frame()
99 silk_PLC( psDec, psDecCtrl, pOut, 1 ); in silk_decode_frame()
118 silk_CNG( psDec, psDecCtrl, pOut, L ); in silk_decode_frame()
121 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
98 A_Q12 = psDecCtrl->PredCoef_Q12[ k >> 1 ]; in silk_decode_core()
102 B_Q14 = &psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER ]; in silk_decode_core()
105 Gain_Q10 = silk_RSHIFT( psDecCtrl->Gains_Q16[ k ], 6 ); in silk_decode_core()
106 inv_gain_Q31 = silk_INVERSE32_varQ( psDecCtrl->Gains_Q16[ k ], 47 ); in silk_decode_core()
109 if( psDecCtrl->Gains_Q16[ k ] != psDec->prev_gain_Q16 ) { in silk_decode_core()
110 gain_adj_Q16 = silk_DIV32_varQ( psDec->prev_gain_Q16, psDecCtrl->Gains_Q16[ k ], 16 ); in silk_decode_core()
122 psDec->prev_gain_Q16 = psDecCtrl->Gains_Q16[ k ]; in silk_decode_core()
132 psDecCtrl->pitchL[ k ] = psDec->lagPrev; in silk_decode_core()
137 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 */
66 silk_decoder_control *psDecCtrl, /* I/O Decoder control */ in silk_PLC() argument
81 silk_PLC_conceal( psDec, psDecCtrl, frame ); in silk_PLC()
88 silk_PLC_update( psDec, psDecCtrl ); in silk_PLC()
97 silk_decoder_control *psDecCtrl /* I/O Decoder control */ in silk_PLC_update() argument
111 for( j = 0; j * psDec->subfr_length < psDecCtrl->pitchL[ psDec->nb_subfr - 1 ]; j++ ) { in silk_PLC_update()
117 … temp_LTP_Gain_Q14 += psDecCtrl->LTPCoef_Q14[ ( psDec->nb_subfr - 1 - j ) * LTP_ORDER + i ]; in silk_PLC_update()
122 &psDecCtrl->LTPCoef_Q14[ silk_SMULBB( psDec->nb_subfr - 1 - j, LTP_ORDER ) ], in silk_PLC_update()
125 psPLC->pitchL_Q8 = silk_LSHIFT( psDecCtrl->pitchL[ psDec->nb_subfr - 1 - j ], 8 ); in silk_PLC_update()
[all …]
DCNG.c82 …silk_decoder_control *psDecCtrl, /* I/O Decoder control … in silk_CNG() argument
110 if( psDecCtrl->Gains_Q16[ i ] > max_Gain_Q16 ) { in silk_CNG()
111 max_Gain_Q16 = psDecCtrl->Gains_Q16[ i ]; in silk_CNG()
121 …psCNG->CNG_smth_Gain_Q16 += silk_SMULWB( psDecCtrl->Gains_Q16[ i ] - psCNG->CNG_smth_Gain_Q16, CNG… in silk_CNG()
Dmain.h391 …silk_decoder_control *psDecCtrl, /* I/O Decoder control …
398 …silk_decoder_control *psDecCtrl, /* I Decoder control …
424 …silk_decoder_control *psDecCtrl, /* I/O Decoder control …
DPLC.h49 silk_decoder_control *psDecCtrl, /* I/O Decoder control */