HomeSort by relevance Sort by last modified time
    Searched refs:LTP_ORDER (Results 1 - 21 of 21) sorted by null

  /external/libopus/silk/float/
find_LTP_FLP.c 36 silk_float b[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs */
37 silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for LTP quantization */
50 silk_float d[ MAX_NB_SUBFR ], m, g, delta_b[ LTP_ORDER ];
52 silk_float Rr[ LTP_ORDER ], rr[ MAX_NB_SUBFR ];
59 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 );
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 );
66 matrix_ptr( WLTP_ptr, 0, 0, LTP_ORDER ) +
67 matrix_ptr( WLTP_ptr, LTP_ORDER-1, LTP_ORDER-1, LTP_ORDER )
    [all...]
LTP_analysis_filter_FLP.c 37 const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for each subframe */
46 silk_float Btmp[ LTP_ORDER ];
56 for( i = 0; i < LTP_ORDER; i++ ) {
57 Btmp[ i ] = B[ k * LTP_ORDER + i ];
64 for( j = 0; j < LTP_ORDER; j++ ) {
65 LTP_res_ptr[ i ] -= Btmp[ j ] * x_lag_ptr[ LTP_ORDER / 2 - j ];
wrappers_FLP.c 108 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
135 for( i = 0; i < psEnc->sCmn.nb_subfr * LTP_ORDER; i++ ) {
175 silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (Un-)quantized LTP gains */
179 const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Error weights */
186 opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ];
187 opus_int32 W_Q18[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ];
189 for( i = 0; i < nb_subfr * LTP_ORDER; i++ ) {
192 for( i = 0; i < nb_subfr * LTP_ORDER * LTP_ORDER; i++ )
    [all...]
main_FLP.h 156 silk_float b[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs */
157 silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for LTP quantization */
170 const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I LTP coefficients for each subframe */
201 silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (Un-)quantized LTP gains */
205 const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* I Error weights */
find_pred_coefs_FLP.c 44 silk_float WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ];
62 silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 );
91 silk_memset( psEncCtrl->LTPCoef, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( silk_float ) );
structs_FLP.h 84 silk_float LTPCoef[LTP_ORDER * MAX_NB_SUBFR];
  /external/libopus/silk/fixed/
LTP_analysis_filter_FIX.c 37 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe */
46 opus_int16 Btmp_Q14[ LTP_ORDER ];
56 for( i = 0; i < LTP_ORDER; i++ ) {
57 Btmp_Q14[ i ] = LTPCoef_Q14[ k * LTP_ORDER + i ];
65 LTP_est = silk_SMULBB( x_lag_ptr[ LTP_ORDER / 2 ], Btmp_Q14[ 0 ] );
66 for( j = 1; j < LTP_ORDER; j++ ) {
67 LTP_est = silk_SMLABB_ovflw( LTP_est, x_lag_ptr[ LTP_ORDER / 2 - j ], Btmp_Q14[ j ] );
find_LTP_FIX.c 39 opus_int32 LTP_coefs_Q16[ LTP_ORDER ],
40 opus_int16 LTP_coefs_Q14[ LTP_ORDER ]
44 opus_int16 b_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs */
45 opus_int32 WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for LTP quantization */
62 opus_int32 b_Q16[ LTP_ORDER ], delta_b_Q14[ LTP_ORDER ], d_Q14[ MAX_NB_SUBFR ], nrg[ MAX_NB_SUBFR ], g_Q26;
69 opus_int32 Rr[ LTP_ORDER ], rr[ MAX_NB_SUBFR ];
76 lag_ptr = r_ptr - ( lag[ k ] + LTP_ORDER / 2 );
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 ] ) (…)
    [all...]
find_pred_coefs_FIX.c 85 silk_assert( psEnc->sCmn.ltp_mem_length - psEnc->sCmn.predictLPCOrder >= psEncCtrl->pitchL[ 0 ] + LTP_ORDER / 2 );
87 ALLOC( WLTP, psEnc->sCmn.nb_subfr * LTP_ORDER * LTP_ORDER, opus_int32 );
119 silk_memset( psEncCtrl->LTPCoef_Q14, 0, psEnc->sCmn.nb_subfr * LTP_ORDER * sizeof( opus_int16 ) );
main_FIX.h 160 opus_int16 b_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs */
161 opus_int32 WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for LTP quantization */
175 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe */
structs_FIX.h 84 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ];
  /external/libopus/silk/
quant_LTP_gains.c 36 opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (un)quantized LTP gains */
40 const opus_int32 W_Q18[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ], /* I Error Weights in Q18 */
100 b_Q14_ptr += LTP_ORDER;
101 W_Q18_ptr += LTP_ORDER * LTP_ORDER;
122 for( k = 0; k < LTP_ORDER; k++ ) {
123 B_Q14[ j * LTP_ORDER + k ] = silk_LSHIFT( cbk_ptr_Q7[ cbk_index[ j ] * LTP_ORDER + k ], 7 );
decode_parameters.c 99 for( i = 0; i < LTP_ORDER; i++ ) {
100 psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER + i ] = silk_LSHIFT( cbk_ptr_Q7[ Ix * LTP_ORDER + i ], 7 );
111 silk_memset( psDecCtrl->LTPCoef_Q14, 0, LTP_ORDER * psDec->nb_subfr * sizeof( opus_int16 ) );
decode_core.c 102 B_Q14 = &psDecCtrl->LTPCoef_Q14[ k * LTP_ORDER ];
128 silk_memset( B_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) );
129 B_Q14[ LTP_ORDER/2 ] = SILK_FIX_CONST( 0.25, 14 );
142 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2;
157 for( i = 0; i < lag + LTP_ORDER/2; i++ ) {
163 for( i = 0; i < lag + LTP_ORDER/2; i++ ) {
173 pred_lag_ptr = &sLTP_Q15[ sLTP_buf_idx - lag + LTP_ORDER / 2 ];
PLC.c 116 for( i = 0; i < LTP_ORDER; i++ ) {
117 temp_LTP_Gain_Q14 += psDecCtrl->LTPCoef_Q14[ ( psDec->nb_subfr - 1 - j ) * LTP_ORDER + i ];
122 &psDecCtrl->LTPCoef_Q14[ silk_SMULBB( psDec->nb_subfr - 1 - j, LTP_ORDER ) ],
123 LTP_ORDER * sizeof( opus_int16 ) );
129 silk_memset( psPLC->LTPCoef_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) );
130 psPLC->LTPCoef_Q14[ LTP_ORDER / 2 ] = LTP_Gain_Q14;
139 for( i = 0; i < LTP_ORDER; i++ ) {
148 for( i = 0; i < LTP_ORDER; i++ ) {
154 silk_memset( psPLC->LTPCoef_Q14, 0, LTP_ORDER * sizeof( opus_int16 ));
247 for( i = 0; i < LTP_ORDER; i++ )
    [all...]
main.h 204 opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (un)quantized LTP gains */
208 const opus_int32 W_Q18[ MAX_NB_SUBFR*LTP_ORDER*LTP_ORDER ], /* I Error Weights in Q18 */
239 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term prediction coefs */
258 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term prediction coefs */
define.h 141 #define LTP_ORDER 5
NSQ.c 78 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term prediction coefs */
124 B_Q14 = &LTPCoef_Q14[ k * LTP_ORDER ];
140 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2;
205 pred_lag_ptr = &sLTP_Q15[ NSQ->sLTP_buf_idx - lag + LTP_ORDER / 2 ];
416 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) {
431 for( i = NSQ->sLTP_buf_idx - lag - LTP_ORDER / 2; i < NSQ->sLTP_buf_idx; i++ ) {
VQ_WMat_EC.c 118 cb_row_Q7 += LTP_ORDER;