| /external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
| fxft_ftbitmap.c | 155 FT_Int shift = bit_last & 7; local 156 FT_UInt mask = 0xFF00U >> shift; 165 if ( shift > 0 )
|
| /external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
| cffparse.c | 296 FT_Long new_fraction_length, shift; local 301 shift = new_fraction_length - fraction_length; 303 if ( shift > 0 ) 306 number *= power_tens[shift];
|
| /external/qemu/audio/ |
| wavaudio.c | 69 samples = INT_MAX >> hw->info.shift; 72 samples = bytes >> hw->info.shift; 84 dst = advance (wav->pcm_buf, rpos << hw->info.shift); 87 if (fwrite (dst, convert_samples << hw->info.shift, 1, wav->f) != 1) { 89 convert_samples << hw->info.shift, strerror (errno)); 154 wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); 157 hw->samples << hw->info.shift); 188 uint32_t datalen = wav->total_samples << hw->info.shift; 242 int shift = 0; local 245 result = result | (p[0] << shift); [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/video/ |
| SDL_bmp.c | 287 int shift = (8-ExpandBMP); local 297 *(bits+i) = (pixel>>shift);
|
| /external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
| SDL_gsvideo.c | 275 int shift; local 277 for ( shift = 0; (1<<shift) < value; ++shift ) { 280 return(shift);
|
| SDL_gsyuv.c | 67 int shift; local 69 for ( shift = 0; (1<<shift) < value; ++shift ) { 72 return(shift);
|
| /external/skia/src/core/ |
| SkEdge.cpp | 16 the points into FDot6. This is modulated by the shift parameter, which 20 or pt * 256 for antialiasing. This is implemented as 1 << (shift + 6). 23 or pt >> 8 for antialiasing. This is implemented as pt >> (10 - shift). 28 // away data in value, so just perform a modify up-shift 35 int shift) { 39 float scale = float(1 << (shift + 6)); 135 /* We store 1<<shift in a (signed) byte, so its maximum value is 1<<6 == 64. 159 // shift down dist (it is currently in dot6) 165 // each subdivision (shift value) cuts this dist (error) by 1/4 169 int SkQuadraticEdge::setQuadratic(const SkPoint pts[3], int shift) 266 int shift = fCurveShift; local [all...] |
| /external/skia/src/images/ |
| SkImageDecoder_libico.cpp | 47 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 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); 187 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) = NULL; 286 int shift = 7 - (andPixelNo & 0x7); local 287 int m = 1 << shift; 290 placePixel(pixelNo, buf, xorOffset, x, y, w, bm, alphaByte, m, shift, colors); 305 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors [all...] |
| /external/skia/tests/ |
| RegionTest.cpp | 198 int shift = 32 - bits; local 199 rect->set(rand.nextU() >> shift, rand.nextU() >> shift, 200 rand.nextU() >> shift, rand.nextU() >> 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/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 | 348 Int shift = 0; local 358 result |= ((ULong)(byte & 0x7f)) << shift; 360 shift += 7; 368 if (sign && (shift < 64) && (byte & 0x40)) 369 result |= -(1ULL << shift); [all...] |
| /external/webp/src/utils/ |
| bit_writer.c | 116 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize 117 const int shift = kNorm[bw->range_]; local 119 bw->value_ <<= shift; 120 bw->nb_bits_ += shift; 264 const int shift = VP8L_WRITER_MAX_BITS - used; local 267 n_bits -= shift; 268 bits >>= shift; local
|
| /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/av/services/audioflinger/ |
| PatchPanel.cpp | 437 int shift = __builtin_ctz(recordFramecount); local 438 if (playbackShift < shift) { 439 shift = playbackShift; 441 size_t frameCount = (playbackFrameCount * recordFramecount) >> shift;
|
| /frameworks/base/telephony/java/com/android/internal/telephony/ |
| GsmAlphabet.java | 61 * Using a non-default language locking shift table OR single shift table 67 * Using a non-default language locking shift table AND single shift table 115 * The GSM national language shift table to use, or 0 for the default 7-bit extension table. 291 * @param languageShiftTable the 7 bit single shift language table, or 0 for the default 348 * @param languageShiftTable the 7 bit single shift language table, or 0 for the default 374 * @param languageShiftTable the 7 bit single shift language table, or 0 for the default 434 int shift = bitOffset % 8; local 436 packedChars[++byteOffset] |= value << shift; 506 int shift = bitOffset % 8; local [all...] |
| /frameworks/ex/common/java/com/android/common/ |
| OperationScheduler.java | 179 int shift = errorCount-1; local 182 if (shift > 30) shift = 30; 185 (((long)options.backoffExponentialMillis) << shift);
|