/external/skia/tests/ |
PathCoverageTest.cpp | 50 int shift = 30 - SkCLZ(distance); local 52 shift &= ~(shift>>31); 53 if (shift > MAX_COEFF_SHIFT) { 54 shift = MAX_COEFF_SHIFT; 56 return 1 << shift;
|
/external/speex/libspeex/ |
fftwrap.c | 47 int i, shift; local 56 shift=0; 60 shift++; 64 out[i] = SHL16(in[i], shift); 66 return shift; 69 static void renorm_range(spx_word16_t *in, spx_word16_t *out, int shift, int len) 74 out[i] = PSHR16(in[i], shift); 275 int shift; local 277 shift = maximize_range(in, in, 32000, t->N); 279 renorm_range(in, in, shift, t->N) [all...] |
stereo.c | 154 int shift; local 187 shift = spx_ilog2(largest)-15; 188 largest = VSHR32(largest, shift-4); 189 smallest = VSHR32(smallest, shift); 206 shift = spx_ilog2(e_tot); 207 e_tot = VSHR32(e_tot, shift-25); 208 e_left = VSHR32(e_left, shift-10); 209 e_right = VSHR32(e_right, shift-10);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
homing_amr_wb_dec.cpp | 250 int16 i, j, tmp, shift; local 289 shift = 15 - tmp; 290 param[i] = shl_int16(param[i], shift); 320 shift = 0; 335 tmp >>= shift; local 336 tmp = shl_int16(tmp, shift);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
residual.cpp | 158 int escape, numPrefix, sufmask, suffix, shift, sign, value, absvalue, vlcnum, level_two_or_higher; local 332 shift = vlcnum - 1; 333 escape = (15 << shift) + 1; 334 numPrefix = (value - 1) >> shift; 335 sufmask = ~((0xffffffff) << shift); 339 status = BitstreamWriteBits(stream, numPrefix + vlcnum + 1, (1 << (shift + 1)) | (suffix << 1) | sign);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
fastquant.cpp | 128 changed the division into LUT multiplication/shift and other 161 Int shift = 15 + (QPx2 >> 4); local 225 q_value = coeff_quant(coeff, q_scale, shift); 280 Int shift = 15 + (QPx2 >> 4); local 388 q_value >>= shift; local 449 Int shift = 15 + (QP >> 3); local 473 scale_q = coeff_quant(coeff, scale_q, shift); 555 Int shift = 15 + (QP >> 3); local 608 q_value = coeff_quant(coeff, q_scale, shift); 684 Int shift = 15 + (QP >> 3) local 783 q_value >>= shift; local 858 Int shift = 15 + (QP >> 3); local [all...] |
fastquant_inline.h | 41 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) 46 q_value >>= shift; //q_value = (((coeff - QPdiv2)*q_scale)>>LSL ); local 187 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) 194 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/ 282 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) 289 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/ 449 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) 455 register int32 ss = shift;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
SaturateFilter.java | 44 "uniform float shift;\n" + 49 " float kv = dot(color.rgb, weights) + shift;\n" + 141 float shift = 1.0f / 255.0f; local 145 mBenProgram.setHostValue("shift", shift);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
TimerRecordingAction.java | 156 int shift = (3 - i) * 8; local 157 result |= ((data[i] & 0xFF) << shift);
|
/frameworks/rs/driver/runtime/ |
rs_allocation.c | 314 const size_t shift = alloc->mHal.drvState.yuv.shift; local 319 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)]; 328 const size_t shift = alloc->mHal.drvState.yuv.shift; local 333 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)];
|
/hardware/intel/common/libva/va/x11/ |
va_dri.c | 206 int shift = 32; /* var to prevent warning on next line */ local 207 *hSAREA |= ((drm_handle_t) rep.hSAREAHigh) << shift; 497 * backwards compatibility (Because of the >> 2 shift) but the fix 569 int shift = 32; /* var to prevent warning on next line */ local 570 *hFrameBuffer |= ((drm_handle_t) rep.hFrameBufferHigh) << shift;
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicIntegerArray.java | 23 private static final int shift; field in class:AtomicIntegerArray 30 shift = 31 - Integer.numberOfLeadingZeros(scale); 41 return ((long) i << shift) + base;
|
AtomicLongArray.java | 22 private static final int shift; field in class:AtomicLongArray 29 shift = 31 - Integer.numberOfLeadingZeros(scale); 40 return ((long) i << shift) + base;
|
AtomicReferenceArray.java | 27 private static final int shift; field in class:AtomicReferenceArray 40 shift = 31 - Integer.numberOfLeadingZeros(scale); 54 return ((long) i << shift) + base;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ResizableIntArray.java | 136 * Shift to the left by elementCount, discarding elementCount pointers at the start. 137 * @param elementCount how many elements to shift. 139 public void shift(final int elementCount) { method in class:ResizableIntArray
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
DefaultSoftKeyboardEN.java | 94 * Get the shift key state from the editor. 97 * @return state ID of the shift key (0:off, 1:on) 194 int shift = (mAutoCaps)? getShiftKeyState(mWnn.getCurrentInputEditorInfo()) : 0; local 195 if (shift != mShiftOn) { 196 Keyboard kbd = getShiftChangeKeyboard(shift); 197 mShiftOn = shift; 289 /* update shift key's state */ 292 int shift = (mAutoCaps)? getShiftKeyState(mWnn.getCurrentInputEditorInfo()) : 0; local 293 if (shift != mShiftOn) { 294 Keyboard kbd = getShiftChangeKeyboard(shift); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/bits/ |
valarray_after.h | 192 valarray<value_type> shift(int) const; 258 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 260 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
valarray_after.h | 191 valarray<value_type> shift(int) const; 257 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 259 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
valarray_after.h | 191 valarray<value_type> shift(int) const; 257 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 259 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
valarray_after.h | 190 valarray<value_type> shift(int) const; 256 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 258 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
valarray_after.h | 190 valarray<value_type> shift(int) const; 256 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 258 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
valarray_after.h | 190 valarray<value_type> shift(int) const; 256 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 258 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
valarray_after.h | 190 valarray<value_type> shift(int) const; 256 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 258 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
valarray_after.h | 192 valarray<value_type> shift(int) const; 258 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 260 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
valarray_after.h | 192 valarray<value_type> shift(int) const; 258 _Expr<_Clos, _Tp>::shift(int __n) const function in class:_Expr 260 valarray<_Tp> __v = valarray<_Tp>(*this).shift(__n);
|