Searched refs:psNLSF_CB (Results 1 – 11 of 11) sorted by relevance
/external/libopus/silk/ |
D | NLSF_encode.c | 41 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object … in silk_NLSF_encode() argument 69 silk_NLSF_stabilize( pNLSF_Q15, psNLSF_CB->deltaMin_Q15, psNLSF_CB->order ); in silk_NLSF_encode() 72 ALLOC( err_Q26, psNLSF_CB->nVectors, opus_int32 ); in silk_NLSF_encode() 73 … silk_NLSF_VQ( err_Q26, pNLSF_Q15, psNLSF_CB->CB1_NLSF_Q8, psNLSF_CB->nVectors, psNLSF_CB->order ); in silk_NLSF_encode() 77 silk_insertion_sort_increasing( err_Q26, tempIndices1, psNLSF_CB->nVectors, nSurvivors ); in silk_NLSF_encode() 87 pCB_element = &psNLSF_CB->CB1_NLSF_Q8[ ind1 * psNLSF_CB->order ]; in silk_NLSF_encode() 88 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_encode() 94 silk_NLSF_VQ_weights_laroia( W_tmp_QW, NLSF_tmp_Q15, psNLSF_CB->order ); in silk_NLSF_encode() 97 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_encode() 103 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_encode() [all …]
|
D | NLSF_decode.c | 66 …const silk_NLSF_CB_struct *psNLSF_CB /* I Codebook object … in silk_NLSF_decode() argument 78 pCB_element = &psNLSF_CB->CB1_NLSF_Q8[ NLSFIndices[ 0 ] * psNLSF_CB->order ]; in silk_NLSF_decode() 79 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_decode() 84 silk_NLSF_unpack( ec_ix, pred_Q8, psNLSF_CB, NLSFIndices[ 0 ] ); in silk_NLSF_decode() 87 …F_residual_dequant( res_Q10, &NLSFIndices[ 1 ], pred_Q8, psNLSF_CB->quantStepSize_Q16, psNLSF_CB->… in silk_NLSF_decode() 90 silk_NLSF_VQ_weights_laroia( W_tmp_QW, pNLSF_Q15, psNLSF_CB->order ); in silk_NLSF_decode() 93 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_decode() 100 silk_NLSF_stabilize( pNLSF_Q15, psNLSF_CB->deltaMin_Q15, psNLSF_CB->order ); in silk_NLSF_decode()
|
D | NLSF_unpack.c | 38 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object … in silk_NLSF_unpack() argument 46 ec_sel_ptr = &psNLSF_CB->ec_sel[ CB1_index * psNLSF_CB->order / 2 ]; in silk_NLSF_unpack() 47 for( i = 0; i < psNLSF_CB->order; i += 2 ) { in silk_NLSF_unpack() 50 pred_Q8[ i ] = psNLSF_CB->pred_Q8[ i + ( entry & 1 ) * ( psNLSF_CB->order - 1 ) ]; in silk_NLSF_unpack() 52 …pred_Q8[ i + 1 ] = psNLSF_CB->pred_Q8[ i + ( silk_RSHIFT( entry, 4 ) & 1 ) * ( psNLSF_CB->order - … in silk_NLSF_unpack()
|
D | encode_indices.c | 91 …c, psIndices->NLSFIndices[ 0 ], &psEncC->psNLSF_CB->CB1_iCDF[ ( psIndices->signalType >> 1 ) * psE… in silk_encode_indices() 92 silk_NLSF_unpack( ec_ix, pred_Q8, psEncC->psNLSF_CB, psIndices->NLSFIndices[ 0 ] ); in silk_encode_indices() 93 silk_assert( psEncC->psNLSF_CB->order == psEncC->predictLPCOrder ); in silk_encode_indices() 94 for( i = 0; i < psEncC->psNLSF_CB->order; i++ ) { in silk_encode_indices() 96 …ec_enc_icdf( psRangeEnc, 2 * NLSF_QUANT_MAX_AMPLITUDE, &psEncC->psNLSF_CB->ec_iCDF[ ec_ix[ i ] ], … in silk_encode_indices() 99 ec_enc_icdf( psRangeEnc, 0, &psEncC->psNLSF_CB->ec_iCDF[ ec_ix[ i ] ], 8 ); in silk_encode_indices() 102 …Enc, psIndices->NLSFIndices[ i+1 ] + NLSF_QUANT_MAX_AMPLITUDE, &psEncC->psNLSF_CB->ec_iCDF[ ec_ix[… in silk_encode_indices()
|
D | decode_indices.c | 80 …_int8)ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[ ( psDec->indices.signalType >> 1 ) * p… in silk_decode_indices() 81 silk_NLSF_unpack( ec_ix, pred_Q8, psDec->psNLSF_CB, psDec->indices.NLSFIndices[ 0 ] ); in silk_decode_indices() 82 silk_assert( psDec->psNLSF_CB->order == psDec->LPC_order ); in silk_decode_indices() 83 for( i = 0; i < psDec->psNLSF_CB->order; i++ ) { in silk_decode_indices() 84 Ix = ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->ec_iCDF[ ec_ix[ i ] ], 8 ); in silk_decode_indices()
|
D | decoder_set_fs.c | 76 psDec->psNLSF_CB = &silk_NLSF_CB_NB_MB; in silk_decoder_set_fs() 79 psDec->psNLSF_CB = &silk_NLSF_CB_WB; in silk_decoder_set_fs()
|
D | main.h | 337 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object … 371 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object … 381 …const silk_NLSF_CB_struct *psNLSF_CB /* I Codebook object …
|
D | structs.h | 183 …const silk_NLSF_CB_struct *psNLSF_CB; /* Pointer to NLSF codebook … member 293 …const silk_NLSF_CB_struct *psNLSF_CB; /* Pointer to NLSF codebook … member
|
D | process_NLSFs.c | 88 silk_NLSF_encode( psEncC->indices.NLSFIndices, pNLSF_Q15, psEncC->psNLSF_CB, pNLSFW_QW, in silk_process_NLSFs()
|
D | decode_parameters.c | 52 silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); in silk_decode_parameters()
|
D | control_codec.c | 280 psEnc->sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; in silk_setup_fs() 283 psEnc->sCmn.psNLSF_CB = &silk_NLSF_CB_WB; in silk_setup_fs()
|