Home
last modified time | relevance | path

Searched refs:psNLSF_CB (Results 1 – 11 of 11) sorted by relevance

/external/libopus/silk/
DNLSF_encode.c41 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object … in silk_NLSF_encode() argument
67 silk_NLSF_stabilize( pNLSF_Q15, psNLSF_CB->deltaMin_Q15, psNLSF_CB->order ); in silk_NLSF_encode()
70 ALLOC( err_Q24, psNLSF_CB->nVectors, opus_int32 ); in silk_NLSF_encode()
71 …silk_NLSF_VQ( err_Q24, pNLSF_Q15, psNLSF_CB->CB1_NLSF_Q8, psNLSF_CB->CB1_Wght_Q9, psNLSF_CB->nVect… in silk_NLSF_encode()
75 silk_insertion_sort_increasing( err_Q24, tempIndices1, psNLSF_CB->nVectors, nSurvivors ); in silk_NLSF_encode()
85 pCB_element = &psNLSF_CB->CB1_NLSF_Q8[ ind1 * psNLSF_CB->order ]; in silk_NLSF_encode()
86 pCB_Wght_Q9 = &psNLSF_CB->CB1_Wght_Q9[ ind1 * psNLSF_CB->order ]; in silk_NLSF_encode()
87 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_encode()
95 silk_NLSF_unpack( ec_ix, pred_Q8, psNLSF_CB, ind1 ); in silk_NLSF_encode()
99psNLSF_CB->ec_Rates_Q5, psNLSF_CB->quantStepSize_Q16, psNLSF_CB->invQuantStepSize_Q6, NLSF_mu_Q20,… in silk_NLSF_encode()
[all …]
DNLSF_decode.c66 …const silk_NLSF_CB_struct *psNLSF_CB /* I Codebook object … in silk_NLSF_decode() argument
78 silk_NLSF_unpack( ec_ix, pred_Q8, psNLSF_CB, NLSFIndices[ 0 ] ); in silk_NLSF_decode()
81 …F_residual_dequant( res_Q10, &NLSFIndices[ 1 ], pred_Q8, psNLSF_CB->quantStepSize_Q16, psNLSF_CB->… in silk_NLSF_decode()
84 pCB_element = &psNLSF_CB->CB1_NLSF_Q8[ NLSFIndices[ 0 ] * psNLSF_CB->order ]; in silk_NLSF_decode()
85 pCB_Wght_Q9 = &psNLSF_CB->CB1_Wght_Q9[ NLSFIndices[ 0 ] * psNLSF_CB->order ]; in silk_NLSF_decode()
86 for( i = 0; i < psNLSF_CB->order; i++ ) { in silk_NLSF_decode()
92 silk_NLSF_stabilize( pNLSF_Q15, psNLSF_CB->deltaMin_Q15, psNLSF_CB->order ); in silk_NLSF_decode()
DNLSF_unpack.c38 …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()
Dencode_indices.c91 …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 celt_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()
Ddecode_indices.c80 …_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 celt_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()
Ddecoder_set_fs.c76 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()
Dmain.h341 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object …
376 …const silk_NLSF_CB_struct *psNLSF_CB, /* I Codebook object …
386 …const silk_NLSF_CB_struct *psNLSF_CB /* I Codebook object …
Dstructs.h184 …const silk_NLSF_CB_struct *psNLSF_CB; /* Pointer to NLSF codebook … member
294 …const silk_NLSF_CB_struct *psNLSF_CB; /* Pointer to NLSF codebook … member
Dprocess_NLSFs.c88 silk_NLSF_encode( psEncC->indices.NLSFIndices, pNLSF_Q15, psEncC->psNLSF_CB, pNLSFW_QW, in silk_process_NLSFs()
Ddecode_parameters.c52 silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); in silk_decode_parameters()
Dcontrol_codec.c277 psEnc->sCmn.psNLSF_CB = &silk_NLSF_CB_NB_MB; in silk_setup_fs()
280 psEnc->sCmn.psNLSF_CB = &silk_NLSF_CB_WB; in silk_setup_fs()