Lines Matching refs:decControl
82 …silk_DecControlStruct* decControl, /* I/O Control Structure … in silk_Decode() argument
103 silk_assert( decControl->nChannelsInternal == 1 || decControl->nChannelsInternal == 2 ); in silk_Decode()
109 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
115 if( decControl->nChannelsInternal > psDec->nChannelsInternal ) { in silk_Decode()
119 stereo_to_mono = decControl->nChannelsInternal == 1 && psDec->nChannelsInternal == 2 && in silk_Decode()
120 ( decControl->internalSampleRate == 1000*channel_state[ 0 ].fs_kHz ); in silk_Decode()
123 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
125 if( decControl->payloadSize_ms == 0 ) { in silk_Decode()
129 } else if( decControl->payloadSize_ms == 10 ) { in silk_Decode()
132 } else if( decControl->payloadSize_ms == 20 ) { in silk_Decode()
135 } else if( decControl->payloadSize_ms == 40 ) { in silk_Decode()
138 } else if( decControl->payloadSize_ms == 60 ) { in silk_Decode()
146 fs_kHz_dec = ( decControl->internalSampleRate >> 10 ) + 1; in silk_Decode()
152 … ret += silk_decoder_set_fs( &channel_state[ n ], fs_kHz_dec, decControl->API_sampleRate ); in silk_Decode()
156 …if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 2 && ( psDec->nChannelsAPI =… in silk_Decode()
161 psDec->nChannelsAPI = decControl->nChannelsAPI; in silk_Decode()
162 psDec->nChannelsInternal = decControl->nChannelsInternal; in silk_Decode()
164 …if( decControl->API_sampleRate > (opus_int32)MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate <… in silk_Decode()
173 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
180 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
197 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
202 if( decControl->nChannelsInternal == 2 && n == 0 ) { in silk_Decode()
224 if( decControl->nChannelsInternal == 2 ) { in silk_Decode()
245 …if( decControl->nChannelsInternal == 2 && decode_only_middle == 0 && psDec->prev_decode_only_middl… in silk_Decode()
255 decControl->nChannelsInternal*( in silk_Decode()
266 …|| (decControl->nChannelsInternal == 2 && lostFlag == FLAG_DECODE_LBRR && channel_state[1].LBRR_fl… in silk_Decode()
269 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
294 if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 2 ) { in silk_Decode()
304 …*nSamplesOut = silk_DIV32( nSamplesOutDec * decControl->API_sampleRate, silk_SMULBB( channel_state… in silk_Decode()
308 decControl->nChannelsAPI == 2 ? *nSamplesOut : ALLOC_NONE, opus_int16 ); in silk_Decode()
309 if( decControl->nChannelsAPI == 2 ) { in silk_Decode()
315 for( n = 0; n < silk_min( decControl->nChannelsAPI, decControl->nChannelsInternal ); n++ ) { in silk_Decode()
321 if( decControl->nChannelsAPI == 2 ) { in silk_Decode()
329 if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 1 ) { in silk_Decode()
348 …decControl->prevPitchLag = channel_state[ 0 ].lagPrev * mult_tab[ ( channel_state[ 0 ].fs_kHz - 8 … in silk_Decode()
350 decControl->prevPitchLag = 0; in silk_Decode()