Home
last modified time | relevance | path

Searched refs:opus_int32 (Results 1 – 25 of 181) sorted by relevance

12345678

/external/libopus/silk/
DMacroCount.h50 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 …]
DMacroDebug.h55 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 …]
DSigProc_FIX.h64opus_int32 Fs_Hz_in, /* I Input sampling rate (Hz) …
65opus_int32 Fs_Hz_out, /* I Output sampling rate (Hz) …
76opus_int32 inLen /* I Number of input samples …
83opus_int32 *S, /* I/O State vector [ 2 ] …
86opus_int32 inLen /* I Number of input samples …
93opus_int32 *S, /* I/O State vector [ 6 ] …
96opus_int32 inLen /* I Number of input samples …
106 …const opus_int32 *B_Q28, /* I MA coefficients [3] …
107 …const opus_int32 *A_Q28, /* I AR coefficients [2] …
108opus_int32 *S, /* I/O State vector [2] …
[all …]
Dstructs.h47 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;
51 opus_int32 sDiff_shp_Q14;
55 opus_int32 rand_seed;
56 opus_int32 prev_gain_Q16;
64opus_int32 AnaState[ 2 ]; /* Analysis filterbank state: 0-8 kHz …
65opus_int32 AnaState1[ 2 ]; /* Analysis filterbank state: 0-4 kHz …
66opus_int32 AnaState2[ 2 ]; /* Analysis filterbank state: 0-2 kHz …
[all …]
DInlines.h41 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 …]
Dmain.h56opus_int32 mid_side_rates_bps[], /* O Bitrates for mid and side sign…
57opus_int32 total_rate_bps, /* I Total bitrate …
69 …const opus_int32 pred_Q13[], /* I Predictors …
75 opus_int32 silk_stereo_find_predictor( /* O Returns predictor in Q13 …
76opus_int32 *ratio_Q14, /* O Ratio of residual and mid ener…
79opus_int32 mid_res_amp_Q0[], /* I/O Smoothed mid, residual norms …
86opus_int32 pred_Q13[], /* I/O Predictors (out: quantized) …
105opus_int32 pred_Q13[] /* O Predictors …
148opus_int32 TargetRate_bps /* I Target max bitrate (bps) …
180opus_int32 gain_Q16[ MAX_NB_SUBFR ], /* I/O gains (quantized out) …
[all …]
Dmacros.h43 #define silk_SMULWB(a32, b32) ((opus_int32)(((a32) * (opus_int64)((opus_int16)(b32))) >>…
45 …(a32, b32) ((((a32) >> 16) * (opus_int32)((opus_int16)(b32))) + ((((a32) & 0x0000FFFF) …
50 #define silk_SMLAWB(a32, b32, c32) ((opus_int32)((a32) + (((b32) * (opus_int64)((opus_int16)(…
52 …, c32) ((a32) + ((((b32) >> 16) * (opus_int32)((opus_int16)(c32))) + ((((b32) & 0x0000FFFF) …
57 #define silk_SMULWT(a32, b32) ((opus_int32)(((a32) * (opus_int64)((b32) >> 16)) >> 16))
64 #define silk_SMLAWT(a32, b32, c32) ((opus_int32)((a32) + (((b32) * ((opus_int64)(c32) >> 16))…
70 #define silk_SMULBB(a32, b32) ((opus_int32)((opus_int16)(a32)) * (opus_int32)((opus_int1…
73 #define silk_SMLABB(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * (opus_int32)(…
76 #define silk_SMULBT(a32, b32) ((opus_int32)((opus_int16)(a32)) * ((b32) >> 16))
79 #define silk_SMLABT(a32, b32, c32) ((a32) + ((opus_int32)((opus_int16)(b32))) * ((c32) >> 16))
[all …]
DNSQ_del_dec.c38 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 Diff_Q14;
47 opus_int32 Seed;
[all …]
Dcontrol.h48 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;
102 opus_int32 internalSampleRate;
128 opus_int32 nChannelsAPI;
131 opus_int32 nChannelsInternal;
[all …]
DNSQ.c41 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 */
88 …const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ], /* I Low frequency shap… in silk_NSQ_c()
89 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step … in silk_NSQ_c()
[all …]
/external/libopus/silk/arm/
Dmacros_armv5e.h35 #define SAFE_SHL(a,b) ((opus_int32)((opus_uint32)(a) << (b)))
39 static OPUS_INLINE opus_int32 silk_SMULWB_armv5e(opus_int32 a, opus_int16 b) in silk_SMULWB_armv5e()
54 static OPUS_INLINE opus_int32 silk_SMLAWB_armv5e(opus_int32 a, opus_int32 b, in silk_SMLAWB_armv5e()
70 static OPUS_INLINE opus_int32 silk_SMULWT_armv5e(opus_int32 a, opus_int32 b) in silk_SMULWT_armv5e()
85 static OPUS_INLINE opus_int32 silk_SMLAWT_armv5e(opus_int32 a, opus_int32 b, in silk_SMLAWT_armv5e()
86 opus_int32 c) in silk_SMLAWT_armv5e()
101 static OPUS_INLINE opus_int32 silk_SMULBB_armv5e(opus_int32 a, opus_int32 b) in silk_SMULBB_armv5e()
116 static OPUS_INLINE opus_int32 silk_SMLABB_armv5e(opus_int32 a, opus_int32 b, in silk_SMLABB_armv5e()
117 opus_int32 c) in silk_SMLABB_armv5e()
132 static OPUS_INLINE opus_int32 silk_SMULBT_armv5e(opus_int32 a, opus_int32 b) in silk_SMULBT_armv5e()
[all …]
Dmacros_armv4.h34 #define SAFE_SHL(a,b) ((opus_int32)((opus_uint32)(a) << (b)))
38 static OPUS_INLINE opus_int32 silk_SMULWB_armv4(opus_int32 a, opus_int16 b) in silk_SMULWB_armv4()
58 static OPUS_INLINE opus_int32 silk_SMULWT_armv4(opus_int32 a, opus_int32 b) in silk_SMULWT_armv4()
78 static OPUS_INLINE opus_int32 silk_SMULWW_armv4(opus_int32 a, opus_int32 b) in silk_SMULWW_armv4()
93 static OPUS_INLINE opus_int32 silk_SMLAWW_armv4(opus_int32 a, opus_int32 b, in silk_SMLAWW_armv4()
94 opus_int32 c) in silk_SMLAWW_armv4()
Darm_silk_map.c42 …const opus_int32 *B_Q28, /* I MA coefficients [3] …
43 …const opus_int32 *A_Q28, /* I AR coefficients [2] …
44opus_int32 *S, /* I/O State vector [4] …
46 …const opus_int32 len /* I signal length (must be even) …
54 opus_int32 (*const SILK_LPC_INVERSE_PRED_GAIN_IMPL[OPUS_ARCHMASK + 1])( /* O Returns inverse pred…
75 …const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ], /* I Low frequency shap…
76 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step …
92 opus_int32
94 const opus_int32 *data0, opus_int32 *data1, const opus_int16 *coef,
108opus_int32 *corr, /* O Result [order + 1] …
/external/libopus/include/
Dopus.h209 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 …]
Dopus_types.h42 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 …]
Dopus_multistream.h203 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_encoder_get_size(
208 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_surround_encoder_get_size(
258 opus_int32 Fs,
268 opus_int32 Fs,
328 opus_int32 Fs,
338 opus_int32 Fs,
382 opus_int32 max_data_bytes
427 opus_int32 max_data_bytes
470 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_decoder_get_size(
505 opus_int32 Fs,
[all …]
/external/libopus/src/
Dopus_encoder.c79 opus_int32 Fs;
83 opus_int32 bitrate_bps;
84 opus_int32 user_bitrate_bps;
97 opus_int32 variable_HP_smth2_Q15;
125 static const opus_int32 mono_voice_bandwidth_thresholds[8] = {
131 static const opus_int32 mono_music_bandwidth_thresholds[8] = {
137 static const opus_int32 stereo_voice_bandwidth_thresholds[8] = {
143 static const opus_int32 stereo_music_bandwidth_thresholds[8] = {
150 static const opus_int32 stereo_voice_threshold = 24000;
151 static const opus_int32 stereo_music_threshold = 24000;
[all …]
Dopus_private.h93 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs);
95 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size,
96 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth,
97 const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2,
100 int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len,
102 opus_int32 *packet_offset, int soft_clip);
107 struct foo {char c; union { void* p; opus_int32 i; opus_val32 v; } u;}; in align()
116 int opus_packet_parse_impl(const unsigned char *data, opus_int32 len,
119 int *payload_offset, opus_int32 *packet_offset);
121 opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end,
[all …]
Drepacketizer.c61 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/fixed/
Dburg_modified_FIX.c46opus_int32 *res_nrg, /* O Residual energy … in silk_burg_modified_c()
48opus_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 …]
Dmain_FIX.h75opus_int32 *pnBytesOut, /* O Pointer to number …
111opus_int32 *corr, /* O Result [order + 1] …
157 …const opus_int32 minInvGain_Q30 /* I Inverse of max pre…
162opus_int32 XXLTP_Q17[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /* O Correla…
163opus_int32 xXLTP_Q17[ MAX_NB_SUBFR * LTP_ORDER ], /* O Correlation vector…
176 …const opus_int32 invGains_Q16[ MAX_NB_SUBFR ], /* I Inverse quantizati…
185opus_int32 nrgs[ MAX_NB_SUBFR ], /* O Residual energy per subf…
189 …const opus_int32 gains[ MAX_NB_SUBFR ], /* I Quantization gains…
197 opus_int32 silk_residual_energy16_covar_FIX(
199 …const opus_int32 *wXX, /* I Correlation matrix…
[all …]
Dstructs_FIX.h45 opus_int32 HarmBoost_smth_Q16;
46 opus_int32 HarmShapeGain_smth_Q16;
47 opus_int32 Tilt_smth_Q16;
60 opus_int32 resNrgSmth;
68 opus_int32 Gains_Q16[ MAX_NB_SUBFR ];
77opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ]; /* Packs two int16 coefficient…
85 opus_int32 predGain_Q16;
87opus_int32 ResNrg[ MAX_NB_SUBFR ]; /* Residual energy per subfram…
91 opus_int32 GainsUnq_Q16[ MAX_NB_SUBFR ];
101 opus_int32 nBitsUsedLBRR;
[all …]
/external/libopus/silk/x86/
Dmain_sse.h42opus_int32 *rate_dist_Q14, /* O best weighted quant error + mu…
45 …const opus_int32 *W_Q18, /* I weighting matrix …
50 …const opus_int32 max_gain_Q7, /* I maximum sum of absolute LTP co…
65opus_int32 *rate_dist_Q14, /* O best weighted quant error + mu…
68 …const opus_int32 *W_Q18, /* I weighting matrix …
73 …const opus_int32 max_gain_Q7, /* I maximum sum of absolute LTP co…
92 …const opus_int32 x_Q3[], /* I Prefiltered input …
99 …const opus_int32 LF_shp_Q14[ MAX_NB_SUBFR ], /* I Low frequency shap…
100 …const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I Quantization step …
119 …const opus_int32 x_Q3[], /* I Prefiltered input …
[all …]
DNSQ_del_dec_sse.c41 opus_int32 sLPC_Q14[ MAX_SUB_FRAME_LENGTH + NSQ_LPC_BUF_LENGTH ];
42 opus_int32 RandState[ DECISION_DELAY ];
43 opus_int32 Q_Q10[ DECISION_DELAY ];
44 opus_int32 Xq_Q14[ DECISION_DELAY ];
45 opus_int32 Pred_Q15[ DECISION_DELAY ];
46 opus_int32 Shape_Q14[ DECISION_DELAY ];
47 opus_int32 sAR2_Q14[ MAX_SHAPE_LPC_ORDER ];
48 opus_int32 LF_AR_Q14;
49 opus_int32 Seed;
50 opus_int32 SeedInit;
[all …]
DNSQ_sse.c42 const opus_int32 x_Q3[], /* I input in Q3 */
43 opus_int32 x_sc_Q10[], /* O input scaled with 1/Gain */
45 opus_int32 sLTP_Q15[], /* O LTP state matching scaled input */
48 const opus_int32 Gains_Q16[ MAX_NB_SUBFR ], /* I */
56 const opus_int32 x_sc_Q10[], /* I */
59 opus_int32 sLTP_Q15[], /* I/O LTP state */
64 opus_int32 HarmShapeFIRPacked_Q14, /* I */
66 opus_int32 LF_shp_Q14, /* I */
67 opus_int32 Gain_Q16, /* I */
70 opus_int32 table[][4] /* I */
[all …]

12345678