Lines Matching refs:decControl
83 …silk_DecControlStruct* decControl, /* I/O Control Structure … in silk_Decode() argument
107 silk_assert( decControl->nChannelsInternal == 1 || decControl->nChannelsInternal == 2 ); in silk_Decode()
113 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
119 if( decControl->nChannelsInternal > psDec->nChannelsInternal ) { in silk_Decode()
123 stereo_to_mono = decControl->nChannelsInternal == 1 && psDec->nChannelsInternal == 2 && in silk_Decode()
124 ( decControl->internalSampleRate == 1000*channel_state[ 0 ].fs_kHz ); in silk_Decode()
127 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
129 if( decControl->payloadSize_ms == 0 ) { in silk_Decode()
133 } else if( decControl->payloadSize_ms == 10 ) { in silk_Decode()
136 } else if( decControl->payloadSize_ms == 20 ) { in silk_Decode()
139 } else if( decControl->payloadSize_ms == 40 ) { in silk_Decode()
142 } else if( decControl->payloadSize_ms == 60 ) { in silk_Decode()
150 fs_kHz_dec = ( decControl->internalSampleRate >> 10 ) + 1; in silk_Decode()
156 … ret += silk_decoder_set_fs( &channel_state[ n ], fs_kHz_dec, decControl->API_sampleRate ); in silk_Decode()
160 …if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 2 && ( psDec->nChannelsAPI =… in silk_Decode()
165 psDec->nChannelsAPI = decControl->nChannelsAPI; in silk_Decode()
166 psDec->nChannelsInternal = decControl->nChannelsInternal; in silk_Decode()
168 …if( decControl->API_sampleRate > (opus_int32)MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate <… in silk_Decode()
177 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
184 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
201 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
206 if( decControl->nChannelsInternal == 2 && n == 0 ) { in silk_Decode()
228 if( decControl->nChannelsInternal == 2 ) { in silk_Decode()
249 …if( decControl->nChannelsInternal == 2 && decode_only_middle == 0 && psDec->prev_decode_only_middl… in silk_Decode()
261 delay_stack_alloc = decControl->internalSampleRate*decControl->nChannelsInternal in silk_Decode()
262 < decControl->API_sampleRate*decControl->nChannelsAPI; in silk_Decode()
264 : decControl->nChannelsInternal*(channel_state[ 0 ].frame_length + 2 ), in silk_Decode()
279 …|| (decControl->nChannelsInternal == 2 && lostFlag == FLAG_DECODE_LBRR && channel_state[1].LBRR_fl… in silk_Decode()
282 for( n = 0; n < decControl->nChannelsInternal; n++ ) { in silk_Decode()
307 if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 2 ) { in silk_Decode()
317 …*nSamplesOut = silk_DIV32( nSamplesOutDec * decControl->API_sampleRate, silk_SMULBB( channel_state… in silk_Decode()
321 decControl->nChannelsAPI == 2 ? *nSamplesOut : ALLOC_NONE, opus_int16 ); in silk_Decode()
322 if( decControl->nChannelsAPI == 2 ) { in silk_Decode()
329 ? decControl->nChannelsInternal*(channel_state[ 0 ].frame_length + 2 ) in silk_Decode()
333 …OPUS_COPY(samplesOut1_tmp_storage2, samplesOut, decControl->nChannelsInternal*(channel_state[ 0 ].… in silk_Decode()
337 for( n = 0; n < silk_min( decControl->nChannelsAPI, decControl->nChannelsInternal ); n++ ) { in silk_Decode()
343 if( decControl->nChannelsAPI == 2 ) { in silk_Decode()
351 if( decControl->nChannelsAPI == 2 && decControl->nChannelsInternal == 1 ) { in silk_Decode()
370 …decControl->prevPitchLag = channel_state[ 0 ].lagPrev * mult_tab[ ( channel_state[ 0 ].fs_kHz - 8 … in silk_Decode()
372 decControl->prevPitchLag = 0; in silk_Decode()