/external/libopus/silk/ |
resampler_rom.h | 45 static const opus_int16 silk_resampler_down2_0 = 9872; 46 static const opus_int16 silk_resampler_down2_1 = 39809 - 65536; 49 static const opus_int16 silk_resampler_up2_hq_0[ 3 ] = { 1746, 14986, 39083 - 65536 }; 50 static const opus_int16 silk_resampler_up2_hq_1[ 3 ] = { 6854, 25769, 55542 - 65536 }; 53 extern const opus_int16 silk_Resampler_3_4_COEFS[ 2 + 3 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ]; 54 extern const opus_int16 silk_Resampler_2_3_COEFS[ 2 + 2 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ]; 55 extern const opus_int16 silk_Resampler_1_2_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR1 / 2 ]; 56 extern const opus_int16 silk_Resampler_1_3_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ]; 57 extern const opus_int16 silk_Resampler_1_4_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ]; 58 extern const opus_int16 silk_Resampler_1_6_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] [all...] |
resampler_rom.c | 40 /* const opus_int16 silk_resampler_up2_hq_notch[ 4 ] = { 9634, -7012, 7209, 30474 }; */ 43 silk_DWORD_ALIGN const opus_int16 silk_Resampler_3_4_COEFS[ 2 + 3 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = { 50 silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS[ 2 + 2 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = { 56 silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_2_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR1 / 2 ] = { 61 silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_3_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = { 66 silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_4_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = { 71 silk_DWORD_ALIGN const opus_int16 silk_Resampler_1_6_COEFS[ 2 + RESAMPLER_DOWN_ORDER_FIR2 / 2 ] = { 76 silk_DWORD_ALIGN const opus_int16 silk_Resampler_2_3_COEFS_LQ[ 2 + 2 * 2 ] = { 83 silk_DWORD_ALIGN const opus_int16 silk_resampler_frac_FIR_12[ 12 ][ RESAMPLER_ORDER_FIR_12 / 2 ] = {
|
table_LSF_cos.c | 36 const opus_int16 silk_LSFCosTab_FIX_Q12[ LSF_COS_TAB_SZ_FIX + 1 ] = {
|
resampler_private.h | 47 opus_int16 out[], /* O Output signal */ 48 const opus_int16 in[], /* I Input signal */ 55 opus_int16 out[], /* O Output signal */ 56 const opus_int16 in[], /* I Input signal */ 63 opus_int16 *out, /* O Output signal [ 2 * len ] */ 64 const opus_int16 *in, /* I Input signal [ len ] */ 71 opus_int16 *out, /* O Output signal [ 2 * len ] */ 72 const opus_int16 *in, /* I Input signal [ len ] */ 80 const opus_int16 in[], /* I Input signal */ 81 const opus_int16 A_Q14[], /* I AR coefficients, Q14 * [all...] |
interpolate.c | 36 opus_int16 xi[ MAX_LPC_ORDER ], /* O interpolated vector */ 37 const opus_int16 x0[ MAX_LPC_ORDER ], /* I first vector */ 38 const opus_int16 x1[ MAX_LPC_ORDER ], /* I second vector */ 49 xi[ i ] = (opus_int16)silk_ADD_RSHIFT( x0[ i ], silk_SMULBB( x1[ i ] - x0[ i ], ifact_Q2 ), 2 );
|
bwexpander.c | 36 opus_int16 *ar, /* I/O AR filter to be expanded (without leading 1) */ 47 ar[ i ] = (opus_int16)silk_RSHIFT_ROUND( silk_MUL( chirp_Q16, ar[ i ] ), 16 ); 50 ar[ d - 1 ] = (opus_int16)silk_RSHIFT_ROUND( silk_MUL( chirp_Q16, ar[ d - 1 ] ), 16 );
|
resampler_private_IIR_FIR.c | 36 static OPUS_INLINE opus_int16 *silk_resampler_private_IIR_FIR_INTERPOL( 37 opus_int16 *out, 38 opus_int16 *buf, 44 opus_int16 *buf_ptr; 60 *out++ = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( res_Q15, 15 ) ); 67 opus_int16 out[], /* O Output signal */ 68 const opus_int16 in[], /* I Input signal */ 75 VARDECL( opus_int16, buf ); 78 ALLOC( buf, 2 * S->batchSize + RESAMPLER_ORDER_FIR_12, opus_int16 ); 81 silk_memcpy( buf, S->sFIR.i16, RESAMPLER_ORDER_FIR_12 * sizeof( opus_int16 ) ); [all...] |
resampler_structs.h | 42 opus_int16 i16[ SILK_RESAMPLER_MAX_FIR_ORDER ]; 44 opus_int16 delayBuf[ 48 ]; 53 const opus_int16 *Coefs;
|
main.h | 44 opus_int16 x1[], /* I/O Left input signal, becomes mid signal */ 45 opus_int16 x2[], /* I/O Right input signal, becomes side signal */ 59 opus_int16 x1[], /* I/O Left input signal, becomes mid signal */ 60 opus_int16 x2[], /* I/O Right input signal, becomes side signal */ 69 const opus_int16 x[], /* I Basis signal */ 70 const opus_int16 y[], /* I Target signal */ 195 opus_int16 xi[ MAX_LPC_ORDER ], /* O interpolated vector */ 196 const opus_int16 x0[ MAX_LPC_ORDER ], /* I first vector */ 197 const opus_int16 x1[ MAX_LPC_ORDER ], /* I second vector */ 204 opus_int16 B_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O (un)quantized LTP gains (…) [all...] |
PLC.h | 50 opus_int16 frame[], /* I/O signal */ 56 opus_int16 frame[], /* I/O signal */
|
inner_prod_aligned.c | 35 const opus_int16 *const inVec1, /* I input vector 1 */ 36 const opus_int16 *const inVec2, /* I input vector 2 */
|
structs.h | 46 opus_int16 xq[ 2 * MAX_FRAME_LENGTH ]; /* Buffer for quantized output signal */ 68 opus_int16 HPstate; /* State of differentiator in the lowest band */ 84 const opus_int16 nVectors; 85 const opus_int16 order; 86 const opus_int16 quantStepSize_Q16; 87 const opus_int16 invQuantStepSize_Q6; 94 const opus_int16 *deltaMin_Q15; 98 opus_int16 pred_prev_Q13[ 2 ]; 99 opus_int16 sMid[ 2 ]; 100 opus_int16 sSide[ 2 ] [all...] |
ana_filt_bank_1.c | 35 static opus_int16 A_fb1_20 = 5394 << 1; 36 static opus_int16 A_fb1_21 = -24290; /* (opus_int16)(20623 << 1) */ 40 const opus_int16 *in, /* I Input signal [N] */ 42 opus_int16 *outL, /* O Low band [N/2] */ 43 opus_int16 *outH, /* O High band [N/2] */ 71 outL[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( silk_ADD32( out_2, out_1 ), 11 ) ); 72 outH[ k ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( silk_SUB32( out_2, out_1 ), 11 ) );
|
NLSF_decode.c | 36 opus_int16 x_Q10[], /* O Output [ order ] */ 40 const opus_int16 order /* I Number of input values */ 47 pred_Q10 = silk_RSHIFT( silk_SMULBB( out_Q10, (opus_int16)pred_coef_Q8[ i ] ), 8 ); 64 opus_int16 *pNLSF_Q15, /* O Quantized NLSF vector [ LPC_ORDER ] */ 71 opus_int16 ec_ix[ MAX_LPC_ORDER ]; 72 opus_int16 res_Q10[ MAX_LPC_ORDER ]; 73 opus_int16 W_tmp_QW[ MAX_LPC_ORDER ]; 80 pNLSF_Q15[ i ] = silk_LSHIFT( (opus_int16)pCB_element[ i ], 7 ); 96 pNLSF_Q15[ i ] = (opus_int16)silk_LIMIT( NLSF_Q15_tmp, 0, 32767 );
|
tables_other.c | 51 const opus_int16 silk_SNR_table_Q1[ TARGET_RATE_TAB_SZ ] = { 56 const opus_int16 silk_stereo_pred_quant_Q13[ STEREO_QUANT_TAB_SIZE ] = { 95 const opus_int16 silk_Quantization_Offsets_Q10[ 2 ][ 2 ] = { 100 const opus_int16 silk_LTPScales_table_Q14[ 3 ] = { 15565, 12288, 8192 };
|
macros.h | 40 /* (a32 * (opus_int32)((opus_int16)(b32))) >> 16 output have to be 32bit int */ 41 #define silk_SMULWB(a32, b32) ((((a32) >> 16) * (opus_int32)((opus_int16)(b32))) + ((((a32) & 0x0000FFFF) * (opus_int32)((opus_int16)(b32))) >> 16)) 43 /* a32 + (b32 * (opus_int32)((opus_int16)(c32))) >> 16 output have to be 32bit int */ 44 #define silk_SMLAWB(a32, b32, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) * (opus_int32)((opus_int16)(c32))) >> 16))) 52 /* (opus_int32)((opus_int16)(a3))) * (opus_int32)((opus_int16)(b32)) output have to be 32bit int */ 53 #define silk_SMULBB(a32, b32) ((opus_int32)((opus_int16)(a32)) * (opus_int32)((opus_int16)(b32)) [all...] |
LPC_analysis_filter.c | 43 opus_int16 *out, /* O Output signal */ 44 const opus_int16 *in, /* I Input signal */ 45 const opus_int16 *B, /* I MA prediction coefficients, Q12 [order] */ 52 opus_int16 mem[SILK_MAX_ORDER_LPC]; 53 opus_int16 num[SILK_MAX_ORDER_LPC]; 57 const opus_int16 *in_ptr; 100 out[ ix ] = (opus_int16)silk_SAT16( out32 ); 104 silk_memset( out, 0, d * sizeof( opus_int16 ) );
|
/external/libopus/celt/tests/ |
test_unit_types.c | 37 opus_int16 i = 1; 41 fprintf(stderr, "opus_int16 isn't 16 bits\n"); 44 if (sizeof(opus_int16)*2 != sizeof(opus_int32))
|
/external/libopus/include/ |
opus_types.h | 40 typedef int16_t opus_int16; typedef 50 typedef _G_int16 opus_int16; typedef 53 typedef short opus_int16; typedef 60 typedef short opus_int16; typedef 66 typedef __int16 opus_int16; typedef 73 typedef SInt16 opus_int16; typedef 81 typedef int16_t opus_int16; typedef 90 typedef int16 opus_int16; typedef 98 typedef short opus_int16; typedef 106 typedef short opus_int16; typedef 116 typedef short opus_int16; typedef 122 typedef signed short opus_int16; typedef 129 typedef short opus_int16; typedef 136 typedef short opus_int16; typedef 144 typedef short opus_int16; typedef [all...] |
/external/libopus/celt/ |
static_modes_fixed.h | 39 static const opus_int16 logN400[21] = { 45 static const opus_int16 cache_index50[105] = { 343 static const opus_int16 fft_bitrev480[480] = { 381 static const opus_int16 fft_bitrev240[240] = { 403 static const opus_int16 fft_bitrev120[120] = { 417 static const opus_int16 fft_bitrev60[60] = {
|
modes.h | 52 const opus_int16 *index; 67 const opus_int16 *eBands; /**< Definition for each "pseudo-critical band" */ 75 const opus_int16 *logN;
|
/external/libopus/silk/fixed/ |
main_FIX.h | 97 const opus_int16 x[] /* I Speech signal */ 107 const opus_int16 *pitch_res, /* I LPC residual from pitch analysis */ 108 const opus_int16 *x, /* I Input signal [ frame_length + la_shape ] */ 116 const opus_int16 *input, /* I Input data to correlate */ 136 opus_int16 res[], /* O residual */ 137 const opus_int16 x[], /* I Speech signal */ 145 const opus_int16 res_pitch[], /* I Residual from pitch analysis */ 146 const opus_int16 x[], /* I Speech signal */ 153 opus_int16 NLSF_Q15[], /* O NLSFs */ 154 const opus_int16 x[], /* I Input signal (…) [all...] |
LTP_analysis_filter_FIX.c | 35 opus_int16 *LTP_res, /* O LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length ) */ 36 const opus_int16 *x, /* I Pointer to input signal with at least max( pitchL ) preceding samples */ 37 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe */ 45 const opus_int16 *x_ptr, *x_lag_ptr; 46 opus_int16 Btmp_Q14[ LTP_ORDER ]; 47 opus_int16 *LTP_res_ptr; 72 LTP_res_ptr[ i ] = (opus_int16)silk_SAT16( (opus_int32)x_ptr[ i ] - LTP_est );
|
apply_sine_window_FIX.c | 44 static const opus_int16 freq_table_Q16[ 27 ] = { 51 opus_int16 px_win[], /* O Pointer to windowed signal */ 52 const opus_int16 px[], /* I Pointer to input signal */ 91 px_win[ k ] = (opus_int16)silk_SMULWB( silk_RSHIFT( S0_Q16 + S1_Q16, 1 ), px[ k ] ); 92 px_win[ k + 1 ] = (opus_int16)silk_SMULWB( S1_Q16, px[ k + 1] ); 96 px_win[ k + 2 ] = (opus_int16)silk_SMULWB( silk_RSHIFT( S0_Q16 + S1_Q16, 1 ), px[ k + 2] ); 97 px_win[ k + 3 ] = (opus_int16)silk_SMULWB( S0_Q16, px[ k + 3 ] );
|
vector_ops_FIX.c | 36 opus_int16 *data_out, 37 const opus_int16 *data_in, 47 data_out[ i ] = (opus_int16)silk_CHECK_FIT16( tmp32 ); 71 const opus_int16 *const inVec1, /* I input vector 1 */ 72 const opus_int16 *const inVec2, /* I input vector 2 */ 85 const opus_int16 *inVec1, /* I input vector 1 */ 86 const opus_int16 *inVec2, /* I input vector 2 */
|