HomeSort by relevance Sort by last modified time
    Searched refs:opus_int16 (Results 76 - 100 of 118) sorted by null

1 2 34 5

  /external/chromium_org/third_party/opus/src/silk/fixed/
autocorr_FIX.c 38 const opus_int16 *inputData, /* I Input data to correlate */
find_LTP_FIX.c 40 opus_int16 LTP_coefs_Q14[ LTP_ORDER ]
44 opus_int16 b_Q14[ MAX_NB_SUBFR * LTP_ORDER ], /* O LTP coefs */
47 const opus_int16 r_lpc[], /* I residual signal after LPC signal + state for first 10 ms */
57 const opus_int16 *r_ptr, *lag_ptr;
58 opus_int16 *b_Q14_ptr;
236 opus_int16 LTP_coefs_Q14[ LTP_ORDER ]
242 LTP_coefs_Q14[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( LTP_coefs_Q16[ i ], 2 ) );
encode_frame_FIX.c 87 opus_int16 *x_frame, *res_pitch_frame;
89 opus_int16 res_pitch[ 2 * MAX_FRAME_LENGTH + LA_PITCH_MAX ];
94 opus_int16 gainMult_Q8;
95 opus_int16 ec_prevLagIndex_copy;
120 silk_memcpy( x_frame + LA_SHAPE_MS * psEnc->sCmn.fs_kHz, psEnc->sCmn.inputBuf + 1, psEnc->sCmn.frame_length * sizeof( opus_int16 ) );
292 ( psEnc->sCmn.ltp_mem_length + LA_SHAPE_MS * psEnc->sCmn.fs_kHz ) * sizeof( opus_int16 ) );
warped_autocorrelation_FIX.c 41 const opus_int16 *input, /* I Input data to correlate */
noise_shape_analysis_FIX.c 146 const opus_int16 *pitch_res, /* I LPC residual from pitch analysis */
147 const opus_int16 *x /* I Input signal [ frame_length + la_shape ] */
159 opus_int16 x_windowed[ SHAPE_LPC_WIN_MAX ];
160 const opus_int16 *x_ptr, *pitch_res_ptr;
269 silk_memcpy( x_windowed + shift, x_ptr + shift, flat_part * sizeof(opus_int16) );
344 psEncCtrl->AR1_Q13[ k * MAX_SHAPE_LPC_ORDER + i ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( AR1_Q24[ i ], 11 ) );
345 psEncCtrl->AR2_Q13[ k * MAX_SHAPE_LPC_ORDER + i ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( AR2_Q24[ i ], 11 ) );
385 silk_assert( SILK_FIX_CONST( HARM_HP_NOISE_COEF, 24 ) < SILK_FIX_CONST( 0.5, 24 ) ); /* Guarantees that second argument to SMULWB() is within range of an opus_int16*/
  /external/chromium_org/third_party/opus/src/silk/
