| /system/core/libpixelflinger/codeflinger/ |
| load_store.cpp | 347 const int shift = (GGL_DITHER_BITS - (sbits-dbits)); local 348 if (shift>0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSR, shift)); 349 else if (shift<0) ADD(AL, 0, ireg, ireg, reg_imm(dither.reg, LSL,-shift)); 355 int shift = sh-dbits; local 357 MOV(AL, 0, ireg, reg_imm(s.reg, LSR, shift)); 365 MOV(AL, 0, d.reg, reg_imm(s.reg, LSR, shift)); 367 ORR(AL, 0, d.reg, d.reg, reg_imm(s.reg, LSR, shift)); 371 int shift = sh-dh local [all...] |
| /dalvik/vm/compiler/codegen/arm/ |
| CodegenCommon.cpp | 95 int shift; local 103 shift = FPREG(reg) ? kFPReg0 : 0; 105 shift += regId; 106 return (seed << shift);
|
| /external/aac/libAACdec/src/ |
| aacdec_pns.cpp | 294 int i, shift, sfExponent; local 308 shift = sfExponent - specScale + 1 + noise_e; 311 if (shift>=0) { 312 shift = fixMin( shift, DFRACT_BITS-1 ); 314 spec [i] = fMultDiv2 (spec [i], sfMatissa) << shift; 317 shift = fixMin( -shift, DFRACT_BITS-1 ); 319 spec [i] = fMultDiv2 (spec [i], sfMatissa) >> shift;
|
| /external/aac/libFDK/include/ |
| FDK_trigFcts.h | 148 int shift = (31-scale-LD-1); local 153 s = ((LONG)residual) >> shift; 155 residual &= ( (1<<shift) - 1 );
|
| /external/aac/libSYS/src/ |
| wav_file.cpp | 480 int shift; local 489 shift = (nBufBits-nSigBits)-(32-bps); 493 shift += 8; 496 if (shift < 0) 497 tmp >>= -shift; 499 tmp <<= shift; local
|
| /external/chromium/chrome/browser/extensions/ |
| extension_input_api.cc | 106 bool shift = false; local 107 if (args->GetBoolean(kShift, &shift)) 108 flags |= shift ? ui::EF_SHIFT_DOWN : 0;
|
| /external/chromium/chrome/browser/ |
| process_info_snapshot_mac.cc | 88 int shift = 0; local 91 shift = 0; 95 shift = 1; 98 shift = 2; 101 shift = 3; 104 shift = 4; 107 shift = 5; 110 shift = 6; 117 for (int i = 0; i < shift; i++)
|
| /external/chromium/third_party/libevent/ |
| event_tagging.c | 150 int count = 0, shift = 0, done = 0; local 154 number |= (lower & 0x7f) << shift; 155 shift += 7;
|
| /external/compiler-rt/lib/ |
| fp_lib.h | 117 const int shift = rep_clz(*significand) - rep_clz(implicitBit); local 118 *significand <<= shift; local 119 return 1 - shift;
|
| /external/freetype/src/base/ |
| ftbbox.c | 382 int shift = 0; local 392 /* We want to shift `a', `b', and `c' concurrently in order */ 396 /* Necessarily, we need to shift `a', `b', and `c' so that */ 414 /* Next, we compute the `shift', by shifting `t1' as many */ 419 /* Finally, we shift `a', `b', and `c' by the same amount. */ 438 shift++; 445 a >>= shift; local 446 b >>= shift; local 447 c >>= shift; local 453 shift++ 458 a <<= shift; local 459 b <<= shift; local 460 c <<= shift; local [all...] |
| fttrigon.c | 103 FT_Int shift; local 110 shift = 0; 113 /* determine msb bit index in `shift' */ 117 shift += 16; 122 shift += 8; 127 shift += 4; 132 shift += 2; 137 shift += 1; 140 if ( shift <= 27 ) 142 shift = 27 - shift 420 FT_Int shift; local 457 FT_Int shift; local 493 FT_Int shift; local [all...] |
| /external/grub/netboot/ |
| misc.c | 97 int shift = 28; local 107 shift = 12; 113 shift = 4; 134 for (; shift >= 0; shift -= 4) 135 *q++ = "0123456789ABCDEF"[(h >> shift) & 0xF] | ncase;
|
| /external/guava/guava/src/com/google/common/math/ |
| DoubleUtils.java | 155 int shift = exponent - SIGNIFICAND_BITS - 1; local 156 long twiceSignifFloor = absX.shiftRight(shift).longValue(); 166 && ((signifFloor & 1) != 0 || absX.getLowestSetBit() < shift);
|
| /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
| DXTFlipper.java | 54 long shift = (4 * y + x) * 3; local 56 mask <<= shift; local 58 code >>= shift; local 63 long shift = (4 * y + x) * 3; local 65 code = (code & mask) << shift; 66 mask <<= shift; local
|
| /external/libvpx/vp8/common/ |
| reconintra.c | 52 int shift; local 78 shift = 3 + x->up_available + x->left_available; 79 expected_dc = (average + (1 << (shift - 1))) >> shift; 173 int shift; local 199 shift = 3 + x->up_available + x->left_available; 200 expected_dc = (average + (1 << (shift - 1))) >> shift; 300 int shift; local 329 shift = 2 + x->up_available + x->left_available 440 int shift; local [all...] |
| /external/mesa3d/include/pixelflinger2/ |
| pixelflinger2_vector4.h | 82 void LShr(const unsigned shift) { u[0] >>= shift; u[1] >>= shift; u[2] >>= shift; u[3] >>= shift; } local 83 void AShr(const unsigned shift) { i[0] >>= shift; i[1] >>= shift; i[2] >>= shift; i[3] >>= shift; } local [all...] |
| /external/qemu/audio/ |
| wavcapture.c | 97 int stereo, bits16, shift; local 125 shift = bits16 + stereo; 130 le_store (hdr + 28, freq << shift, 4); 131 le_store (hdr + 32, 1 << shift, 2);
|
| /external/skia/src/core/ |
| SkBitmapProcState.cpp | 371 int shift = fOrigBitmap.extractMipLevel(&fMipBitmap, local 375 if (shift > 0) { 381 SkScalar scale = SkFixedToScalar(SK_Fixed1 >> shift); 521 index >>= 1; // shift away any opaque/alpha distinction
|
| /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);
|
| /external/webkit/Source/WebCore/html/canvas/ |
| WebGLTexture.cpp | 281 int shift = (1 << ii); local 282 GC3Dsizei x = (value >> shift); 285 log += shift;
|
| /external/webkit/Source/WebCore/rendering/mathml/ |
| RenderMathMLRoot.cpp | 55 // Vertical shift of the left end point of the radical (%) 134 float shift = (maxHeight - thresholdHeight) / static_cast<float>(thresholdHeight); local 135 if (shift > 1.) 136 shift = 1.0f; 137 topStartShift = static_cast<int>(gRadicalBottomPointXPos * frontWidth * shift); 222 float shift = (maxHeight - thresholdHeight) / static_cast<float>(thresholdHeight); local 223 if (shift > 1.) 224 shift = 1.0f; 226 topStartShift = static_cast<int>(gRadicalBottomPointXPos * frontWidth * shift);
|
| /frameworks/av/media/libstagefright/codecs/aacdec/ |
| esc_iquant_scaling.cpp | 163 shift = QTABLE - *pQFormat; 171 tmp_coef = x * (inverseQuantTable[absX] >> shift); 190 tmp_coef = x * (inverseQuantTable[absX] >> shift); 195 approxOneThird = (w1 * FACTOR) >> shift; 203 deltaOneThird >>= (shift + ORDER - 1); 349 * a) If yes, just multiply by table value by itself, then shift as 367 * then FACTOR is a simple power of 2, so a shift can do the job. 447 Int shift; local 492 shift = QTABLE - QFormat; 506 mult_high = (x * (inverseQuantTable[absX] >> shift)); [all...] |
| fft_rx4_short.cpp | 38 (2) Increased down shift from 1 to 2, to ensure that 32-bit 66 exponent returns a shift to compensate the scaling introduced by 228 Int shift; local 247 /* shift down to avoid possible overflow in first pass of the loop */ 248 shift = 2; 268 temp1 >>= shift; local 269 temp2 >>= shift; local 276 temp3 >>= shift; local 277 temp4 >>= shift; local 287 temp1 >>= shift; local 288 temp2 >>= shift; local 295 temp3 >>= shift; local 296 temp4 >>= shift; local 329 temp1 >>= shift; local 330 temp2 >>= shift; local 336 temp3 >>= shift; local 337 temp4 >>= shift; local 347 temp1 >>= shift; local 348 temp2 >>= shift; local 358 temp3 >>= shift; local 359 temp4 >>= shift; local [all...] |