HomeSort by relevance Sort by last modified time
    Searched refs:opus_int32 (Results 26 - 50 of 134) sorted by null

12 3 4 5 6

  /external/chromium_org/third_party/opus/src/silk/
tables_other.c 42 const opus_int32 silk_TargetRate_table_NB[ TARGET_RATE_TAB_SZ ] = {
45 const opus_int32 silk_TargetRate_table_MB[ TARGET_RATE_TAB_SZ ] = {
48 const opus_int32 silk_TargetRate_table_WB[ TARGET_RATE_TAB_SZ ] = {
116 const opus_int32 silk_Transition_LP_B_Q28[ TRANSITION_INT_NUM ][ TRANSITION_NB ] =
126 const opus_int32 silk_Transition_LP_A_Q28[ TRANSITION_INT_NUM ][ TRANSITION_NA ] =
resampler_private_IIR_FIR.c 38 opus_int32 max_index_Q16,
39 opus_int32 index_increment_Q16
42 opus_int32 index_Q16, res_Q15;
44 opus_int32 table_index;
68 opus_int32 inLen /* I Number of input samples */
72 opus_int32 nSamplesIn;
73 opus_int32 max_index_Q16, index_increment_Q16;
77 silk_memcpy( buf, S->sFIR, RESAMPLER_ORDER_FIR_12 * sizeof( opus_int32 ) );
94 silk_memcpy( buf, &buf[ nSamplesIn << 1 ], RESAMPLER_ORDER_FIR_12 * sizeof( opus_int32 ) );
101 silk_memcpy( S->sFIR, &buf[ nSamplesIn << 1 ], RESAMPLER_ORDER_FIR_12 * sizeof( opus_int32 ) );
    [all...]
SigProc_FIX.h 55 opus_int32 Fs_Hz_in, /* I Input sampling rate (Hz) */
56 opus_int32 Fs_Hz_out, /* I Output sampling rate (Hz) */
67 opus_int32 inLen /* I Number of input samples */
74 opus_int32 *S, /* I/O State vector [ 2 ] */
77 opus_int32 inLen /* I Number of input samples */
84 opus_int32 *S, /* I/O State vector [ 6 ] */
87 opus_int32 inLen /* I Number of input samples */
97 const opus_int32 *B_Q28, /* I MA coefficients [3] */
98 const opus_int32 *A_Q28, /* I AR coefficients [2] */
99 opus_int32 *S, /* I/O State vector [2] (…)
    [all...]
main.h 48 opus_int32 mid_side_rates_bps[], /* O Bitrates for mid and side signals */
49 opus_int32 total_rate_bps, /* I Total bitrate */
61 const opus_int32 pred_Q13[], /* I Predictors */
67 opus_int32 silk_stereo_find_predictor( /* O Returns predictor in Q13 */
68 opus_int32 *ratio_Q14, /* O Ratio of residual and mid energies */
71 opus_int32 mid_res_amp_Q0[], /* I/O Smoothed mid, residual norms */
78 opus_int32 pred_Q13[], /* I/O Predictors (out: quantized) */
97 opus_int32 pred_Q13[] /* O Predictors */
140 opus_int32 TargetRate_bps /* I Target max bitrate (bps) */
172 opus_int32 gain_Q16[ MAX_NB_SUBFR ], /* I/O gains (quantized out) (…)
    [all...]
MacroDebug.h 55 static inline opus_int32 silk_ADD32_(opus_int32 a, opus_int32 b, char *file, int line){
56 opus_int32 ret;
103 static inline opus_int32 silk_SUB32_(opus_int32 a, opus_int32 b, char *file, int line){
104 opus_int32 ret;
137 res = (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a16), (b16) ) );
138 if ( res != silk_SAT16( (opus_int32)a16 + (opus_int32)b16 )
    [all...]
NLSF_VQ.c 36 opus_int32 err_Q26[], /* O Quantization errors [K] */
44 opus_int32 diff_Q15, sum_error_Q30, sum_error_Q26;
54 diff_Q15 = silk_SUB_LSHIFT32( in_Q15[ m ], (opus_int32)*pCB_Q8++, 7 ); /* range: [ -32767 : 32767 ]*/
58 diff_Q15 = silk_SUB_LSHIFT32( in_Q15[m + 1], (opus_int32)*pCB_Q8++, 7 ); /* range: [ -32767 : 32767 ]*/
bwexpander.c 38 opus_int32 chirp_Q16 /* I Chirp factor (typically in the range 0 to 1) */
42 opus_int32 chirp_minus_one_Q16 = chirp_Q16 - 65536;
NLSF_VQ_weights_laroia.c 49 opus_int32 tmp1_int, tmp2_int;
56 tmp1_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp1_int );
58 tmp2_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp2_int );
65 tmp1_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp1_int );
70 tmp2_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp2_int );
77 tmp1_int = silk_DIV32_16( (opus_int32)1 << ( 15 + NLSF_W_Q ), tmp1_int );
sum_sqr_shift.c 37 opus_int32 *energy, /* O Energy of x, after shifting to the right */
44 opus_int32 nrg_tmp, nrg;
54 nrg = (opus_int32)silk_RSHIFT_uint( (opus_uint32)nrg, 2 );
62 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, (opus_uint32)nrg_tmp, shft );
65 nrg = (opus_int32)silk_RSHIFT_uint( (opus_uint32)nrg, 2 );
72 nrg = (opus_int32)silk_ADD_RSHIFT_uint( nrg, nrg_tmp, shft );
LP_variable_cutoff.c 42 opus_int32 B_Q28[ TRANSITION_NB ],
43 opus_int32 A_Q28[ TRANSITION_NA ],
45 const opus_int32 fac_Q16
76 fac_Q16 - ( (opus_int32)1 << 16 ) );
83 fac_Q16 - ( (opus_int32)1 << 16 ) );
87 silk_memcpy( B_Q28, silk_Transition_LP_B_Q28[ ind ], TRANSITION_NB * sizeof( opus_int32 ) );
88 silk_memcpy( A_Q28, silk_Transition_LP_A_Q28[ ind ], TRANSITION_NA * sizeof( opus_int32 ) );
91 silk_memcpy( B_Q28, silk_Transition_LP_B_Q28[ TRANSITION_INT_NUM - 1 ], TRANSITION_NB * sizeof( opus_int32 ) );
92 silk_memcpy( A_Q28, silk_Transition_LP_A_Q28[ TRANSITION_INT_NUM - 1 ], TRANSITION_NA * sizeof( opus_int32 ) );
106 opus_int32 B_Q28[ TRANSITION_NB ], A_Q28[ TRANSITION_NA ], fac_Q16 = 0
    [all...]