typedef.h 44 #define silk_int16_MIN ((opus_int16)0x8000) /* -2^15 = -32768 */
decode_core.c 41 opus_int16 xq[], /* O Decoded speech */
46 opus_int16 *A_Q12, *B_Q14, *pxq, A_Q12_tmp[ MAX_LPC_ORDER ];
47 VARDECL( opus_int16, sLTP );
57 ALLOC( sLTP, psDec->ltp_mem_length, opus_int16 );
101 silk_memcpy( A_Q12_tmp, A_Q12, psDec->LPC_order * sizeof( opus_int16 ) );
128 silk_memset( B_Q14, 0, LTP_ORDER * sizeof( opus_int16 ) );
146 silk_memcpy( &psDec->outBuf[ psDec->ltp_mem_length ], xq, 2 * psDec->subfr_length * sizeof( opus_int16 ) );
224 pxq[ i ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( silk_SMULWW( sLPC_Q14[ MAX_LPC_ORDER + i ], Gain_Q10 ), 8 ) );
227 /* DEBUG_STORE_DATA( dec.pcm, pxq, psDec->subfr_length * sizeof( opus_int16 ) ) */
NLSF_del_dec_quant.c 37 const opus_int16 x_Q10[], /* I Input [ order ] */
38 const opus_int16 w_Q5[], /* I Weights [ order ] */
40 const opus_int16 ec_ix[], /* I Indices to entropy coding tables [ order ] */
43 const opus_int16 inv_quant_step_size_Q6, /* I Inverse quantization step size */
45 const opus_int16 order /* I Number of input values */
53 opus_int16 prev_out_Q10[ 2 * NLSF_QUANT_DEL_DEC_STATES ];
dec_API.c 83 opus_int16 *samplesOut, /* O Decoded output speech vector */
89 opus_int16 *samplesOut1_tmp[ 2 ];
90 VARDECL( opus_int16, samplesOut1_tmp_storage );
91 VARDECL( opus_int16, samplesOut2_tmp );
93 opus_int16 *resample_out_ptr;
252 opus_int16 );
284 silk_memset( &samplesOut1_tmp[ n ][ 2 ], 0, nSamplesOutDec * sizeof( opus_int16 ) );
294 silk_memcpy( samplesOut1_tmp[ 0 ], psDec->sStereo.sMid, 2 * sizeof( opus_int16 ) );
295 silk_memcpy( psDec->sStereo.sMid, &samplesOut1_tmp[ 0 ][ nSamplesOutDec ], 2 * sizeof( opus_int16 ) );
303 decControl->nChannelsAPI == 2 ? *nSamplesOut : 0, opus_int16 );
    [all...]
NSQ_del_dec.c 63 const opus_int16 sLTP[], /* I Re-whitened LTP state in Q0 */
83 opus_int16 xq[], /* O */
86 const opus_int16 a_Q12[], /* I Short term prediction coefs */
87 const opus_int16 b_Q14[], /* I Long term prediction coefs */
88 const opus_int16 AR_shp_Q13[], /* I Noise shaping coefs */
112 const opus_int16 PredCoef_Q12[ 2 * MAX_LPC_ORDER ], /* I Short term prediction coefs */
113 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ], /* I Long term prediction coefs */
114 const opus_int16 AR2_Q13[ MAX_NB_SUBFR * MAX_SHAPE_LPC_ORDER ], /* I Noise shaping coefs */
126 const opus_int16 *A_Q12, *B_Q14, *AR_shp_Q13;
127 opus_int16 *pxq
    [all...]
VQ_WMat_EC.c 38 const opus_int16 *in_Q14, /* I input vector to be quantized */
48 opus_int16 diff_Q14[ 5 ];
sort.c 89 opus_int16 *a, /* I/O Unsorted / Sorted vector */
136 opus_int16 *a, /* I/O Unsorted / Sorted vector */
A2NLSF.c 113 opus_int16 *NLSF, /* O Normalized Line Spectral Frequencies in Q15 (0..2^15-1) [d] */
199 NLSF[ root_ix ] = (opus_int16)silk_min_32( silk_LSHIFT( (opus_int32)k, 8 ) + ffrac, silk_int16_MAX );
225 NLSF[ 0 ] = (opus_int16)silk_DIV32_16( 1 << 15, d + 1 );
227 NLSF[ k ] = (opus_int16)silk_SMULBB( k + 1, NLSF[ 0 ] );
VAD.c 81 const opus_int16 pIn[] /* I PCM input */
87 opus_int16 HPstateTmp;
88 opus_int16 X[ VAD_N_BANDS ][ MAX_FRAME_LENGTH / 2 ];
206 pSNR_dB_Q7 = (opus_int16)( 3 * silk_SQRT_APPROX( sumSquared ) ); /* Q7 */
sum_sqr_shift.c 39 const opus_int16 *x, /* I Input vector */
CNG.c 57 residual_Q10[ i ] = (opus_int16)silk_SAT16( silk_SMULWW( exc_buf_Q14[ idx ], Gain_Q16 >> 4 ) );
82 opus_int16 frame[], /* I/O Signal */
88 opus_int16 A_Q12[ MAX_LPC_ORDER ];
LPC_inv_pred_gain.c 110 const opus_int16 *A_Q12, /* I Prediction coefficients, Q12 [order] */
LP_variable_cutoff.c 102 opus_int16 *frame, /* I/O Low-pass filtered output signal */
  /external/chromium_org/third_party/opus/src/include/
