/external/libopus/celt/ |
celt_lpc.h | 35 void _celt_lpc(opus_val16 *_lpc, const opus_val32 *ac, int p); 37 void celt_fir(const opus_val16 *x, 38 const opus_val16 *num, 39 opus_val16 *y, 42 opus_val16 *mem); 45 const opus_val16 *den, 49 opus_val16 *mem); 51 int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, 52 const opus_val16 *window, int overlap, int lag, int n, int arch);
|
quant_bands.h | 41 extern const opus_val16 eMeans[25]; 45 celt_ener *bandE, opus_val16 *bandLogE, int C); 48 celt_ener *eBands, const opus_val16 *oldEBands, int C); 51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, 52 opus_val16 *error, ec_enc *enc, int C, int LM, 56 void quant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, ec_enc *enc, int C); 58 void quant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, int *fine_priority, int bits_left, ec_enc *enc, int C) [all...] |
vq.h | 52 , opus_val16 gain 64 ec_dec *dec, opus_val16 gain); 66 void renormalise_vector(celt_norm *X, int N, opus_val16 gain);
|
mathops.c | 71 opus_val16 rcp; 90 opus_val16 celt_rsqrt_norm(opus_val32 x) 92 opus_val16 n; 93 opus_val16 r; 94 opus_val16 r2; 95 opus_val16 y; 121 opus_val16 n; 123 static const opus_val16 C[5] = {23175, 11561, -3011, 1699, -664}; 142 static OPUS_INLINE opus_val16 _celt_cos_pi_2(opus_val16 x [all...] |
bands.h | 46 /*void compute_noise_energies(const CELTMode *m, const celt_sig *X, const opus_val16 *tonality, celt_ener *bandE);*/ 62 celt_sig * OPUS_RESTRICT freq, const opus_val16 *bandE, int start, int end, int C, int M); 107 int start, int end, opus_val16 *logE, opus_val16 *prev1logE, 108 opus_val16 *prev2logE, int *pulses, opus_uint32 seed); 112 int hysteresis_decision(opus_val16 val, const opus_val16 *thresholds, const opus_val16 *hysteresis, int N, int prev);
|
pitch.h | 48 void pitch_downsample(celt_sig * OPUS_RESTRICT x[], opus_val16 * OPUS_RESTRICT x_lp, 51 void pitch_search(const opus_val16 * OPUS_RESTRICT x_lp, opus_val16 * OPUS_RESTRICT y, 54 opus_val16 remove_doubling(opus_val16 *x, int maxperiod, int minperiod, 55 int N, int *T0, int prev_period, opus_val16 prev_gain); 60 static OPUS_INLINE void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4], int len) 63 opus_val16 y_0, y_1, y_2, y_3; 71 opus_val16 tmp [all...] |
mdct.h | 62 const opus_val16 *window, int overlap, int shift, int stride); 68 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride);
|
modes.h | 66 opus_val16 preemph[4]; 77 const opus_val16 *window;
|
mathops.h | 47 static OPUS_INLINE opus_val32 celt_maxabs16(const opus_val16 *x, int len) 50 opus_val16 maxval = 0; 51 opus_val16 minval = 0; 162 opus_val16 celt_rsqrt_norm(opus_val32 x); 166 opus_val16 celt_cos_norm(opus_val32 x); 169 static OPUS_INLINE opus_val16 celt_log2(opus_val32 x) 172 opus_val16 n, frac; 175 static const opus_val16 C[5] = {-6801+(1<<(13-DB_SHIFT)), 15746, -5217, 2545, -1401}; 195 static OPUS_INLINE opus_val32 celt_exp2_frac(opus_val16 x) 197 opus_val16 frac [all...] |
quant_bands.c | 53 const opus_val16 eMeans[25] = { 63 static const opus_val16 pred_coef[4] = {29440, 26112, 21248, 16384}; 64 static const opus_val16 beta_coef[4] = {30147, 22282, 12124, 6554}; 65 static const opus_val16 beta_intra = 4915; 67 static const opus_val16 pred_coef[4] = {29440/32768., 26112/32768., 21248/32768., 16384/32768.}; 68 static const opus_val16 beta_coef[4] = {30147/32768., 22282/32768., 12124/32768., 6554/32768.}; 69 static const opus_val16 beta_intra = 4915/32768.; 142 static opus_val32 loss_distortion(const opus_val16 *eBands, opus_val16 *oldEBands, int start, int end, int len, int C) 149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)) [all...] |
celt.h | 123 int celt_encode_with_ec(OpusCustomEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc); 137 int celt_decode_with_ec(OpusCustomDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec); 198 void celt_preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RESTRICT inp, 199 int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip); 202 opus_val16 g0, opus_val16 g1, int tapset0, int tapset1, 203 const opus_val16 *window, int overlap); 208 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch);
|
fixed_generic.h | 37 #define MULT16_16SU(a,b) ((opus_val32)(opus_val16)(a)*(opus_val32)(opus_uint16)(b)) 52 #define QCONST16(x,bits) ((opus_val16)(.5+(x)*(((opus_val32)1)<<(bits)))) 63 #define EXTRACT16(x) ((opus_val16)(x)) 96 #define ADD16(a,b) ((opus_val16)((opus_val16)(a)+(opus_val16)(b))) 98 #define SUB16(a,b) ((opus_val16)(a)-(opus_val16)(b)) 105 #define MULT16_16_16(a,b) ((((opus_val16)(a))*((opus_val16)(b))) [all...] |
static_modes_fixed.h | 9 static const opus_val16 window120[120] = { 473 static const opus_val16 mdct_twiddles960[481] = {
|
pitch.c | 45 static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len, 54 opus_val16 best_num[2]; 74 opus_val16 num; 105 static void celt_fir5(const opus_val16 *x, 106 const opus_val16 *num, 107 opus_val16 *y, 109 opus_val16 *mem) 112 opus_val16 num0, num1, num2, num3, num4; 147 void pitch_downsample(celt_sig * OPUS_RESTRICT x[], opus_val16 * OPUS_RESTRICT x_lp, 152 opus_val16 tmp=Q15ONE [all...] |
celt_lpc.c | 38 opus_val16 *_lpc, /* out: [0...p-1] LPC coefficients */ 91 void celt_fir(const opus_val16 *_x, 92 const opus_val16 *num, 93 opus_val16 *_y, 96 opus_val16 *mem) 99 VARDECL(opus_val16, rnum); 100 VARDECL(opus_val16, x); 103 ALLOC(rnum, ord, opus_val16); 104 ALLOC(x, N+ord, opus_val16); 145 const opus_val16 *den [all...] |
vq.c | 41 static void exp_rotation1(celt_norm *X, int len, int stride, opus_val16 c, opus_val16 s) 69 opus_val16 c, s; 70 opus_val16 gain, theta; 113 int N, opus_val32 Ryy, opus_val16 gain) 120 opus_val16 g; 156 , opus_val16 gain 162 VARDECL(opus_val16, signx); 164 opus_val16 s; 168 opus_val16 yy [all...] |
celt.c | 90 opus_val16 g10, opus_val16 g11, opus_val16 g12) 115 opus_val16 g0, opus_val16 g1, int tapset0, int tapset1, 116 const opus_val16 *window, int overlap) 120 opus_val16 g00, g01, g02, g10, g11, g12; 122 static const opus_val16 gains[3][3] = { 146 opus_val16 f;
|
celt_encoder.c | 93 opus_val16 prefilter_gain; 97 opus_val16 prefilter_gain_old; 112 opus_val16 stereo_saving; 114 opus_val16 *energy_mask; 115 opus_val16 spec_avg; 124 /* opus_val16 oldBandE[], Size = channels*mode->nbEBands */ 125 /* opus_val16 oldLogE[], Size = channels*mode->nbEBands */ 126 /* opus_val16 oldLogE2[], Size = channels*mode->nbEBands */ 140 + 3*channels*mode->nbEBands*sizeof(opus_val16); /* opus_val16 oldBandE[channels*mode->nbEBands]; * [all...] |
/external/libopus/celt/arm/ |
arm_celt_map.c | 37 opus_val32 (*const CELT_PITCH_XCORR_IMPL[OPUS_ARCHMASK+1])(const opus_val16 *, 38 const opus_val16 *, opus_val32 *, int , int) = {
|
pitch_arm.h | 36 opus_val32 celt_pitch_xcorr_neon(const opus_val16 *_x, const opus_val16 *_y, 45 opus_val32 celt_pitch_xcorr_edsp(const opus_val16 *_x, const opus_val16 *_y,
|
fixed_armv5e.h | 37 static OPUS_INLINE opus_val32 MULT16_32_Q16_armv5e(opus_val16 a, opus_val32 b) 53 static OPUS_INLINE opus_val32 MULT16_32_Q15_armv5e(opus_val16 a, opus_val32 b) 71 static OPUS_INLINE opus_val32 MAC16_32_Q15_armv5e(opus_val32 c, opus_val16 a, 87 static OPUS_INLINE opus_val32 MAC16_16_armv5e(opus_val32 c, opus_val16 a, 88 opus_val16 b) 103 static OPUS_INLINE opus_val32 MULT16_16_armv5e(opus_val16 a, opus_val16 b)
|
fixed_armv4.h | 32 static OPUS_INLINE opus_val32 MULT16_32_Q16_armv4(opus_val16 a, opus_val32 b) 49 static OPUS_INLINE opus_val32 MULT16_32_Q15_armv4(opus_val16 a, opus_val32 b)
|
/external/libopus/src/ |
mlp.c | 42 static OPUS_INLINE opus_val16 tansig_approx(opus_val32 _x) /* Q19 */ 45 opus_val16 xx; /* Q11 */ 47 opus_val16 dy, yy; /* Q14 */ 93 void mlp_process(const MLP *m, const opus_val16 *in, opus_val16 *out) 96 opus_val16 hidden[MAX_NEURONS]; 97 const opus_val16 *W = m->weights;
|
opus_private.h | 89 int optimize_framesize(const opus_val16 *x, int len, int C, opus_int32 Fs, 90 int bitrate, opus_val16 tonality, float *mem, int buffering, 105 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, 110 opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited,
|
/external/libopus/celt/tests/ |
test_unit_rotation.c | 55 opus_val16 x0[MAX_SIZE]; 56 opus_val16 x1[MAX_SIZE];
|