Searched refs:celt_ilog2 (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/
H A Dmathops.c73 int shift = celt_ilog2(b)-29;
128 k = (celt_ilog2(x)>>1)-7;
186 i = celt_ilog2(x);
H A Dfixed_c5x.h73 #define celt_ilog2(x) (30 - _lnorm(x)) macro
H A Dfixed_c6x.h40 #define celt_ilog2(x) (30 - _norm(x)) macro
H A Dmathops.h148 static OPUS_INLINE opus_int16 celt_ilog2(opus_int32 x) function
150 celt_assert2(x>0, "celt_ilog2() only defined for strictly positive numbers");
159 return x <= 0 ? 0 : celt_ilog2(x);
178 i = celt_ilog2(x);
H A Dpitch.c59 xshift = celt_ilog2(maxcorr)-14;
166 shift = celt_ilog2(maxabs)-10;
331 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11;
445 sh = celt_ilog2(x2y2)>>1;
481 sh = celt_ilog2(x2y2)>>1;
H A Dvq.c123 k = celt_ilog2(Ryy)>>1;
262 rshift = 1+celt_ilog2(K-pulsesLeft+i+1);
363 k = celt_ilog2(E)>>1;
H A Dbands.c114 int shift = celt_ilog2(maxval)-10;
283 shift = celt_ilog2(t)>>1;
418 kl = celt_ilog2(El)>>1;
419 kr = celt_ilog2(Er)>>1;
H A Dcelt_lpc.c268 shift = celt_ilog2(ac0)-30+10;
H A Dcelt_encoder.c286 shift = 14-celt_ilog2(1+celt_maxabs16(tmp, len));
/external/libopus/celt/
H A Dmathops.c73 int shift = celt_ilog2(b)-29;
128 k = (celt_ilog2(x)>>1)-7;
186 i = celt_ilog2(x);
H A Dmathops.h148 static OPUS_INLINE opus_int16 celt_ilog2(opus_int32 x) function
150 celt_assert2(x>0, "celt_ilog2() only defined for strictly positive numbers");
159 return x <= 0 ? 0 : celt_ilog2(x);
178 i = celt_ilog2(x);
H A Dpitch.c59 xshift = celt_ilog2(maxcorr)-14;
166 shift = celt_ilog2(maxabs)-10;
331 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11;
445 sh = celt_ilog2(x2y2)>>1;
481 sh = celt_ilog2(x2y2)>>1;
H A Dvq.c123 k = celt_ilog2(Ryy)>>1;
262 rshift = 1+celt_ilog2(K-pulsesLeft+i+1);
363 k = celt_ilog2(E)>>1;
H A Dbands.c114 int shift = celt_ilog2(maxval)-10;
283 shift = celt_ilog2(t)>>1;
418 kl = celt_ilog2(El)>>1;
419 kr = celt_ilog2(Er)>>1;
H A Dcelt_lpc.c268 shift = celt_ilog2(ac0)-30+10;
H A Dcelt_encoder.c286 shift = 14-celt_ilog2(1+celt_maxabs16(tmp, len));
/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_mathops.c245 lg = celt_ilog2(x);
248 printf("celt_ilog2 failed: 0<=celt_ilog2(x)<31 (x = %d, celt_ilog2(x) = %d)\n",x,lg);
255 printf("celt_ilog2 failed: 2**celt_ilog2(x)<=x<2**(celt_ilog2(x)+1) (x = %d, 2**celt_ilog2(x) = %d)\n",x,y);
/external/libopus/celt/tests/
H A Dtest_unit_mathops.c245 lg = celt_ilog2(x);
248 printf("celt_ilog2 failed: 0<=celt_ilog2(x)<31 (x = %d, celt_ilog2(x) = %d)\n",x,lg);
255 printf("celt_ilog2 failed: 2**celt_ilog2(x)<=x<2**(celt_ilog2(x)+1) (x = %d, 2**celt_ilog2(x) = %d)\n",x,y);
/external/chromium_org/third_party/opus/src/src/
H A Dopus_encoder.c362 shift=celt_ilog2(Fs/(cutoff_Hz*3));
/external/libopus/src/
H A Dopus_encoder.c362 shift=celt_ilog2(Fs/(cutoff_Hz*3));

Completed in 238 milliseconds