/external/chromium_org/third_party/opus/src/silk/float/ |
find_LPC_FLP.c | 44 opus_int k, subfr_length; local 53 subfr_length = psEncC->subfr_length + psEncC->predictLPCOrder; 59 res_nrg = silk_burg_modified_FLP( a, x, minInvGain, subfr_length, psEncC->nb_subfr, psEncC->predictLPCOrder ); 64 res_nrg -= silk_burg_modified_FLP( a_tmp, x + ( MAX_NB_SUBFR / 2 ) * subfr_length, minInvGain, subfr_length, MAX_NB_SUBFR / 2, psEncC->predictLPCOrder ); 79 silk_LPC_analysis_filter_FLP( LPC_res, a_tmp, x, 2 * subfr_length, psEncC->predictLPCOrder ); 81 silk_energy_FLP( LPC_res + psEncC->predictLPCOrder, subfr_length - psEncC->predictLPCOrder ) + 82 silk_energy_FLP( LPC_res + psEncC->predictLPCOrder + subfr_length, subfr_length - psEncC->predictLPCOrder ) ) [all...] |
LTP_analysis_filter_FLP.c | 40 const opus_int subfr_length, /* I Length of each subframe */ 61 for( i = 0; i < subfr_length + pre_length; i++ ) { 72 LTP_res_ptr += subfr_length + pre_length; 73 x_ptr += subfr_length;
|
residual_energy_FLP.c | 96 const opus_int subfr_length, /* I Subframe length */ 105 shift = LPC_order + subfr_length; 109 nrgs[ 0 ] = ( silk_float )( gains[ 0 ] * gains[ 0 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, subfr_length ) ); 110 nrgs[ 1 ] = ( silk_float )( gains[ 1 ] * gains[ 1 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, subfr_length ) ); 114 nrgs[ 2 ] = ( silk_float )( gains[ 2 ] * gains[ 2 ] * silk_energy_FLP( LPC_res_ptr + 0 * shift, subfr_length ) ); 115 nrgs[ 3 ] = ( silk_float )( gains[ 3 ] * gains[ 3 ] * silk_energy_FLP( LPC_res_ptr + 1 * shift, subfr_length ) );
|
burg_modified_FLP.c | 36 #define MAX_FRAME_SIZE 384 /* subfr_length * nb_subfr = ( 0.005 * 16000 + 16 ) * 4 = 384*/ 43 const opus_int subfr_length, /* I input signal subframe length (incl. D preceding samples) */ 55 silk_assert( subfr_length * nb_subfr <= MAX_FRAME_SIZE ); 58 C0 = silk_energy_FLP( x, nb_subfr * subfr_length ); 61 x_ptr = x + s * subfr_length; 63 C_first_row[ n - 1 ] += silk_inner_product_FLP( x_ptr, x_ptr + n, subfr_length - n ); 78 x_ptr = x + s * subfr_length; 80 tmp2 = x_ptr[ subfr_length - n - 1 ]; 83 C_last_row[ k ] -= x_ptr[ subfr_length - n - 1 ] * x_ptr[ subfr_length - n + k ] [all...] |
find_LTP_FLP.c | 42 const opus_int subfr_length, /* I Subframe length */ 61 silk_corrMatrix_FLP( lag_ptr, subfr_length, LTP_ORDER, WLTP_ptr ); 62 silk_corrVector_FLP( lag_ptr, r_ptr, subfr_length, LTP_ORDER, Rr ); 64 rr[ k ] = ( silk_float )silk_energy_FLP( r_ptr, subfr_length ); 75 temp = Wght[ k ] / ( nrg[ k ] * Wght[ k ] + 0.01f * subfr_length ); 79 r_ptr += subfr_length;
|
find_pred_coefs_FLP.c | 66 psEncCtrl->pitchL, Wght, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.ltp_mem_length ); 77 psEncCtrl->pitchL, invGains, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLPCOrder ); 87 psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder ); 88 x_pre_ptr += psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder; 89 x_ptr += psEnc->sCmn.subfr_length; 111 psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLPCOrder );
|
prefilter_FLP.c | 133 (silk_float)psEnc->sCmn.warping_Q16 / 65536.0f, psEnc->sCmn.subfr_length, psEnc->sCmn.shapingLPCOrder ); 140 for( j = 1; j < psEnc->sCmn.subfr_length; j++ ) { 143 P->sHarmHP = st_res[ psEnc->sCmn.subfr_length - 1 ]; 145 silk_prefilt_FLP( P, pxw, pxw, HarmShapeFIR, Tilt, LF_MA_shp, LF_AR_shp, lag, psEnc->sCmn.subfr_length ); 147 px += psEnc->sCmn.subfr_length; 148 pxw += psEnc->sCmn.subfr_length;
|
main_FLP.h | 160 const opus_int subfr_length, /* I Subframe length */ 171 const opus_int subfr_length, /* I Length of each subframe */ 183 const opus_int subfr_length, /* I Subframe length */
|
SigProc_FLP.h | 112 const opus_int subfr_length, /* I input signal subframe length (incl. D preceding samples) */
|
process_gains_FLP.c | 56 InvMaxSqrVal = ( silk_float )( pow( 2.0f, 0.33f * ( 21.0f - psEnc->sCmn.SNR_dB_Q7 * ( 1 / 128.0f ) ) ) / psEnc->sCmn.subfr_length );
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
find_LPC_FIX.c | 44 opus_int k, subfr_length; local 57 subfr_length = psEncC->subfr_length + psEncC->predictLPCOrder; 63 silk_burg_modified( &res_nrg, &res_nrg_Q, a_Q16, x, minInvGain_Q30, subfr_length, psEncC->nb_subfr, psEncC->predictLPCOrder ); 69 silk_burg_modified( &res_tmp_nrg, &res_tmp_nrg_Q, a_tmp_Q16, x + 2 * subfr_length, minInvGain_Q30, subfr_length, 2, psEncC->predictLPCOrder ); 87 ALLOC( LPC_res, 2 * subfr_length, opus_int16 ); 98 silk_LPC_analysis_filter( LPC_res, x, a_tmp_Q12, 2 * subfr_length, psEncC->predictLPCOrder ); 100 silk_sum_sqr_shift( &res_nrg0, &rshift0, LPC_res + psEncC->predictLPCOrder, subfr_length - psEncC->predictLPCOrder ); 101 silk_sum_sqr_shift( &res_nrg1, &rshift1, LPC_res + psEncC->predictLPCOrder + subfr_length, subfr_length - psEncC->predictLPCOrder ) [all...] |
LTP_analysis_filter_FIX.c | 35 opus_int16 *LTP_res, /* O LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length ) */ 40 const opus_int subfr_length, /* I Length of each subframe */ 61 for( i = 0; i < subfr_length + pre_length; i++ ) { 81 LTP_res_ptr += subfr_length + pre_length; 82 x_ptr += subfr_length;
|
burg_modified_FIX.c | 37 #define MAX_FRAME_SIZE 384 /* subfr_length * nb_subfr = ( 0.005 * 16000 + 16 ) * 4 = 384 */ 49 const opus_int16 x[], /* I Input signal, length: nb_subfr * ( D + subfr_length ) */ 51 const opus_int subfr_length, /* I Input signal subframe length (incl. D preceding samples) */ 66 silk_assert( subfr_length * nb_subfr <= MAX_FRAME_SIZE ); 69 silk_sum_sqr_shift( &C0, &rshifts, x, nb_subfr * subfr_length ); 90 x_ptr = x + s * subfr_length; 93 silk_inner_prod16_aligned_64( x_ptr, x_ptr + n, subfr_length - n ), rshifts ); 100 x_ptr = x + s * subfr_length; 101 celt_pitch_xcorr(x_ptr, x_ptr + 1, xcorr, subfr_length - D, D ); 103 for ( i = n + subfr_length - D, d = 0; i < subfr_length; i++ [all...] |
residual_energy_FIX.c | 43 const opus_int subfr_length, /* I Subframe length */ 56 offset = LPC_order + subfr_length; 69 silk_sum_sqr_shift( &nrgs[ i * ( MAX_NB_SUBFR >> 1 ) + j ], &rshift, LPC_res_ptr, subfr_length );
|
find_pred_coefs_FIX.c | 91 res_pitch, psEncCtrl->pitchL, Wght_Q15, psEnc->sCmn.subfr_length, 103 psEncCtrl->pitchL, invGains_Q16, psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLPCOrder ); 114 psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder ); 115 x_pre_ptr += psEnc->sCmn.subfr_length + psEnc->sCmn.predictLPCOrder; 116 x_ptr += psEnc->sCmn.subfr_length; 141 psEnc->sCmn.subfr_length, psEnc->sCmn.nb_subfr, psEnc->sCmn.predictLPCOrder );
|
prefilter_FIX.c | 114 ALLOC( x_filt_Q12, psEnc->sCmn.subfr_length, opus_int32 ); 115 ALLOC( st_res_Q2, psEnc->sCmn.subfr_length, opus_int32 ); 133 psEnc->sCmn.warping_Q16, psEnc->sCmn.subfr_length, psEnc->sCmn.shapingLPCOrder ); 143 for( j = 1; j < psEnc->sCmn.subfr_length; j++ ) { 146 P->sHarmHP_Q2 = st_res_Q2[ psEnc->sCmn.subfr_length - 1 ]; 148 silk_prefilt_FIX( P, x_filt_Q12, pxw_Q3, HarmShapeFIRPacked_Q12, Tilt_Q14, LF_shp_Q14, lag, psEnc->sCmn.subfr_length ); 150 px += psEnc->sCmn.subfr_length; 151 pxw_Q3 += psEnc->sCmn.subfr_length;
|
main_FIX.h | 163 const opus_int subfr_length, /* I subframe length */ 170 opus_int16 *LTP_res, /* O LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length ) */ 175 const opus_int subfr_length, /* I Length of each subframe */ 188 const opus_int subfr_length, /* I Subframe length */
|
find_LTP_FIX.c | 50 const opus_int subfr_length, /* I subframe length */ 78 silk_sum_sqr_shift( &rr[ k ], &rr_shifts, r_ptr, subfr_length ); /* rr[ k ] in Q( -rr_shifts ) */ 87 silk_corrMatrix_FIX( lag_ptr, subfr_length, LTP_ORDER, LTP_CORRS_HEAD_ROOM, WLTP_ptr, &corr_rshifts[ k ] ); /* WLTP_fix_ptr in Q( -corr_rshifts[ k ] ) */ 90 silk_corrVector_FIX( lag_ptr, r_ptr, subfr_length, LTP_ORDER, Rr, corr_rshifts[ k ] ); /* Rr_fix_ptr in Q( -corr_rshifts[ k ] ) */ 110 /* temp = Wght[ k ] / ( nrg[ k ] * Wght[ k ] + 0.01f * subfr_length ); */ 113 silk_RSHIFT( silk_SMULWB( (opus_int32)subfr_length, 655 ), corr_rshifts[ k ] - extra_shifts ); /* Q( -corr_rshifts[ k ] + extra_shifts ) */ 135 r_ptr += subfr_length;
|
/external/chromium_org/third_party/opus/src/silk/ |
decode_core.c | 59 ALLOC( res_Q14, psDec->subfr_length, opus_int32 ); 60 ALLOC( sLPC_Q14, psDec->subfr_length + MAX_LPC_ORDER, opus_int32 ); 146 silk_memcpy( &psDec->outBuf[ psDec->ltp_mem_length ], xq, 2 * psDec->subfr_length * sizeof( opus_int16 ) ); 149 silk_LPC_analysis_filter( &sLTP[ start_idx ], &psDec->outBuf[ start_idx + k * psDec->subfr_length ], 174 for( i = 0; i < psDec->subfr_length; i++ ) { 196 for( i = 0; i < psDec->subfr_length; i++ ) { 227 /* DEBUG_STORE_DATA( dec.pcm, pxq, psDec->subfr_length * sizeof( opus_int16 ) ) */ 230 silk_memcpy( sLPC_Q14, &sLPC_Q14[ psDec->subfr_length ], MAX_LPC_ORDER * sizeof( opus_int32 ) ); 231 pexc_Q14 += psDec->subfr_length; 232 pxq += psDec->subfr_length; [all...] |
decoder_set_fs.c | 47 psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz ); 48 frame_length = silk_SMULBB( psDec->nb_subfr, psDec->subfr_length );
|
PLC.c | 60 psDec->sPLC.subfr_length = 20; 111 for( j = 0; j * psDec->subfr_length < psDecCtrl->pitchL[ psDec->nb_subfr - 1 ]; j++ ) { 164 psPLC->subfr_length = psDec->subfr_length; 190 ALLOC( exc_buf, 2*psPLC->subfr_length, opus_int16 ); 205 for( i = 0; i < psPLC->subfr_length; i++ ) { 207 silk_SMULWW( psDec->exc_Q14[ i + ( k + psPLC->nb_subfr - 2 ) * psPLC->subfr_length ], prevGain_Q10[ k ] ), 8 ) ); 209 exc_buf_ptr += psPLC->subfr_length; 212 silk_sum_sqr_shift( &energy1, &shift1, exc_buf, psPLC->subfr_length ); 213 silk_sum_sqr_shift( &energy2, &shift2, &exc_buf[ psPLC->subfr_length ], psPLC->subfr_length ) [all...] |
CNG.c | 116 silk_memmove( &psCNG->CNG_exc_buf_Q14[ psDec->subfr_length ], psCNG->CNG_exc_buf_Q14, ( psDec->nb_subfr - 1 ) * psDec->subfr_length * sizeof( opus_int32 ) ); 117 silk_memcpy( psCNG->CNG_exc_buf_Q14, &psDec->exc_Q14[ subfr * psDec->subfr_length ], psDec->subfr_length * sizeof( opus_int32 ) );
|
structs.h | 155 opus_int subfr_length; /* Subframe length (samples) */ member in struct:__anon16528 241 opus_int subfr_length; member in struct:__anon16529 268 opus_int subfr_length; /* Subframe length (samples) */ member in struct:__anon16531
|
NSQ.c | 117 ALLOC( x_sc_Q10, psEncC->subfr_length, opus_int32 ); 143 silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], 155 offset_Q10, psEncC->subfr_length, psEncC->shapingLPCOrder, psEncC->predictLPCOrder ); 157 x_Q3 += psEncC->subfr_length; 158 pulses += psEncC->subfr_length; 159 pxq += psEncC->subfr_length; 403 for( i = 0; i < psEncC->subfr_length; i++ ) {
|
NSQ_del_dec.c | 164 decisionDelay = silk_min_int( DECISION_DELAY, psEncC->subfr_length ); 186 ALLOC( x_sc_Q10, psEncC->subfr_length, opus_int32 ); 246 silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], 259 Gains_Q16[ k ], Lambda_Q10, offset_Q10, psEncC->subfr_length, subfr++, psEncC->shapingLPCOrder, 262 x_Q3 += psEncC->subfr_length; 263 pulses += psEncC->subfr_length; 264 pxq += psEncC->subfr_length; 289 silk_memcpy( NSQ->sLPC_Q14, &psDD->sLPC_Q14[ psEncC->subfr_length ], NSQ_LPC_BUF_LENGTH * sizeof( opus_int32 ) ); [all...] |