Lines Matching refs:silk_assert
59 silk_assert( typeOffset >= 0 && typeOffset < 6 ); in silk_encode_indices()
60 silk_assert( encode_LBRR == 0 || typeOffset >= 2 ); in silk_encode_indices()
73 …silk_assert( psIndices->GainsIndices[ 0 ] >= 0 && psIndices->GainsIndices[ 0 ] < MAX_DELTA_GAIN_QU… in silk_encode_indices()
77 … silk_assert( psIndices->GainsIndices[ 0 ] >= 0 && psIndices->GainsIndices[ 0 ] < N_LEVELS_QGAIN ); in silk_encode_indices()
84 …silk_assert( psIndices->GainsIndices[ i ] >= 0 && psIndices->GainsIndices[ i ] < MAX_DELTA_GAIN_QU… in silk_encode_indices()
93 silk_assert( psEncC->psNLSF_CB->order == psEncC->predictLPCOrder ); in silk_encode_indices()
108 silk_assert( psIndices->NLSFInterpCoef_Q2 >= 0 && psIndices->NLSFInterpCoef_Q2 < 5 ); in silk_encode_indices()
128 silk_assert( delta_lagIndex >= 0 && delta_lagIndex < 21 ); in silk_encode_indices()
136 silk_assert( pitch_low_bits < psEncC->fs_kHz / 2 ); in silk_encode_indices()
137 silk_assert( pitch_high_bits < 32 ); in silk_encode_indices()
144 silk_assert( psIndices->contourIndex >= 0 ); in silk_encode_indices()
145 … silk_assert( ( psIndices->contourIndex < 34 && psEncC->fs_kHz > 8 && psEncC->nb_subfr == 4 ) || in silk_encode_indices()
155 silk_assert( psIndices->PERIndex >= 0 && psIndices->PERIndex < 3 ); in silk_encode_indices()
160 …silk_assert( psIndices->LTPIndex[ k ] >= 0 && psIndices->LTPIndex[ k ] < ( 8 << psIndices->PERInde… in silk_encode_indices()
168 silk_assert( psIndices->LTP_scaleIndex >= 0 && psIndices->LTP_scaleIndex < 3 ); in silk_encode_indices()
171 silk_assert( !condCoding || psIndices->LTP_scaleIndex == 0 ); in silk_encode_indices()
179 silk_assert( psIndices->Seed >= 0 && psIndices->Seed < 4 ); in silk_encode_indices()