stereo_MS_to_LR.c 39 const opus_int32 pred_Q13[], /* I Predictors */
45 opus_int32 sum, diff, pred0_Q13, pred1_Q13;
56 denom_Q16 = silk_DIV32_16( (opus_int32)1 << 16, STEREO_INTERP_LEN_MS * fs_kHz );
63 sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */
64 sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */
71 sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */
72 sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */
80 sum = x1[ n + 1 ] + (opus_int32)x2[ n + 1 ];
81 diff = x1[ n + 1 ] - (opus_int32)x2[ n + 1 ];
ana_filt_bank_1.c 41 opus_int32 *S, /* I/O State vector [2] */
44 const opus_int32 N /* I Number of input samples */
48 opus_int32 in32, X, Y, out_1, out_2;
53 in32 = silk_LSHIFT( (opus_int32)in[ 2 * k ], 10 );
62 in32 = silk_LSHIFT( (opus_int32)in[ 2 * k + 1 ], 10 );
biquad_alt.c 44 const opus_int32 *B_Q28, /* I MA coefficients [3] */
45 const opus_int32 *A_Q28, /* I AR coefficients [2] */
46 opus_int32 *S, /* I/O State vector [2] */
48 const opus_int32 len, /* I signal length (must be even) */
54 opus_int32 inval, A0_U_Q28, A0_L_Q28, A1_U_Q28, A1_L_Q28, out32_Q14;
control_SNR.c 38 opus_int32 TargetRate_bps /* I Target max bitrate (bps) */
42 opus_int32 frac_Q6;
43 const opus_int32 *rateTable;
resampler_private_up2_HQ.c 39 opus_int32 *S, /* I/O Resampler state [ 6 ] */
42 opus_int32 len /* I Number of input samples */
45 opus_int32 k;
46 opus_int32 in32, out32_1, out32_2, Y, X;
58 in32 = silk_LSHIFT( (opus_int32)in[ k ], 10 );
108 opus_int32 len /* I Number of input samples */
  /external/chromium_org/third_party/opus/src/silk/fixed/
