HomeSort by relevance Sort by last modified time
    Searched full:lpc_order (Results 1 - 25 of 29) sorted by null

1 2

  /external/libopus/silk/
NLSF_VQ.c 34 /* Compute quantization errors for an LPC_order element input vector for a VQ codebook */
37 const opus_int16 in_Q15[], /* I Input vectors to be quantized [LPC_order] */
38 const opus_uint8 pCB_Q8[], /* I Codebook vectors [K*LPC_order] */
40 const opus_int LPC_order /* I Number of LPCs */
46 silk_assert( LPC_order <= 16 );
47 silk_assert( ( LPC_order & 1 ) == 0 );
52 for( m = 0; m < LPC_order; m += 2 ) {
CNG.c 69 NLSF_step_Q15 = silk_DIV32_16( silk_int16_MAX, psDec->LPC_order + 1 );
71 for( i = 0; i < psDec->LPC_order; i++ ) {
103 for( i = 0; i < psDec->LPC_order; i++ ) {
135 silk_NLSF2A( A_Q12, psCNG->CNG_smth_NLSF_Q15, psDec->LPC_order );
140 silk_assert( psDec->LPC_order == 10 || psDec->LPC_order == 16 );
142 sum_Q6 = silk_RSHIFT( psDec->LPC_order, 1 );
153 if( psDec->LPC_order == 16 ) {
169 silk_memset( psCNG->CNG_synth_state, 0, psDec->LPC_order * sizeof( opus_int32 ) );
decode_parameters.c 55 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order );
66 for( i = 0; i < psDec->LPC_order; i++ ) {
72 silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order );
75 silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) );
78 silk_memcpy( psDec->prevNLSF_Q15, pNLSF_Q15, psDec->LPC_order * sizeof( opus_int16 ) );
82 silk_bwexpander( psDecCtrl->PredCoef_Q12[ 0 ], psDec->LPC_order, BWE_AFTER_LOSS_Q16 );
83 silk_bwexpander( psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order, BWE_AFTER_LOSS_Q16 );
NLSF_unpack.c 36 opus_int16 ec_ix[], /* O Indices to entropy tables [ LPC_ORDER ] */
37 opus_uint8 pred_Q8[], /* O LSF predictor [ LPC_ORDER ] */
main.h 304 opus_int8 *NLSFIndices, /* I Codebook path vector [ LPC_ORDER + 1 ] */
305 opus_int16 *pNLSF_Q15, /* I/O Quantized NLSF vector [ LPC_ORDER ] */
307 const opus_int16 *pW_QW, /* I NLSF weight vector [ LPC_ORDER ] */
313 /* Compute quantization errors for an LPC_order element input vector for a VQ codebook */
316 const opus_int16 in_Q15[], /* I Input vectors to be quantized [LPC_order] */
317 const opus_uint8 pCB_Q8[], /* I Codebook vectors [K*LPC_order] */
319 const opus_int LPC_order /* I Number of LPCs */
338 opus_int16 ec_ix[], /* O Indices to entropy tables [ LPC_ORDER ] */
339 opus_uint8 pred_Q8[], /* O LSF predictor [ LPC_ORDER ] */
348 opus_int16 *pNLSF_Q15, /* O Quantized NLSF vector [ LPC_ORDER ] */
    [all...]
decode_core.c 101 silk_memcpy( A_Q12_tmp, A_Q12, psDec->LPC_order * sizeof( opus_int16 ) );
142 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2;
150 A_Q12, psDec->ltp_mem_length - start_idx, psDec->LPC_order );
198 silk_assert( psDec->LPC_order == 10 || psDec->LPC_order == 16 );
200 LPC_pred_Q10 = silk_RSHIFT( psDec->LPC_order, 1 );
211 if( psDec->LPC_order == 16 ) {
PLC.c 158 silk_memcpy( psPLC->prevLPC_Q12, psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) );
236 silk_bwexpander( psPLC->prevLPC_Q12, psDec->LPC_order, SILK_FIX_CONST( BWE_COEF, 16 ) );
239 silk_memcpy( A_Q12, psPLC->prevLPC_Q12, psDec->LPC_order * sizeof( opus_int16 ) );
256 invGain_Q30 = silk_LPC_inverse_pred_gain( psPLC->prevLPC_Q12, psDec->LPC_order );
271 idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2;
273 silk_LPC_analysis_filter( &sLTP[ idx ], &psDec->outBuf[ idx ], A_Q12, psDec->ltp_mem_length - idx, psDec->LPC_order );
277 for( i = idx + psDec->LPC_order; i < psDec->ltp_mem_length; i++ ) {
326 silk_assert( psDec->LPC_order >= 10 ); /* check that unrolling works */
330 LPC_pred_Q10 = silk_RSHIFT( psDec->LPC_order, 1 );
341 for( j = 10; j < psDec->LPC_order; j++ )
    [all...]
NLSF_decode.c 64 opus_int16 *pNLSF_Q15, /* O Quantized NLSF vector [ LPC_ORDER ] */
65 opus_int8 *NLSFIndices, /* I Codebook path vector [ LPC_ORDER + 1 ] */
decoder_set_fs.c 75 psDec->LPC_order = MIN_LPC_ORDER;
78 psDec->LPC_order = MAX_LPC_ORDER;
NLSF_encode.c 39 opus_int8 *NLSFIndices, /* I Codebook path vector [ LPC_ORDER + 1 ] */
40 opus_int16 *pNLSF_Q15, /* I/O Quantized NLSF vector [ LPC_ORDER ] */
42 const opus_int16 *pW_QW, /* I NLSF weight vector [ LPC_ORDER ] */
decode_indices.c 82 silk_assert( psDec->psNLSF_CB->order == psDec->LPC_order );
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
lpc_masking_model.h 41 typedef int32_t (*CalculateResidualEnergy)(int lpc_order,
49 int32_t WebRtcIsacfix_CalculateResidualEnergyC(int lpc_order,
57 int32_t WebRtcIsacfix_CalculateResidualEnergyMIPS(int lpc_order,
lpc_masking_model_mips.c 16 int32_t WebRtcIsacfix_CalculateResidualEnergyMIPS(int lpc_order,
31 for (j = 0; j <= lpc_order; j++) {
110 for (i = 1; i <= lpc_order; i++) {
114 for (j = i; j <= lpc_order; j++) {
115 // For the case of i = 1 .. lpc_order:
  /external/libopus/silk/float/
wrappers_FLP.c 38 opus_int16 *NLSF_Q15, /* O NLSF vector [ LPC_order ] */
39 const silk_float *pAR, /* I LPC coefficients [ LPC_order ] */
40 const opus_int LPC_order /* I LPC order */
46 for( i = 0; i < LPC_order; i++ ) {
50 silk_A2NLSF( NLSF_Q15, a_fix_Q16, LPC_order );
55 silk_float *pAR, /* O LPC coefficients [ LPC_order ] */
56 const opus_int16 *NLSF_Q15, /* I NLSF vector [ LPC_order ] */
57 const opus_int LPC_order /* I LPC order */
63 silk_NLSF2A( a_fix_Q12, NLSF_Q15, LPC_order );
65 for( i = 0; i < LPC_order; i++ )
    [all...]
residual_energy_FLP.c 89 /* Calculates residual energies of input subframes where all subframes have LPC_order */
98 const opus_int LPC_order /* I LPC order */
104 LPC_res_ptr = LPC_res + LPC_order;
105 shift = LPC_order + subfr_length;
108 silk_LPC_analysis_filter_FLP( LPC_res, a[ 0 ], x + 0 * shift, 2 * shift, LPC_order );
113 silk_LPC_analysis_filter_FLP( LPC_res, a[ 1 ], x + 2 * shift, 2 * shift, LPC_order );
main_FLP.h 178 /* Calculates residual energies of input subframes where all subframes have LPC_order */
187 const opus_int LPC_order /* I LPC order */
278 opus_int16 *NLSF_Q15, /* O NLSF vector [ LPC_order ] */
279 const silk_float *pAR, /* I LPC coefficients [ LPC_order ] */
280 const opus_int LPC_order /* I LPC order */
285 silk_float *pAR, /* O LPC coefficients [ LPC_order ] */
286 const opus_int16 *NLSF_Q15, /* I NLSF vector [ LPC_order ] */
287 const opus_int LPC_order /* I LPC order */
  /external/libopus/silk/fixed/
residual_energy_FIX.c 35 /* Calculates residual energies of input subframes where all subframes have LPC_order */
45 const opus_int LPC_order /* I LPC order */
56 offset = LPC_order + subfr_length;
63 silk_LPC_analysis_filter( LPC_res, x_ptr, a_Q12[ i ], ( MAX_NB_SUBFR >> 1 ) * offset, LPC_order );
66 LPC_res_ptr = LPC_res + LPC_order;
main_FIX.h 183 /* Calculates residual energies of input subframes where all subframes have LPC_order */
193 const opus_int LPC_order /* I LPC order */
  /external/aac/libSBRdec/src/
lpp_tran.cpp 242 FIXP_SGL alphar[LPC_ORDER], a0r, a1r;
243 FIXP_SGL alphai[LPC_ORDER], a0i=0, a1i=0;
321 FIXP_DBL lowBandReal[(((1024)/(32))+(6))+LPC_ORDER];
324 FIXP_DBL lowBandImag[(((1024)/(32))+(6))+LPC_ORDER];
331 for(i=0;i<LPC_ORDER;i++){
362 dynamicScale = fixMin(dynamicScale, getScalefactor(lowBandReal, LPC_ORDER+pSettings->overlap) + ovLowBandShift);
363 dynamicScale = fixMin(dynamicScale, getScalefactor(&lowBandReal[LPC_ORDER+pSettings->overlap], pSettings->nCols) + lowBandShift);
365 dynamicScale = fixMin(dynamicScale, getScalefactor(lowBandImag, LPC_ORDER+pSettings->overlap) + ovLowBandShift);
366 dynamicScale = fixMin(dynamicScale, getScalefactor(&lowBandImag[LPC_ORDER+pSettings->overlap], pSettings->nCols) + lowBandShift);
373 scaleValues(&lowBandReal[0], LPC_ORDER+pSettings->overlap, dynamicScale-ovLowBandShift)
    [all...]
lpp_tran.h 129 #define LPC_ORDER 2
189 FIXP_DBL lpcFilterStatesReal[LPC_ORDER][(32)]; /*!< pointer array to save filter states */
190 FIXP_DBL lpcFilterStatesImag[LPC_ORDER][(32)]; /*!< pointer array to save filter states */
sbr_dec.cpp 532 for (i=0; i<LPC_ORDER; i++){
537 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesReal[i], QmfBufferReal[noCols-LPC_ORDER+i], hSbrDec->AnalysiscQMF.lsb*sizeof(FIXP_DBL));
538 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesImag[i], QmfBufferImag[noCols-LPC_ORDER+i], hSbrDec->AnalysiscQMF.lsb*sizeof(FIXP_DBL));
540 FDKmemcpy(hSbrDec->LppTrans.lpcFilterStatesReal[i], QmfBufferReal[noCols-LPC_ORDER+i], hSbrDec->AnalysiscQMF.lsb*sizeof(FIXP_DBL));
    [all...]
  /external/aac/libSBRenc/src/
ton_corr.cpp 205 autoCorrScaling = fixMin(getScalefactor(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength), getScalefactor(&imagBuf[k-LPC_ORDER], LPC_ORDER+blockLength));
208 scaleValues(&realBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling);
209 scaleValues(&imagBuf[k-LPC_ORDER], LPC_ORDER+blockLength, autoCorrScaling);
690 hTonCorr->lpcLength[0] = 8 - LPC_ORDER;
691 hTonCorr->lpcLength[1] = 7 - LPC_ORDER;
    [all...]
  /external/libopus/celt/
celt_decoder.c 92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */
109 + channels*LPC_ORDER*sizeof(opus_val16)
363 oldBandE = lpc+C*LPC_ORDER;
482 opus_val32 ac[LPC_ORDER+1];
486 LPC_ORDER, MAX_PERIOD, st->arch);
494 for (i=1;i<=LPC_ORDER;i++)
503 _celt_lpc(lpc+c*LPC_ORDER, ac, LPC_ORDER);
511 opus_val16 lpc_mem[LPC_ORDER];
512 for (i=0;i<LPC_ORDER;i++
    [all...]
celt_lpc.h 33 #define LPC_ORDER 24
  /external/aac/libFDK/include/
autocorr2nd.h 112 #define LPC_ORDER 2

Completed in 2459 milliseconds

1 2