HomeSort by relevance Sort by last modified time
    Searched refs:opus_val16 (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/third_party/opus/src/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, const opus_val16 *window, int overlap, int lag, int n);
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);
pitch.h 43 void pitch_downsample(celt_sig * OPUS_RESTRICT x[], opus_val16 * OPUS_RESTRICT x_lp,
46 void pitch_search(const opus_val16 * OPUS_RESTRICT x_lp, opus_val16 * OPUS_RESTRICT y,
49 opus_val16 remove_doubling(opus_val16 *x, int maxperiod, int minperiod,
50 int N, int *T0, int prev_period, opus_val16 prev_gain);
55 static inline void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4], int len)
58 opus_val16 y_0, y_1, y_2, y_3;
65 opus_val16 tmp
    [all...]
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 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);
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 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 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 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 119 int celt_encode_with_ec(OpusCustomEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc);
132 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);
193 void preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RESTRICT inp,
194 int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip);
197 opus_val16 g0, opus_val16 g1, int tapset0, int tapset1,
198 const opus_val16 *window, int overlap);
203 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...]
celt_decoder.c 84 opus_val16 postfilter_gain;
85 opus_val16 postfilter_gain_old;
92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */
93 /* opus_val16 oldEBands[], Size = 2*mode->nbEBands */
94 /* opus_val16 oldLogE[], Size = 2*mode->nbEBands */
95 /* opus_val16 oldLogE2[], Size = 2*mode->nbEBands */
96 /* opus_val16 backgroundLogE[], Size = 2*mode->nbEBands */
109 + channels*LPC_ORDER*sizeof(opus_val16)
110 + 4*2*mode->nbEBands*sizeof(opus_val16);
178 static inline opus_val16 SIG2WORD16(celt_sig x
    [all...]
  /external/chromium_org/third_party/opus/src/celt/arm/
fixed_armv5e.h 37 static inline opus_val32 MULT16_32_Q16_armv5e(opus_val16 a, opus_val32 b)
53 static inline opus_val32 MULT16_32_Q15_armv5e(opus_val16 a, opus_val32 b)
71 static inline opus_val32 MAC16_32_Q15_armv5e(opus_val32 c, opus_val16 a,
87 static inline opus_val32 MAC16_16_armv5e(opus_val32 c, opus_val16 a,
88 opus_val16 b)
103 static inline opus_val32 MULT16_16_armv5e(opus_val16 a, opus_val16 b)
fixed_armv4.h 32 static inline opus_val32 MULT16_32_Q16_armv4(opus_val16 a, opus_val32 b)
49 static inline opus_val32 MULT16_32_Q15_armv4(opus_val16 a, opus_val32 b)
  /external/chromium_org/third_party/opus/src/src/
mlp.c 39 static inline opus_val16 tansig_approx(opus_val32 _x) /* Q19 */
42 opus_val16 xx; /* Q11 */
44 opus_val16 dy, yy; /* Q14 */
89 void mlp_process(const MLP *m, const opus_val16 *in, opus_val16 *out)
92 opus_val16 hidden[MAX_NEURONS];
93 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, opus_val32 *mem, int buffering,
101 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size,
106 opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited,
  /external/chromium_org/third_party/opus/src/celt/tests/
test_unit_rotation.c 55 opus_val16 x0[MAX_SIZE];
56 opus_val16 x1[MAX_SIZE];
  /external/chromium_org/third_party/opus/src/celt/x86/
pitch_sse.h 39 static inline void xcorr_kernel(const opus_val16 *x, const opus_val16 *y, opus_val32 sum[4], int len)
75 static inline void dual_inner_prod(const opus_val16 *x, const opus_val16 *y01, const opus_val16 *y02,
106 opus_val16 g10, opus_val16 g11, opus_val16 g12)

Completed in 196 milliseconds

1 2