/external/chromium_org/third_party/opus/src/celt/ |
celt_lpc.h | 35 void _celt_lpc(opus_val16 *_lpc, const opus_val32 *ac, int p); 44 void celt_iir(const opus_val32 *x, 46 opus_val32 *y, 51 int _celt_autocorr(const opus_val16 *x, opus_val32 *ac, const opus_val16 *window, int overlap, int lag, int n);
|
mathops.h | 47 static inline opus_val32 celt_maxabs16(const opus_val16 *x, int len) 63 static inline opus_val32 celt_maxabs32(const opus_val32 *x, int len) 66 opus_val32 maxval = 0; 67 opus_val32 minval = 0; 157 static inline opus_int16 celt_zlog2(opus_val32 x) 162 opus_val16 celt_rsqrt_norm(opus_val32 x); 164 opus_val32 celt_sqrt(opus_val32 x); 166 opus_val16 celt_cos_norm(opus_val32 x) [all...] |
mathops.c | 69 opus_val32 frac_div32(opus_val32 a, opus_val32 b) 72 opus_val32 result, rem; 90 opus_val16 celt_rsqrt_norm(opus_val32 x) 118 opus_val32 celt_sqrt(opus_val32 x) 122 opus_val32 rt; 156 opus_val16 celt_cos_norm(opus_val32 x) 180 opus_val32 celt_rcp(opus_val32 x [all...] |
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)))) 55 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) 65 #define EXTEND32(x) ((opus_val32)(x)) 100 #define ADD32(a,b) ((opus_val32)(a)+(opus_val32)(b)) 102 #define SUB32(a,b) ((opus_val32)(a)-(opus_val32)(b) [all...] |
pitch.c | 45 static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len, 48 , int yshift, opus_val32 maxcorr 53 opus_val32 Syy=1; 55 opus_val32 best_den[2]; 75 opus_val32 xcorr16; 113 opus_val32 mem0, mem1, mem2, mem3, mem4; 126 opus_val32 sum = SHL32(EXTEND32(x[i]), SIG_SHIFT); 151 opus_val32 ac[5]; 158 opus_val32 maxabs = celt_maxabs32(x[0], len); 161 opus_val32 maxabs_1 = celt_maxabs32(x[1], len) [all...] |
arch.h | 88 typedef opus_int32 opus_val32; typedef 90 typedef opus_val32 celt_sig; 92 typedef opus_val32 celt_ener; 133 typedef float opus_val32; typedef 177 #define MULT16_16(a,b) ((opus_val32)(a)*(opus_val32)(b)) 178 #define MAC16_16(c,a,b) ((c)+(opus_val32)(a)*(opus_val32)(b)) 197 #define DIV32_16(a,b) (((opus_val32)(a))/(opus_val16)(b)) 198 #define DIV32(a,b) (((opus_val32)(a))/(opus_val32)(b) [all...] |
pitch.h | 55 static inline void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4], int len) 123 int N, opus_val32 *xy1, opus_val32 *xy2) 126 opus_val32 xy01=0; 127 opus_val32 xy02=0; 139 opus_val32 143 celt_pitch_xcorr(const opus_val16 *_x, const opus_val16 *_y, opus_val32 *xcorr, int len, int max_pitch);
|
celt_lpc.c | 39 const opus_val32 *ac, /* in: [0...p] autocorrelation values */ 44 opus_val32 r; 45 opus_val32 error = ac[0]; 47 opus_val32 lpc[LPC_ORDER]; 58 opus_val32 rr = 0; 67 opus_val32 tmp1, tmp2; 116 opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT); 126 opus_val32 sum[4]={0,0,0,0}; 135 opus_val32 sum = 0; 144 void celt_iir(const opus_val32 *_x [all...] |
vq.c | 78 gain = celt_div((opus_val32)MULT16_16(Q15_ONE,len),(opus_val32)(len+factor*K)); 113 int N, opus_val32 Ryy, opus_val16 gain) 119 opus_val32 t; 166 opus_val32 sum; 167 opus_val32 xy; 256 opus_val32 best_num = -VERY_LARGE16; 326 opus_val32 Ryy; 353 opus_val32 E = EPSILON; 355 opus_val32 t [all...] |
celt.c | 89 static void comb_filter_const(opus_val32 *y, opus_val32 *x, int T, int N, 92 opus_val32 x0, x1, x2, x3, x4; 114 void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N, 121 opus_val32 x0, x1, x2, x3, x4;
|
quant_bands.c | 142 static opus_val32 loss_distortion(const opus_val16 *eBands, opus_val16 *oldEBands, int start, int end, int len, int C) 145 opus_val32 dist = 0; 164 opus_val32 prev[2] = {0,0}; 186 opus_val32 q; 188 opus_val32 f, tmp; 198 SUB32((opus_val32)oldEBands[i+c*m->nbEBands],max_decay))); 248 q = (opus_val32)SHL32(EXTEND32(qi),DB_SHIFT); 264 int force_intra, opus_val32 *delayedIntra, int two_pass, int loss_rate, int lfe) 274 opus_val32 new_distortion; 427 opus_val32 prev[2] = {0, 0} [all...] |
quant_bands.h | 53 int nbAvailableBytes, int force_intra, opus_val32 *delayedIntra,
|
celt.h | 196 void comb_filter(opus_val32 *y, opus_val32 *x, int T0, int T1, int N,
|
fixed_debug.h | 44 #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)))) 53 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) 226 #define PSHR32(a,shift) (celt_mips--,SHR32(ADD32((a),(((opus_val32)(1)<<((shift))>>1))),shift)) 442 if (ABS32(b)>=((opus_val32)(1)<<(15+Q))) 482 res = ((((opus_int64)a)*(opus_int64)b) + (((opus_val32)(1)<<Q)>>1))>> Q;
|
celt_encoder.c | 86 opus_val32 delayedIntra; 103 opus_val32 preemph_memE[2]; 104 opus_val32 preemph_memD[2]; 111 opus_val32 overlap_max; 217 static int transient_analysis(const opus_val32 * OPUS_RESTRICT in, int len, int C, 222 opus_val32 mem0,mem1; 246 opus_val32 mean; 248 opus_val32 norm; 255 opus_val32 x,y; 376 opus_val32 mean_diff=0 [all...] |
bands.c | 104 opus_val32 maxval=0; 105 opus_val32 sum = 0; 162 opus_val32 sum = 1e-27f; 254 opus_val32 thresh32; 265 opus_val32 t; 281 opus_val32 Ediff; 297 opus_val32 r32 = SHR32(celt_exp2(-EXTRACT16(Ediff)),1); 378 opus_val32 xp=0, side=0; 379 opus_val32 El, Er; 384 opus_val32 t, lgain, rgain [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, 72 opus_val32 b) 87 static inline opus_val32 MAC16_16_armv5e(opus_val32 c, opus_val16 a, 103 static inline opus_val32 MULT16_16_armv5e(opus_val16 a, opus_val16 b [all...] |
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) 74 #define MULT32_32_Q31(a,b) (opus_val32)((((opus_int64)(a)) * ((opus_int64)(b)))>>31)
|
/external/chromium_org/third_party/opus/src/src/ |
opus_private.h | 85 typedef void (*downmix_func)(const void *, opus_val32 *, int, int, int, int, int); 86 void downmix_float(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C); 87 void downmix_int(const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C); 90 int bitrate, opus_val16 tonality, opus_val32 *mem, int buffering, 99 int delay_compensation, downmix_func downmix, opus_val32 *subframe_mem);
|
analysis.h | 45 opus_val32 inmem[ANALYSIS_BUF_SIZE]; 63 opus_val32 subframe_mem[3];
|
mlp.c | 39 static inline opus_val16 tansig_approx(opus_val32 _x) /* Q19 */ 98 opus_val32 sum = SHL32(EXTEND32(*W++),8); 106 opus_val32 sum = SHL32(EXTEND32(*W++),14);
|
opus_multistream_encoder.c | 79 opus_val32 subframe_mem[3]; 81 /* then opus_val32 window_mem[channels*120]; */ 82 /* then opus_val32 preemph_mem[channels]; */ 85 static opus_val32 *ms_get_preemph_mem(OpusMSEncoder *st) 101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); 104 static opus_val32 *ms_get_window_mem(OpusMSEncoder *st) 120 return (opus_val32*)ptr; 186 opus_val32 diff; 220 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem [all...] |
opus_encoder.c | 56 opus_val32 XX, XY, YY; 89 opus_val32 hp_mem[4]; 322 opus_val32 *S, /* I/O: State vector [2] */ 330 opus_val32 vout; 331 opus_val32 inval; 332 opus_val32 A[2], B[3]; 334 A[0] = (opus_val32)(A_Q28[0] * (1.f/((opus_int32)1<<28))); 335 A[1] = (opus_val32)(A_Q28[1] * (1.f/((opus_int32)1<<28))); 336 B[0] = (opus_val32)(B_Q28[0] * (1.f/((opus_int32)1<<28))); 337 B[1] = (opus_val32)(B_Q28[1] * (1.f/((opus_int32)1<<28))) [all...] |
/external/chromium_org/third_party/opus/src/celt/tests/ |
test_unit_mathops.c | 65 opus_val32 val; 196 opus_val32 x; 225 opus_val32 x; 239 opus_val32 x; 242 opus_val32 lg; 243 opus_val32 y;
|
/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) 76 int N, opus_val32 *xy1, opus_val32 *xy2) 105 static inline void comb_filter_const(opus_val32 *y, opus_val32 *x, int T, int N, 118 const opus_val32 *xp = &x[i-T-2];
|