| /external/skia/src/effects/ |
| SkColorMatrixFilter.cpp | 26 const int shift = state->fShift; local 29 result[0] = rowmul4(&array[0], r, g, b, a) >> shift; 30 result[1] = rowmul4(&array[5], r, g, b, a) >> shift; 31 result[2] = rowmul4(&array[10], r, g, b, a) >> shift; 32 result[3] = rowmul4(&array[15], r, g, b, a) >> shift; 49 const int shift = state->fShift; local 52 result[0] = rowmul3(&array[0], r, g, b) >> shift; 53 result[1] = rowmul3(&array[5], r, g, b) >> shift; 54 result[2] = rowmul3(&array[10], r, g, b) >> shift; 72 const int shift = state->fShift local 97 const int shift = state->fShift; local [all...] |
| /external/skia/src/images/ |
| SkImageDecoder_libico.cpp | 50 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 53 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 56 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 59 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 62 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 165 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) = NULL; 270 int shift = 7 - (andPixelNo & 0x7); local 271 int m = 1 << shift; 274 placePixel(pixelNo, buf, xorOffset, x, y, w, bm, alphaByte, m, shift, colors); 289 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors [all...] |
| /external/skia/tests/ |
| BitmapCopyTest.cpp | 108 uint8_t val8, shift; local 128 shift = x % 8; 129 val = (val8 >> shift) & 0x1 ; 142 uint8_t val8, shift; local 161 shift = x % 8; // We assume we're in the right byte. 164 val8 |= (0x1 << shift); 166 val8 &= ~(0x1 << shift);
|
| /external/sonivox/arm-fm-22k/lib_src/ |
| eas_pcm.c | 376 /* calculate shift for frequencies > 1.0 */ 456 * pitch - pitch shift in cents 1359 EAS_INT shift; local 1382 temp <<= shift; local [all...] |
| /external/sonivox/arm-hybrid-22k/lib_src/ |
| eas_pcm.c | 376 /* calculate shift for frequencies > 1.0 */ 456 * pitch - pitch shift in cents 1359 EAS_INT shift; local 1382 temp <<= shift; local [all...] |
| /external/sonivox/arm-wt-22k/lib_src/ |
| eas_pcm.c | 376 /* calculate shift for frequencies > 1.0 */ 456 * pitch - pitch shift in cents 1359 EAS_INT shift; local 1382 temp <<= shift; local [all...] |
| /external/speex/libspeex/ |
| lsp.c | 503 int shift = QIMP-13; local 506 a = PSHR32(xp[m][j+2] + xout1 + xq[m][j+2] - xout2, shift);
|
| /external/tremolo/Tremolo/ |
| floor0.c | 201 ogg_int32_t qexp=0,shift; local 237 if(!(shift=MLOOP_1[(pi|qi)>>25])) 238 if(!(shift=MLOOP_2[(pi|qi)>>19])) 239 shift=MLOOP_3[(pi|qi)>>16]; 241 qi=(qi>>shift)*labs(ilsp[j-1]-wi); 242 pi=(pi>>shift)*labs(ilsp[j]-wi); 243 qexp+=shift; 245 if(!(shift=MLOOP_1[(pi|qi)>>25])) 246 if(!(shift=MLOOP_2[(pi|qi)>>19])) 247 shift=MLOOP_3[(pi|qi)>>16] 262 pi>>=shift; local 263 qi>>=shift; local 279 pi>>=shift; local 280 qi>>=shift; local [all...] |
| mdct.c | 228 STIN void mdct_butterflies(DATA_TYPE *x,int points,int shift){ 230 int stages=7-shift; 236 mdct_butterfly_generic(x+(points>>i)*j,points>>i,4<<(i+shift)); 250 STIN void mdct_bitreverse(DATA_TYPE *x,int n,int shift){ 256 DATA_TYPE *xx = x + (b>>shift); 416 int shift; local 418 for (shift=4;!(n&(1<<shift));shift++); 419 shift=13-shift [all...] |
| /external/v8/src/ |
| string-search.h | 43 // Cap on the maximal shift in the Boyer-Moore implementation. By setting a 59 // Bad-char shift table stored in the state. It's length is the alphabet size. 173 // Store for the BoyerMoore(Horspool) bad char shift table. 180 // Store for the BoyerMoore good suffix shift table. 188 // shift table. 319 int shift = local 321 index += shift; 331 // Fall back on BMH shift. 339 int shift = j - bc_occ; local 340 if (gs_shift > shift) { 443 int shift = j - bc_occ; local [all...] |
| /external/valgrind/main/VEX/priv/ |
| guest_s390_helpers.c | 516 /* Shift the sign bit into the LSB. Note, that the tested value is an 893 UInt imask = 0, shift = 0; local 905 case 0: shift = 0; imask = 0x00000000; break; 906 case 1: shift = 24; imask = 0x000000FF; break; 907 case 2: shift = 16; imask = 0x0000FF00; break; 908 case 3: shift = 16; imask = 0x0000FFFF; break; 909 case 4: shift = 8; imask = 0x00FF0000; break; 910 case 5: shift = 8; imask = 0x00FF00FF; break; 911 case 6: shift = 8; imask = 0x00FFFF00; break; 912 case 7: shift = 8; imask = 0x00FFFFFF; break [all...] |
| /external/valgrind/main/VEX/useful/ |
| fp_80_64.c | 106 Int bexp, i, j, shift; local 143 shift = 0; 147 shift++; 152 for (i = 51 - shift; i >= 0; i--) { 159 bexp -= shift;
|
| /external/valgrind/main/coregrind/m_debuginfo/ |
| d3basics.c | 344 Int shift = 0; local 354 result |= ((ULong)(byte & 0x7f)) << shift; 356 shift += 7; 364 if (sign && (shift < 64) && (byte & 0x40)) 365 result |= -(1ULL << shift); [all...] |
| /frameworks/av/media/libeffects/visualizer/ |
| EffectVisualizer.cpp | 291 int32_t shift; local 296 shift = 32; 302 if (shift > clz) shift = clz; 305 // translate to a shift of 8 (for converting 16 bit to 8 bit) 306 shift = 25 - shift; 308 if (shift < 3) { 309 shift = 3; 312 shift++ [all...] |
| /frameworks/av/media/libstagefright/codecs/aacdec/ |
| trans4m_freq_2_time_fxp.cpp | 58 The result of a shift is undefined if the right operand is greater than 60 To avoid undefined shift by 32, a check of the shift has been 62 than 32. By design the shift up is related to the global gain, 65 input buffer or excessive down shift is detected. 96 - Corrected negative shift when computing rounding factor 577 Int shift; local 630 * "The result [of a shift] is undefined if the right operand is 633 * => avoid shift by 32 or 16 656 Int shift = exp + 15 - SCALING local 758 Int shift = -exp; local 1581 Int shift; local 1663 Int shift = exp + 15 - SCALING; local 1774 Int shift = -exp; local [all...] |
| /frameworks/av/media/libstagefright/codecs/aacenc/src/ |
| psy_configuration.c | 291 Word16 pbVal0, pbVal1, shift; local 322 shift = norm_l(snr); 323 snr = Div_32(0x00008000 << shift, snr << shift);
|
| /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
| bitstream.cpp | 953 int byte0, byte1, byte2, shift, tmpvar; local [all...] |
| /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
| bitstream_io.cpp | 260 UInt word, shift; local 293 shift = ((WORD_SIZE - 1) << 3); 296 *ptr++ = (UChar)((word >> shift) & 0xFF); 303 // *ptr = (UChar)((word>>shift)&0xFF); /* need to do it for the last fractional byte */ 700 /* shift bitstream1 to the right by movebyte */ 709 /* now shift back previous bitstream1 buffer to the end */
|
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
| omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s | 50 shift RN 3 label 78 LDRSB shift,[pQPdiv,QP] ;// Shift = QP / 6 91 ;// 'Shift' ranges between [0,8] 92 ;// So we can shift the packed rowLuma values [0b|0a] with a single LSL operation 96 LSL rowLuma01,rowLuma01,shift 97 LSL rowLuma23,rowLuma23,shift 107 ;// We first calculate pVRow[armVCM4P10_PosToVCol4x4[i]]) << Shift which fits into 16 bits (above) 108 ;// Then the product pSrcDst[i] * (pVRow[armVCM4P10_PosToVCol4x4[i]] << Shift) is calculated 119 SMULTB temp1,SrcDst00,rowLuma23 ;// pSrcDst[1] * (pVRow[2]<<Shift) 195 shift RN 3 label [all...] |
| /frameworks/compile/libbcc/runtime/lib/ |
| gcc_personality_v0.c | 88 uintptr_t shift = 0; local 93 result |= (byte & 0x7f) << shift; 94 shift += 7;
|
| /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
| timex.h | 50 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
|
| /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
| timex.h | 50 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
| timex.h | 50 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
|
| /bionic/libc/kernel/common/linux/ |
| timex.h | 59 int shift; member in struct:timex
|
| /bionic/linker/ |
| linker_format.c | 568 int shift = 64 - 8*bytelen; local 569 value = (uint64_t)(((int64_t)(value << shift)) >> shift);
|