/external/chromium_org/third_party/opus/src/silk/ |
LPC_analysis_filter.c | 42 opus_int16 *out, /* O Output signal */ 43 const opus_int16 *in, /* I Input signal */ 44 const opus_int16 *B, /* I MA prediction coefficients, Q12 [order] */ 51 const opus_int16 *in_ptr; 80 out[ ix ] = (opus_int16)silk_SAT16( out32 ); 84 silk_memset( out, 0, d * sizeof( opus_int16 ) );
|
NLSF_VQ_weights_laroia.c | 43 opus_int16 *pNLSFW_Q_OUT, /* O Pointer to input vector weights [D] */ 44 const opus_int16 *pNLSF_Q15, /* I Pointer to input vector [D] */ 59 pNLSFW_Q_OUT[ 0 ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); 66 pNLSFW_Q_OUT[ k ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); 71 pNLSFW_Q_OUT[ k + 1 ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX ); 78 pNLSFW_Q_OUT[ D - 1 ] = (opus_int16)silk_min_int( tmp1_int + tmp2_int, silk_int16_MAX );
|
stereo_MS_to_LR.c | 37 opus_int16 x1[], /* I/O Left input signal, becomes mid signal */ 38 opus_int16 x2[], /* I/O Right input signal, becomes side signal */ 48 silk_memcpy( x1, state->sMid, 2 * sizeof( opus_int16 ) ); 49 silk_memcpy( x2, state->sSide, 2 * sizeof( opus_int16 ) ); 50 silk_memcpy( state->sMid, &x1[ frame_length ], 2 * sizeof( opus_int16 ) ); 51 silk_memcpy( state->sSide, &x2[ frame_length ], 2 * sizeof( opus_int16 ) ); 65 x2[ n + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); 73 x2[ n + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); 82 x1[ n + 1 ] = (opus_int16)silk_SAT16( sum ); 83 x2[ n + 1 ] = (opus_int16)silk_SAT16( diff ) [all...] |
SigProc_FIX.h | 65 opus_int16 out[], /* O Output signal */ 66 const opus_int16 in[], /* I Input signal */ 75 opus_int16 *out, /* O Output signal [ len ] */ 76 const opus_int16 *in, /* I Input signal [ floor(len/2) ] */ 85 opus_int16 *out, /* O Output signal [ floor(2*inLen/3) ] */ 86 const opus_int16 *in, /* I Input signal [ inLen ] */ 96 const opus_int16 *in, /* I input signal */ 100 opus_int16 *out, /* O output signal */ 107 opus_int16 *out, /* O Output signal */ 108 const opus_int16 *in, /* I Input signal (…) [all...] |
process_NLSFs.c | 37 opus_int16 PredCoef_Q12[ 2 ][ MAX_LPC_ORDER ], /* O Prediction coefficients */ 38 opus_int16 pNLSF_Q15[ MAX_LPC_ORDER ], /* I/O Normalized LSFs (quant out) (0 - (2^15-1)) */ 39 const opus_int16 prev_NLSFq_Q15[ MAX_LPC_ORDER ] /* I Previous Normalized LSFs (0 - (2^15-1)) */ 45 opus_int16 pNLSF0_temp_Q15[ MAX_LPC_ORDER ]; 46 opus_int16 pNLSFW_QW[ MAX_LPC_ORDER ]; 47 opus_int16 pNLSFW0_temp_QW[ MAX_LPC_ORDER ]; 103 silk_memcpy( PredCoef_Q12[ 0 ], PredCoef_Q12[ 1 ], psEncC->predictLPCOrder * sizeof( opus_int16 ) );
|
resampler_down2.c | 38 opus_int16 *out, /* O Output signal [ len ] */ 39 const opus_int16 *in, /* I Input signal [ floor(len/2) ] */ 71 out[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32, 11 ) );
|
resampler_private_up2_HQ.c | 40 opus_int16 *out, /* O Output signal [ 2 * len ] */ 41 const opus_int16 *in, /* I Input signal [ len ] */ 79 out[ 2 * k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32_1, 10 ) ); 100 out[ 2 * k + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( out32_1, 10 ) ); 106 opus_int16 *out, /* O Output signal [ 2 * len ] */ 107 const opus_int16 *in, /* I Input signal [ len ] */
|
tables.h | 79 extern const opus_int16 silk_LTP_gain_middle_avg_RD_Q14; 84 extern const opus_int16 silk_LTPScales_table_Q14[ 3 ]; /* 6 */ 89 extern const opus_int16 silk_stereo_pred_quant_Q13[ STEREO_QUANT_TAB_SIZE ]; /* 32 */ 104 extern const opus_int16 silk_SNR_table_Q1[ TARGET_RATE_TAB_SZ ]; /* 32 */ 107 extern const opus_int16 silk_Quantization_Offsets_Q10[ 2 ][ 2 ]; /* 8 */ 114 extern const opus_int16 silk_LSFCosTab_FIX_Q12[ LSF_COS_TAB_SZ_FIX + 1 ]; /* 258 */
|
stereo_LR_to_MS.c | 37 opus_int16 x1[], /* I/O Left input signal, becomes mid signal */ 38 opus_int16 x2[], /* I/O Right input signal, becomes side signal */ 52 opus_int16 side[ MAX_FRAME_LENGTH + 2 ]; 53 opus_int16 LP_mid[ MAX_FRAME_LENGTH ], HP_mid[ MAX_FRAME_LENGTH ]; 54 opus_int16 LP_side[ MAX_FRAME_LENGTH ], HP_side[ MAX_FRAME_LENGTH ]; 55 opus_int16 *mid = &x1[ -2 ]; 61 mid[ n ] = (opus_int16)silk_RSHIFT_ROUND( sum, 1 ); 62 side[ n ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( diff, 1 ) ); 66 silk_memcpy( mid, state->sMid, 2 * sizeof( opus_int16 ) ); 67 silk_memcpy( side, state->sSide, 2 * sizeof( opus_int16 ) ); [all...] |
resampler_down2_3.c | 40 opus_int16 *out, /* O Output signal [ floor(2*inLen/3) ] */ 41 const opus_int16 *in, /* I Input signal [ inLen ] */ 71 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); 79 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) );
|
tables_NLSF_CB_NB_MB.c | 141 static const opus_int16 silk_NLSF_DELTA_MIN_NB_MB_Q15[ 11 ] = {
|
tables_NLSF_CB_WB.c | 178 static const opus_int16 silk_NLSF_DELTA_MIN_WB_Q15[ 17 ] = {
|
NLSF_encode.c | 39 opus_int16 *pNLSF_Q15, /* I/O Quantized NLSF vector [ LPC_ORDER ] */ 41 const opus_int16 *pW_QW, /* I NLSF weight vector [ LPC_ORDER ] */ 53 opus_int16 res_Q15[ MAX_LPC_ORDER ]; 54 opus_int16 res_Q10[ MAX_LPC_ORDER ]; 55 opus_int16 NLSF_tmp_Q15[ MAX_LPC_ORDER ]; 56 opus_int16 W_tmp_QW[ MAX_LPC_ORDER ]; 57 opus_int16 W_adj_Q5[ MAX_LPC_ORDER ]; 59 opus_int16 ec_ix[ MAX_LPC_ORDER ]; 82 NLSF_tmp_Q15[ i ] = silk_LSHIFT16( (opus_int16)pCB_element[ i ], 7 ); 92 res_Q10[ i ] = (opus_int16)silk_RSHIFT( silk_SMULBB( res_Q15[ i ], W_tmp_Q9 ), 14 ) [all...] |
MacroCount.h | 88 ret = (a32 >> 16) * (opus_int32)((opus_int16)b32) + (((a32 & 0x0000FFFF) * (opus_int32)((opus_int16)b32)) >> 16); 95 ret = ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))); 118 ret = (opus_int32)((opus_int16)a32) * (opus_int32)((opus_int16)b32); 125 ret = a32 + (opus_int32)((opus_int16)b32) * (opus_int32)((opus_int16)c32); 133 ret = ((opus_int32)((opus_int16)a32)) * (b32 >> 16); 141 ret = a32 + ((opus_int32)((opus_int16)b32)) * (c32 >> 16) [all...] |
API.h | 78 const opus_int16 *samplesIn, /* I Speech sample input vector */ 112 opus_int16 *samplesOut, /* O Decoded output speech vector */
|
NLSF_stabilize.c | 48 opus_int16 *NLSF_Q15, /* I/O Unstable/stabilized normalized LSF vector in Q15 [L] */ 49 const opus_int16 *NDeltaMin_Q15, /* I Min distance vector, NDeltaMin_Q15[L] must be >= 1 [L+1] */ 54 opus_int16 center_freq_Q15; 57 /* This is necessary to ensure an output within range of a opus_int16 */ 113 center_freq_Q15 = (opus_int16)silk_LIMIT_32( silk_RSHIFT_ROUND( (opus_int32)NLSF_Q15[I-1] + (opus_int32)NLSF_Q15[I], 1 ),
|
biquad_alt.c | 43 const opus_int16 *in, /* I input signal */ 47 opus_int16 *out, /* O output signal */ 76 out[ k * stride ] = (opus_int16)silk_SAT16( silk_RSHIFT( out32_Q14 + (1<<14) - 1, 14 ) );
|
resampler_private_down_FIR.c | 35 static inline opus_int16 *silk_resampler_private_down_FIR_INTERPOL( 36 opus_int16 *out, 38 const opus_int16 *FIR_Coefs, 48 const opus_int16 *interpol_ptr; 82 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); 105 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); 134 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q6, 6 ) ); 146 opus_int16 out[], /* O Output signal */ 147 const opus_int16 in[], /* I Input signal */ 155 const opus_int16 *FIR_Coefs [all...] |
/external/chromium_org/third_party/opus/src/silk/fixed/ |
structs_FIX.h | 54 opus_int16 sLTP_shp[ LTP_BUF_LENGTH ]; 73 silk_DWORD_ALIGN opus_int16 x_buf[ 2 * MAX_FRAME_LENGTH + LA_SHAPE_MAX ];/* Buffer for find pitch and noise shape analysis */ 83 silk_DWORD_ALIGN opus_int16 PredCoef_Q12[ 2 ][ MAX_LPC_ORDER ]; 84 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ]; 90 silk_DWORD_ALIGN opus_int16 AR1_Q13[ MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER ]; 91 silk_DWORD_ALIGN opus_int16 AR2_Q13[ MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER ];
|
residual_energy_FIX.c | 39 const opus_int16 x[], /* I Input signal */ 40 opus_int16 a_Q12[ 2 ][ MAX_LPC_ORDER ], /* I AR coefs for each frame half */ 48 opus_int16 *LPC_res_ptr, LPC_res[ ( MAX_FRAME_LENGTH + MAX_NB_SUBFR * MAX_LPC_ORDER ) / 2 ]; 49 const opus_int16 *x_ptr;
|
find_pitch_lags_FIX.c | 39 opus_int16 res[], /* O residual */ 40 const opus_int16 x[] /* I Speech signal */ 45 const opus_int16 *x_buf, *x_buf_ptr; 46 opus_int16 Wsig[ FIND_PITCH_LPC_WIN_MAX ], *Wsig_ptr; 48 opus_int16 rc_Q15[ MAX_FIND_PITCH_LPC_ORDER ]; 50 opus_int16 A_Q12[ MAX_FIND_PITCH_LPC_ORDER ]; 76 silk_memcpy( Wsig_ptr, x_buf_ptr, ( psEnc->sCmn.pitch_LPC_win_length - silk_LSHIFT( psEnc->sCmn.la_pitch, 1 ) ) * sizeof( opus_int16 ) ); 100 A_Q12[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT( A_Q24[ i ], 12 ) ); 125 (opus_int16)thrhld_Q15, psEnc->sCmn.fs_kHz, psEnc->sCmn.pitchEstimationComplexity, psEnc->sCmn.nb_subfr ) == 0 )
|
find_LPC_FIX.c | 38 opus_int16 NLSF_Q15[], /* O NLSFs */ 39 const opus_int16 x[], /* I Input signal */ 52 opus_int16 a_tmp_Q12[ MAX_LPC_ORDER ]; 53 opus_int16 NLSF0_Q15[ MAX_LPC_ORDER ]; 54 opus_int16 LPC_res[ MAX_FRAME_LENGTH + MAX_NB_SUBFR * MAX_LPC_ORDER ];
|
/external/chromium_org/third_party/opus/src/celt/ |
cwrs.h | 42 void get_required_bits(opus_int16 *bits, int N, int K, int frac);
|
kiss_fft.h | 52 # define kiss_twiddle_scalar opus_int16 86 opus_int16 factors[2*MAXFACTORS]; 87 const opus_int16 *bitrev;
|
/external/chromium_org/third_party/opus/src/silk/float/ |
wrappers_FLP.c | 38 opus_int16 *NLSF_Q15, /* O NLSF vector [ LPC_order ] */ 56 const opus_int16 *NLSF_Q15, /* I NLSF vector [ LPC_order ] */ 61 opus_int16 a_fix_Q12[ MAX_LPC_ORDER ]; 76 opus_int16 NLSF_Q15[ MAX_LPC_ORDER ], /* I/O Normalized LSFs (quant out) (0 - (2^15-1)) */ 77 const opus_int16 prev_NLSF_Q15[ MAX_LPC_ORDER ] /* I Previous Normalized LSFs (0 - (2^15-1)) */ 81 opus_int16 PredCoef_Q12[ 2 ][ MAX_LPC_ORDER ]; 107 silk_DWORD_ALIGN opus_int16 PredCoef_Q12[ 2 ][ MAX_LPC_ORDER ]; 108 opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ]; 112 opus_int16 AR2_Q13[ MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER ]; 136 LTPCoef_Q14[ i ] = (opus_int16)silk_float2int( psEncCtrl->LTPCoef[ i ] * 16384.0f ) [all...] |