opus_custom.h 205 * @param [in] pcm <tt>opus_int16*</tt>: PCM audio in signed 16-bit format (native endian).
218 const opus_int16 *pcm,
302 * @param [out] pcm <tt>opus_int16*</tt>: Output signal (interleaved if 2 channels). length
303 * is frame_size*channels*sizeof(opus_int16)
311 opus_int16 *pcm,
opus_multistream.h 321 * @param[in] pcm <tt>const opus_int16*</tt>: The input signal as interleaved
351 const opus_int16 *pcm,
535 * @param[out] pcm <tt>opus_int16*</tt>: Output signal, with interleaved
561 opus_int16 *pcm,
573 * @param[out] pcm <tt>opus_int16*</tt>: Output signal, with interleaved
opus.h 136 * <li>audio_frame is the audio data in opus_int16 (or float for opus_encode_float())</li>
237 * @param [in] pcm <tt>opus_int16*</tt>: Input signal (interleaved if 2 channels). length is frame_size*channels*sizeof(opus_int16)
265 const opus_int16 *pcm,
373 * @li decoded is the decoded audio data in opus_int16 (or float for opus_decode_float())
450 * @param [out] pcm <tt>opus_int16*</tt>: Output signal (interleaved if 2 channels). length
451 * is frame_size*channels*sizeof(opus_int16)
466 opus_int16 *pcm,
    [all...]
  /external/chromium_org/third_party/opus/src/silk/float/
find_LPC_FLP.c 39 opus_int16 NLSF_Q15[], /* O NLSFs */
49 opus_int16 NLSF0_Q15[ MAX_LPC_ORDER ];
pitch_analysis_core_FLP.c 69 opus_int16 *lagIndex, /* O Lag Index */
83 opus_int16 frame_8_FIX[ PE_MAX_FRAME_LENGTH_MS * 8 ];
84 opus_int16 frame_4_FIX[ PE_MAX_FRAME_LENGTH_MS * 4 ];
92 opus_int16 d_comp[ (PE_MAX_LAG >> 1) + 5 ];
137 opus_int16 frame_16_FIX[ 16 * PE_MAX_FRAME_LENGTH_MS ];
144 opus_int16 frame_12_FIX[ 12 * PE_MAX_FRAME_LENGTH_MS ];
271 d_comp[ length_d_comp ] = (opus_int16)( i - 2 );
464 *lagIndex = (opus_int16)( lag_new - min_lag );
474 *lagIndex = (opus_int16)( lag - min_lag_8kHz );
  /external/chromium_org/third_party/opus/src/celt/
mathops.h 42 #define FRAC_MUL16(a,b) ((16384+((opus_int32)(opus_int16)(a)*(opus_int16)(b)))>>15)
113 static inline opus_int16 celt_ilog2(opus_int32 x)
143 static inline opus_int16 celt_zlog2(opus_val32 x)
rate.c 56 static const opus_int16 maxN[15] = {
59 static const opus_int16 maxK[15] = {
81 const opus_int16 *eBands = m->eBands;
83 opus_int16 *cindex;
87 cindex = (opus_int16 *)opus_alloc(sizeof(cache->index[0])*m->nbEBands*(LM+2));
134 opus_int16 tmp[MAX_PULSES+1];

Completed in 203 milliseconds

1 2 34 5