/external/libopus/silk/ |
D | MacroCount.h | 50 printf("ops_count = %d \n ", (opus_int32)ops_count); in silk_PrintCount() 54 static OPUS_INLINE opus_int32 silk_MUL(opus_int32 a32, opus_int32 b32){ in silk_MUL() 55 opus_int32 ret; in silk_MUL() 69 static OPUS_INLINE opus_int32 silk_MLA(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_MLA() 70 opus_int32 ret; in silk_MLA() 77 static OPUS_INLINE opus_int32 silk_MLA_uint(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32){ in silk_MLA_uint() 85 static OPUS_INLINE opus_int32 silk_SMULWB(opus_int32 a32, opus_int32 b32){ in silk_SMULWB() 86 opus_int32 ret; in silk_SMULWB() 88 …ret = (a32 >> 16) * (opus_int32)((opus_int16)b32) + (((a32 & 0x0000FFFF) * (opus_int32)((opus_int1… in silk_SMULWB() 92 static OPUS_INLINE opus_int32 silk_SMLAWB(opus_int32 a32, opus_int32 b32, opus_int32 c32){ in silk_SMLAWB() [all …]
|
D | structs.h | 47 opus_int32 sLTP_shp_Q14[ 2 * MAX_FRAME_LENGTH ]; 48 opus_int32 sLPC_Q14[ MAX_SUB_FRAME_LENGTH + NSQ_LPC_BUF_LENGTH ]; 49 opus_int32 sAR2_Q14[ MAX_SHAPE_LPC_ORDER ]; 50 opus_int32 sLF_AR_shp_Q14; 54 opus_int32 rand_seed; 55 opus_int32 prev_gain_Q16; 63 …opus_int32 AnaState[ 2 ]; /* Analysis filterbank state: 0-8 kHz … 64 …opus_int32 AnaState1[ 2 ]; /* Analysis filterbank state: 0-4 kHz … 65 …opus_int32 AnaState2[ 2 ]; /* Analysis filterbank state: 0-2 kHz … 66 …opus_int32 XnrgSubfr[ VAD_N_BANDS ]; /* Subframe energies … [all …]
|
D | MacroDebug.h | 55 static OPUS_INLINE opus_int32 silk_ADD32_(opus_int32 a, opus_int32 b, char *file, int line){ in silk_ADD32_() 56 opus_int32 ret; in silk_ADD32_() 103 static OPUS_INLINE opus_int32 silk_SUB32_(opus_int32 a, opus_int32 b, char *file, int line){ in silk_SUB32_() 104 opus_int32 ret; in silk_SUB32_() 137 res = (opus_int16)silk_SAT16( silk_ADD32( (opus_int32)(a16), (b16) ) ); in silk_ADD_SAT16_() 138 if ( res != silk_SAT16( (opus_int32)a16 + (opus_int32)b16 ) ) in silk_ADD_SAT16_() 150 static OPUS_INLINE opus_int32 silk_ADD_SAT32_(opus_int32 a32, opus_int32 b32, char *file, int line){ in silk_ADD_SAT32_() 151 opus_int32 res; in silk_ADD_SAT32_() 198 res = (opus_int16)silk_SAT16( silk_SUB32( (opus_int32)(a16), (b16) ) ); in silk_SUB_SAT16_() 199 if ( res != silk_SAT16( (opus_int32)a16 - (opus_int32)b16 ) ) in silk_SUB_SAT16_() [all …]
|
D | SigProc_FIX.h | 59 …opus_int32 Fs_Hz_in, /* I Input sampling rate (Hz) … 60 …opus_int32 Fs_Hz_out, /* I Output sampling rate (Hz) … 71 …opus_int32 inLen /* I Number of input samples … 78 …opus_int32 *S, /* I/O State vector [ 2 ] … 81 …opus_int32 inLen /* I Number of input samples … 88 …opus_int32 *S, /* I/O State vector [ 6 ] … 91 …opus_int32 inLen /* I Number of input samples … 101 …const opus_int32 *B_Q28, /* I MA coefficients [3] … 102 …const opus_int32 *A_Q28, /* I AR coefficients [2] … 103 …opus_int32 *S, /* I/O State vector [2] … [all …]
|
D | Inlines.h | 41 static OPUS_INLINE opus_int32 silk_CLZ64( opus_int64 in ) in silk_CLZ64() 43 opus_int32 in_upper; in silk_CLZ64() 45 in_upper = (opus_int32)silk_RSHIFT64(in, 32); in silk_CLZ64() 48 return 32 + silk_CLZ32( (opus_int32) in ); in silk_CLZ64() 57 opus_int32 in, /* I input */ in silk_CLZ_FRAC() 58 opus_int32 *lz, /* O number of leading zeros */ in silk_CLZ_FRAC() 59 opus_int32 *frac_Q7 /* O the 7 bits right after the leading one */ in silk_CLZ_FRAC() 62 opus_int32 lzeros = silk_CLZ32(in); in silk_CLZ_FRAC() 71 static OPUS_INLINE opus_int32 silk_SQRT_APPROX( opus_int32 x ) in silk_SQRT_APPROX() 73 opus_int32 y, lz, frac_Q7; in silk_SQRT_APPROX() [all …]
|
D | LPC_inv_pred_gain.c | 37 #define MUL32_FRAC_Q(a32, b32, Q) ((opus_int32)(silk_RSHIFT_ROUND64(silk_SMULL(a32, b32), Q))) 41 static opus_int32 LPC_inverse_pred_gain_QA( /* O Returns inverse prediction gain … in LPC_inverse_pred_gain_QA() 42 …opus_int32 A_QA[ 2 ][ SILK_MAX_ORDER_LPC ], /* I Prediction coefficients … in LPC_inverse_pred_gain_QA() 47 opus_int32 invGain_Q30, rc_Q31, rc_mult1_Q30, rc_mult2, tmp_QA; in LPC_inverse_pred_gain_QA() 48 opus_int32 *Aold_QA, *Anew_QA; in LPC_inverse_pred_gain_QA() 52 invGain_Q30 = (opus_int32)1 << 30; in LPC_inverse_pred_gain_QA() 63 rc_mult1_Q30 = ( (opus_int32)1 << 30 ) - silk_SMMUL( rc_Q31, rc_Q31 ); in LPC_inverse_pred_gain_QA() 97 rc_mult1_Q30 = ( (opus_int32)1 << 30 ) - silk_SMMUL( rc_Q31, rc_Q31 ); in LPC_inverse_pred_gain_QA() 109 opus_int32 silk_LPC_inverse_pred_gain( /* O Returns inverse prediction gain in energ… in silk_LPC_inverse_pred_gain() 115 opus_int32 Atmp_QA[ 2 ][ SILK_MAX_ORDER_LPC ]; in silk_LPC_inverse_pred_gain() [all …]
|
D | control.h | 48 opus_int32 nChannelsAPI; 51 opus_int32 nChannelsInternal; 54 opus_int32 API_sampleRate; 57 opus_int32 maxInternalSampleRate; 60 opus_int32 minInternalSampleRate; 63 opus_int32 desiredInternalSampleRate; 69 opus_int32 bitRate; 99 opus_int32 internalSampleRate; 120 opus_int32 nChannelsAPI; 123 opus_int32 nChannelsInternal; [all …]
|
D | macros.h | 51 #define silk_SMULWB(a32, b32) ((opus_int32)(((a32) * (opus_int64)((opus_int16)(b32))) >>… 53 …(a32, b32) ((((a32) >> 16) * (opus_int32)((opus_int16)(b32))) + ((((a32) & 0x0000FFFF) … 58 #define silk_SMLAWB(a32, b32, c32) ((opus_int32)((a32) + (((b32) * (opus_int64)((opus_int16)(… 60 …, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) … 65 #define silk_SMULWT(a32, b32) ((opus_int32)(((a32) * (opus_int64)((b32) >> 16)) >> 16)) 72 #define silk_SMLAWT(a32, b32, c32) ((opus_int32)((a32) + (((b32) * ((opus_int64)(c32) >> 16))… 78 #define silk_SMULBB(a32, b32) ((opus_int32)((opus_int16)(a32)) * (opus_int32)((opus_int1… 81 #define silk_SMLABB(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * (opus_int32)(… 84 #define silk_SMULBT(a32, b32) ((opus_int32)((opus_int16)(a32)) * ((b32) >> 16)) 87 #define silk_SMLABT(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * ((c32) >> 16)) [all …]
|
D | NSQ_del_dec.c | 38 opus_int32 sLPC_Q14[ MAX_SUB_FRAME_LENGTH + NSQ_LPC_BUF_LENGTH ]; 39 opus_int32 RandState[ DECISION_DELAY ]; 40 opus_int32 Q_Q10[ DECISION_DELAY ]; 41 opus_int32 Xq_Q14[ DECISION_DELAY ]; 42 opus_int32 Pred_Q15[ DECISION_DELAY ]; 43 opus_int32 Shape_Q14[ DECISION_DELAY ]; 44 opus_int32 sAR2_Q14[ MAX_SHAPE_LPC_ORDER ]; 45 opus_int32 LF_AR_Q14; 46 opus_int32 Seed; 47 opus_int32 SeedInit; [all …]
|
D | NSQ.c | 40 const opus_int32 x_Q3[], /* I input in Q3 */ 41 opus_int32 x_sc_Q10[], /* O input scaled with 1/Gain */ 43 opus_int32 sLTP_Q15[], /* O LTP state matching scaled input */ 46 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */ 55 const opus_int32 x_sc_Q10[], /* I */ 58 opus_int32 sLTP_Q15[], /* I/O LTP state */ 63 opus_int32 HarmShapeFIRPacked_Q14, /* I */ 65 opus_int32 LF_shp_Q14, /* I */ 66 opus_int32 Gain_Q16, /* I */ 81 …const opus_int32 x_Q3[], /* I Prefiltered input … in silk_NSQ_c() [all …]
|
D | main.h | 52 …opus_int32 mid_side_rates_bps[], /* O Bitrates for mid and side sign… 53 …opus_int32 total_rate_bps, /* I Total bitrate … 65 …const opus_int32 pred_Q13[], /* I Predictors … 71 opus_int32 silk_stereo_find_predictor( /* O Returns predictor in Q13 … 72 …opus_int32 *ratio_Q14, /* O Ratio of residual and mid ener… 75 …opus_int32 mid_res_amp_Q0[], /* I/O Smoothed mid, residual norms … 82 …opus_int32 pred_Q13[], /* I/O Predictors (out: quantized) … 101 …opus_int32 pred_Q13[] /* O Predictors … 144 …opus_int32 TargetRate_bps /* I Target max bitrate (bps) … 176 …opus_int32 gain_Q16[ MAX_NB_SUBFR ], /* I/O gains (quantized out) … [all …]
|
/external/libopus/silk/arm/ |
D | macros_armv5e.h | 34 static OPUS_INLINE opus_int32 silk_SMULWB_armv5e(opus_int32 a, opus_int16 b) in silk_SMULWB_armv5e() 49 static OPUS_INLINE opus_int32 silk_SMLAWB_armv5e(opus_int32 a, opus_int32 b, in silk_SMLAWB_armv5e() 65 static OPUS_INLINE opus_int32 silk_SMULWT_armv5e(opus_int32 a, opus_int32 b) in silk_SMULWT_armv5e() 80 static OPUS_INLINE opus_int32 silk_SMLAWT_armv5e(opus_int32 a, opus_int32 b, in silk_SMLAWT_armv5e() 81 opus_int32 c) in silk_SMLAWT_armv5e() 96 static OPUS_INLINE opus_int32 silk_SMULBB_armv5e(opus_int32 a, opus_int32 b) in silk_SMULBB_armv5e() 111 static OPUS_INLINE opus_int32 silk_SMLABB_armv5e(opus_int32 a, opus_int32 b, in silk_SMLABB_armv5e() 112 opus_int32 c) in silk_SMLABB_armv5e() 127 static OPUS_INLINE opus_int32 silk_SMULBT_armv5e(opus_int32 a, opus_int32 b) in silk_SMULBT_armv5e() 142 static OPUS_INLINE opus_int32 silk_SMLABT_armv5e(opus_int32 a, opus_int32 b, in silk_SMLABT_armv5e() [all …]
|
D | macros_armv4.h | 33 static OPUS_INLINE opus_int32 silk_SMULWB_armv4(opus_int32 a, opus_int16 b) in silk_SMULWB_armv4() 53 static OPUS_INLINE opus_int32 silk_SMULWT_armv4(opus_int32 a, opus_int32 b) in silk_SMULWT_armv4() 73 static OPUS_INLINE opus_int32 silk_SMULWW_armv4(opus_int32 a, opus_int32 b) in silk_SMULWW_armv4() 88 static OPUS_INLINE opus_int32 silk_SMLAWW_armv4(opus_int32 a, opus_int32 b, in silk_SMLAWW_armv4() 89 opus_int32 c) in silk_SMLAWW_armv4()
|
D | SigProc_FIX_armv5e.h | 33 static OPUS_INLINE opus_int32 silk_SMULTT_armv5e(opus_int32 a, opus_int32 b) in silk_SMULTT_armv5e() 35 opus_int32 res; in silk_SMULTT_armv5e() 47 static OPUS_INLINE opus_int32 silk_SMLATT_armv5e(opus_int32 a, opus_int32 b, in silk_SMLATT_armv5e() 48 opus_int32 c) in silk_SMLATT_armv5e() 50 opus_int32 res; in silk_SMLATT_armv5e()
|
/external/libopus/include/ |
D | opus.h | 209 opus_int32 Fs, 230 opus_int32 Fs, 263 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_encode( 268 opus_int32 max_data_bytes 304 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_encode_float( 309 opus_int32 max_data_bytes 424 opus_int32 Fs, 442 opus_int32 Fs, 465 opus_int32 len, 490 opus_int32 len, [all …]
|
D | opus_types.h | 42 typedef int32_t opus_int32; typedef 48 typedef _G_int32_t opus_int32; typedef 55 typedef int opus_int32; typedef 58 typedef int opus_int32; typedef 64 typedef __int32 opus_int32; typedef 75 typedef SInt32 opus_int32; typedef 83 typedef int32_t opus_int32; typedef 92 typedef int32_t opus_int32; typedef 100 typedef int opus_int32; typedef 108 typedef int opus_int32; typedef [all …]
|
/external/libopus/silk/fixed/ |
D | solve_LS_FIX.c | 41 opus_int32 Q36_part; 42 opus_int32 Q48_part; 47 …opus_int32 *A, /* I/O Pointer to Symetric Square Matrix … 49 …opus_int32 *L_Q16, /* I/O Pointer to Square Upper triangular Matrix … 55 …const opus_int32 *L_Q16, /* I Pointer to Lower Triangular Matrix … 57 …const opus_int32 *b, /* I b Vector … 58 …opus_int32 *x_Q16 /* O x Vector … 63 …const opus_int32 *L_Q16, /* I Pointer to Lower Triangular Matrix … 65 …const opus_int32 *b, /* I b Vector … 66 …opus_int32 *x_Q16 /* O x Vector … [all …]
|
D | main_FIX.h | 67 …opus_int32 *pnBytesOut, /* O Pointer to number … 84 …const opus_int32 TargetRate_bps, /* I Target max bitrate… 96 …opus_int32 xw_Q10[], /* O Weighted signal … 101 … opus_int32 state[], /* I/O State [order + 1] */ 102 … opus_int32 res_Q2[], /* O Residual signal [length] */ 125 …opus_int32 *corr, /* O Result [order + 1] … 166 …const opus_int32 minInvGain_Q30 /* I Inverse of max pre… 172 …opus_int32 WLTP[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Weight for L… 176 …const opus_int32 Wght_Q15[ MAX_NB_SUBFR ], /* I weights … 189 …const opus_int32 invGains_Q16[ MAX_NB_SUBFR ], /* I Inverse quantizati… [all …]
|
D | structs_FIX.h | 45 opus_int32 HarmBoost_smth_Q16; 46 opus_int32 HarmShapeGain_smth_Q16; 47 opus_int32 Tilt_smth_Q16; 55 opus_int32 sAR_shp[ MAX_SHAPE_LPC_ORDER + 1 ]; 57 opus_int32 sLF_AR_shp_Q12; 58 opus_int32 sLF_MA_shp_Q12; 59 opus_int32 sHarmHP_Q2; 60 opus_int32 rand_seed; 82 opus_int32 Gains_Q16[ MAX_NB_SUBFR ]; 92 …opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ]; /* Packs two int16 coefficient… [all …]
|
D | burg_modified_FIX.c | 46 …opus_int32 *res_nrg, /* O Residual energy … in silk_burg_modified_c() 48 …opus_int32 A_Q16[], /* O Prediction coefficients (length order) … in silk_burg_modified_c() 50 …const opus_int32 minInvGain_Q30, /* I Inverse of max prediction gain … in silk_burg_modified_c() 58 opus_int32 C0, num, nrg, rc_Q31, invGain_Q30, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2; in silk_burg_modified_c() 60 opus_int32 C_first_row[ SILK_MAX_ORDER_LPC ]; in silk_burg_modified_c() 61 opus_int32 C_last_row[ SILK_MAX_ORDER_LPC ]; in silk_burg_modified_c() 62 opus_int32 Af_QA[ SILK_MAX_ORDER_LPC ]; in silk_burg_modified_c() 63 opus_int32 CAf[ SILK_MAX_ORDER_LPC + 1 ]; in silk_burg_modified_c() 64 opus_int32 CAb[ SILK_MAX_ORDER_LPC + 1 ]; in silk_burg_modified_c() 65 opus_int32 xcorr[ SILK_MAX_ORDER_LPC ]; in silk_burg_modified_c() [all …]
|
D | prefilter_FIX.c | 49 …opus_int32 st_res_Q12[], /* I short term residual signal … 50 …opus_int32 xw_Q3[], /* O prefiltered signal … 51 …opus_int32 HarmShapeFIRPacked_Q12, /* I Harmonic shaping coeficients … 53 …opus_int32 LF_shp_Q14, /* I Low-frequancy shaping coeficients … 59 … opus_int32 state[], /* I/O State [order + 1] */ in silk_warped_LPC_analysis_filter_FIX_c() 60 … opus_int32 res_Q2[], /* O Residual signal [length] */ in silk_warped_LPC_analysis_filter_FIX_c() 69 opus_int32 acc_Q11, tmp1, tmp2; in silk_warped_LPC_analysis_filter_FIX_c() 96 res_Q2[ n ] = silk_LSHIFT( (opus_int32)input[ n ], 2 ) - silk_RSHIFT_ROUND( acc_Q11, 9 ); in silk_warped_LPC_analysis_filter_FIX_c() 103 …opus_int32 xw_Q3[], /* O Weighted signal … in silk_prefilter_FIX() 109 opus_int32 tmp_32; in silk_prefilter_FIX() [all …]
|
/external/libopus/src/ |
D | opus_private.h | 93 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs); 95 opus_int32 compute_frame_size(const void *analysis_pcm, int frame_size, 96 int variable_duration, int C, opus_int32 Fs, int bitrate_bps, 103 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, 104 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, 105 const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2, 108 int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, 110 opus_int32 *packet_offset, int soft_clip); 115 struct foo {char c; union { void* p; opus_int32 i; opus_val32 v; } u;}; in align() 124 int opus_packet_parse_impl(const unsigned char *data, opus_int32 len, [all …]
|
D | repacketizer.c | 61 static int opus_repacketizer_cat_impl(OpusRepacketizer *rp, const unsigned char *data, opus_int32 l… in opus_repacketizer_cat_impl() 92 int opus_repacketizer_cat(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len) in opus_repacketizer_cat() 102 opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, in opus_repacketizer_out_range_impl() 103 unsigned char *data, opus_int32 maxlen, int self_delimited, int pad) in opus_repacketizer_out_range_impl() 106 opus_int32 tot_size; in opus_repacketizer_out_range_impl() 229 opus_int32 opus_repacketizer_out_range(OpusRepacketizer *rp, int begin, int end, unsigned char *dat… in opus_repacketizer_out_range() 234 opus_int32 opus_repacketizer_out(OpusRepacketizer *rp, unsigned char *data, opus_int32 maxlen) in opus_repacketizer_out() 239 int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len) in opus_packet_pad() 242 opus_int32 ret; in opus_packet_pad() 262 opus_int32 opus_packet_unpad(unsigned char *data, opus_int32 len) in opus_packet_unpad() [all …]
|
/external/libopus/silk/x86/ |
D | main_sse.h | 41 …opus_int32 *rate_dist_Q14, /* O best weighted quant error + mu… 44 …const opus_int32 *W_Q18, /* I weighting matrix … 49 …const opus_int32 max_gain_Q7, /* I maximum sum of absolute LTP co… 64 …opus_int32 *rate_dist_Q14, /* O best weighted quant error + mu… 67 …const opus_int32 *W_Q18, /* I weighting matrix … 72 …const opus_int32 max_gain_Q7, /* I maximum sum of absolute LTP co… 89 …const opus_int32 x_Q3[], /* I Prefiltered input … 96 …const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ], /* I Low frequency shap… 97 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 116 …const opus_int32 x_Q3[], /* I Prefiltered input … [all …]
|
D | x86_silk_map.c | 73 …const opus_int32 x_Q3[], /* I Prefiltered input … 80 …const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ], /* I Low frequency shap… 81 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 95 …opus_int32 *rate_dist_Q14, /* O best weighted quant error + mu… 98 …const opus_int32 *W_Q18, /* I weighting matrix … 103 …const opus_int32 max_gain_Q7, /* I maximum sum of absolute LTP co… 117 …const opus_int32 x_Q3[], /* I Prefiltered input … 124 …const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ], /* I Low frequency shap… 125 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … 140 …opus_int32 state[], /* I/O State [order + 1] … [all …]
|