schur64_FIX.c 36 opus_int32 silk_schur64( /* O returns residual energy */
37 opus_int32 rc_Q16[], /* O Reflection coefficients [order] Q16 */
38 const opus_int32 c[], /* I Correlations [order+1] */
39 opus_int32 order /* I Prediction order */
43 opus_int32 C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
44 opus_int32 Ctmp1_Q30, Ctmp2_Q30, rc_tmp_Q31;
50 silk_memset( rc_Q16, 0, order * sizeof( opus_int32 ) );
vector_ops_FIX.c 38 opus_int32 gain_Q16, /* I Gain in Q16 */
43 opus_int32 tmp32;
53 opus_int32 *data1, /* I/O Q0/Q18 */
54 opus_int32 gain_Q26, /* I Q26 */
61 data1[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( silk_SMULL( data1[ i ], gain_Q26 ), 8 ) ); /* OUTPUT: Q18 */
70 opus_int32 silk_inner_prod_aligned(
77 opus_int32 sum = 0;
101 const opus_int32 len /* I Length of input vector */
104 opus_int32 max = 0, i, lvl = 0, ind;
autocorr_FIX.c 36 opus_int32 *results, /* O Result (length correlationCount) */
62 results[ 0 ] = silk_LSHIFT( (opus_int32)silk_CHECK_FIT32( corr64 ), -nRightShifts );
69 results[ 0 ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr64, nRightShifts ) );
73 results[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( silk_inner_prod16_aligned_64( inputData, inputData + i, inputDataSize - i ), nRightShifts ) );
apply_sine_window_FIX.c 58 opus_int32 S0_Q16, S1_Q16;
72 c_Q16 = silk_SMULWB( (opus_int32)f_Q16, -f_Q16 );
83 S0_Q16 = ( (opus_int32)1 << 16 );
85 S1_Q16 = ( (opus_int32)1 << 16 ) + silk_RSHIFT( c_Q16, 1 ) + silk_RSHIFT( length, 4 );
94 S0_Q16 = silk_min( S0_Q16, ( (opus_int32)1 << 16 ) );
99 S1_Q16 = silk_min( S1_Q16, ( (opus_int32)1 << 16 ) );
prefilter_FIX.c 38 opus_int32 st_res_Q12[], /* I short term residual signal */
39 opus_int32 xw_Q3[], /* O prefiltered signal */
40 opus_int32 HarmShapeFIRPacked_Q12, /* I Harmonic shaping coeficients */
42 opus_int32 LF_shp_Q14, /* I Low-frequancy shaping coeficients */
48 opus_int32 state[], /* I/O State [order + 1] */
49 opus_int32 res_Q2[], /* O Residual signal [length] */
58 opus_int32 acc_Q11, tmp1, tmp2;
85 res_Q2[ n ] = silk_LSHIFT( (opus_int32)input[ n ], 2 ) - silk_RSHIFT_ROUND( acc_Q11, 9 );
92 opus_int32 xw_Q3[], /* O Weighted signal */
98 opus_int32 tmp_32
    [all...]
schur_FIX.c 36 opus_int32 silk_schur( /* O Returns residual energy */
38 const opus_int32 *c, /* I correlations [order+1] */
39 const opus_int32 order /* I prediction order */
43 opus_int32 C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
44 opus_int32 Ctmp1, Ctmp2, rc_tmp_Q15;
warped_autocorrelation_FIX.c 39 opus_int32 *corr, /* O Result [order + 1] */
48 opus_int32 tmp1_QS, tmp2_QS;
49 opus_int32 state_QS[ MAX_SHAPE_LPC_ORDER + 1 ] = { 0 };
58 tmp1_QS = silk_LSHIFT32( (opus_int32)input[ n ], QS );
80 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_LSHIFT64( corr_QC[ i ], lsh ) );
84 corr[ i ] = (opus_int32)silk_CHECK_FIT32( silk_RSHIFT64( corr_QC[ i ], -lsh ) );
  /external/chromium_org/third_party/opus/src/include/
opus_multistream.h 76 * @param[in] x <tt>opus_int32</tt>: The index of the stream whose encoder you
89 * @param[in] x <tt>opus_int32</tt>: The index of the stream whose decoder you
203 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_encoder_get_size(
211 * @param Fs <tt>opus_int32</tt>: Sampling rate of the input signal (in Hz).
252 opus_int32 Fs,
270 * @param Fs <tt>opus_int32</tt>: Sampling rate of the input signal (in Hz).
311 opus_int32 Fs,
338 * @param [in] max_data_bytes <tt>opus_int32</tt>: Size of the allocated
354 opus_int32 max_data_bytes
383 * @param [in] max_data_bytes <tt>opus_int32</tt>: Size of the allocate
    [all...]
  /external/chromium_org/third_party/opus/src/silk/float/
SigProc_FLP.h 56 opus_int32 order /* I prediction order */
68 opus_int32 order /* I prediction order */
162 static inline opus_int32 silk_float2int( silk_float x )
164 return (opus_int32)float2int( x );
171 opus_int32 length
174 opus_int32 k;
176 out[k] = silk_SAT16( (opus_int32)float2int( in[k] ) );
184 opus_int32 length
187 opus_int32 k;
  /external/chromium_org/third_party/opus/src/src/
opus_private.h 74 int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len,
83 opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen, int self_delimited);

Completed in 303 milliseconds

12 3 4 5 6