| /external/speex/libspeex/ |
| lpc_bfin.h | 49 int shift, ac_shift; local 58 shift = 8; 59 while (shift && ac0<0x40000000) 61 shift--; 72 nshift = -shift; 115 d = ADD32(d,SHR32(MULT16_16(x[j],x[j]), shift)); 124 d = ADD32(d,SHR32(MULT16_16(x[j],x[j-i]), shift));
|
| /external/srec/srec/cfront/ |
| log_tabl.c | 61 logtab->shift = (int)(val + 0.5); 84 int log_lookup(log_table_info *logtab, int operand, int shift) 94 shift++; 98 shift++; 102 log_report("tab: %d %d -> %d\n", operand, shift, 103 (int)((shift) *(logtab->shift) + logtab->table[operand])); 105 return ((int)((shift) *(logtab->shift) + logtab->table[operand])); 122 int ii, aa, bb, cc, value, shift; local [all...] |
| /external/srec/srec/clib/ |
| matx_ops.c | 76 int ii, jj, shift; local 98 shift = 0; 101 shift++; 105 scale_coef = (1 << shift); 121 return (shift);
|
| /external/stlport/test/unit/ |
| transform_test.cpp | 34 static char shift( char c ) { function in class:TransformTest 77 transform( s.begin(), s.end(), s.begin(), shift );
|
| /frameworks/av/media/libstagefright/codecs/aacdec/ |
| imdct_fxp.cpp | 51 shift = shift factor to reflect scaling introduced by IFFT and imdct_fxp, 149 RETURNING( shift ) 179 RETURN (exp - shift) 277 Int shift = 0; local 305 shift = 21; /* log2(n)-1 + 14 acomodates 2/N factor */ 310 shift = 24; /* log2(n)-1 +14 acomodates 2/N factor */ 446 shift -= mix_radix_fft(data_quant, 449 shift -= inv_long_complex_rot(data_quant, 456 shift -= fft_rx4_short(data_quant, &max) [all...] |
| long_term_prediction.cpp | 388 Int shift; local 633 shift = 16 - pv_normalize(max); 635 if (shift < 0) 637 shift = 0; 643 return (shift);
|
| trans4m_time_2_freq_fxp.cpp | 51 Added shift down operation for case when the window was equal to one. 388 Int shift = *pQ_format - 1; local 423 *pAux_temp_1 = fxp_mul32_by_16((*pAux_temp_1), *pLong_Window_1++) >> shift; 425 *pAux_temp_2 = fxp_mul32_by_16((*pAux_temp_2), *pLong_Window_2++) >> shift; 433 if (shift) 437 *(pAux_temp_1++) >>= shift; 438 *(pAux_temp_1++) >>= shift; 454 *pAux_temp_1 = fxp_mul32_by_16((*pAux_temp_1), *pShort_Window_1--) >> shift; 456 *pAux_temp_2 = fxp_mul32_by_16((*pAux_temp_2), *pShort_Window_2--) >> shift; 487 *pAux_temp_1 = fxp_mul32_by_16((*pAux_temp_1), *pShort_Window_1++) >> shift; [all...] |
| /frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
| c_g_aver.cpp | 286 Word16 tmp[M], tmp1, tmp2, shift1, shift2, shift; 309 shift = sub(add(2, shift1), shift2); 310 if (shift >= 0) 312 tmp[i] = shr(tmp[i], shift); // Q15+Qn-Qm-Qx=Q13 316 tmp[i] = shl(tmp[i], negate(shift)); // Q15+Qn-Qm-Qx=Q13 490 Word16 shift; local 524 shift = 2 + shift1 - shift2; 526 if (shift >= 0) 528 *(tmp + i) = shr(*(tmp + i), shift, pOverflow); 533 *(tmp + i) = shl(*(tmp + i), negate(shift), pOverflow) [all...] |
| /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
| hp_max.cpp | 140 Word16 shift, shift1, shift2; 196 shift = sub(shift1, shift2); 198 if (shift >= 0) 200 *cor_hp_max = shr(cor_max, shift); // Q15 204 *cor_hp_max = shl(cor_max, negate(shift)); // Q15 251 Word16 shift, shift1, shift2; local 319 shift = sub(shift1, shift2, pOverflow); 321 if (shift >= 0) 323 *cor_hp_max = shr(cor_max, shift, pOverflow); /* Q15 */ 327 *cor_hp_max = shl(cor_max, negate(shift), pOverflow); /* Q15 * [all...] |
| /frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
| autocorr.c | 38 Word32 i, norm, shift; local 67 shift = 4 - (norm >> 1); 68 if(shift > 0) 73 *p1 = vo_shr_r(*p1, shift); 75 *p1 = vo_shr_r(*p1, shift); 77 *p1 = vo_shr_r(*p1, shift); 79 *p1 = vo_shr_r(*p1, shift);
|
| /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
| h264bsd_stream.c | 118 i32 bits, shift; local 152 shift = (i32)(24 + pStrmData->bitPosInWord); 153 out = (u32)(*pStrm++) << shift; 157 shift -= 8; 158 out |= (u32)(*pStrm++) << shift;
|
| /ndk/tests/device/test-gnustl-full/unit/ |
| transform_test.cpp | 34 static char shift( char c ) { function in class:TransformTest 77 transform( s.begin(), s.end(), s.begin(), shift );
|
| /ndk/tests/device/test-stlport/unit/ |
| transform_test.cpp | 34 static char shift( char c ) { function in class:TransformTest 77 transform( s.begin(), s.end(), s.begin(), shift );
|
| /packages/apps/Email/src/com/beetstra/jutf7/ |
| UTF7Charset.java | 62 * @see com.beetstra.jutf7.UTF7StyleCharset#shift()
64 byte shift() {
method in class:UTF7Charset
|
| UTF7StyleCharset.java | 106 * @return The shift character
108 abstract byte shift();
method in class:UTF7StyleCharset
|
| /external/aac/libSBRdec/src/ |
| transcendent.h | 128 int shift; local 138 shift = (int)(a_e - b_e); 140 shiftAbs = (shift>0)? shift : -shift; 142 shiftedMantissa = (shift>0)? (FX_SGL2FX_DBL(b_m) >> shiftAbs) : (FX_SGL2FX_DBL(a_m) >> shiftAbs); 143 otherMantissa = (shift>0)? FX_SGL2FX_DBL(a_m) : FX_SGL2FX_DBL(b_m); 144 *ptrSum_e = (shift>0)? a_e : b_e; 147 /* shift by 1 bit to avoid overflow */ 166 int shift; local 215 int preShift, postShift, index, shift; local 271 int preShift, postShift, index, shift; local 347 int shift = result_e - *destScale; local [all...] |
| /external/compiler-rt/lib/ |
| adddf3.c | 79 // Shift the significands to give us round, guard and sticky, and or in the 86 // Shift the significand of b by the difference in exponents, with a sticky 104 // If partial cancellation occured, we need to left-shift the result 107 const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); local 108 aSignificand <<= shift; local 109 aExponent -= shift; 116 // If the addition carried up, we need to right-shift the result and 130 // need to shift the significand. 131 const int shift = 1 - aExponent; local 132 const bool sticky = aSignificand << (typeWidth - shift); [all...] |
| addsf3.c | 78 // Shift the significands to give us round, guard and sticky, and or in the 85 // Shift the significand of b by the difference in exponents, with a sticky 103 // If partial cancellation occured, we need to left-shift the result 106 const int shift = rep_clz(aSignificand) - rep_clz(implicitBit << 3); local 107 aSignificand <<= shift; local 108 aExponent -= shift; 115 // If the addition carried up, we need to right-shift the result and 129 // need to shift the significand. 130 const int shift = 1 - aExponent; local 131 const bool sticky = aSignificand << (typeWidth - shift); [all...] |
| /external/icu4c/common/ |
| utf_impl.c | 247 uint8_t b, count=1, shift=6; local 274 c|=(UChar32)b<<shift; 310 c|=(UChar32)(b&0x3f)<<shift; 312 shift+=6;
|
| /external/iproute2/include/linux/tc_act/ |
| tc_pedit.h | 23 __u32 shift; member in struct:tc_pedit_key
|
| /external/javasqlite/src/main/java/SQLite/ |
| StringEncoder.java | 28 * is applied after determining and applying a shift that minimizes 45 // bogus shift, no data 53 // determine shift for minimum number of escapes 54 int shift = 1; local 63 shift = i; 73 out.append((char)shift); 75 // apply shift 76 char c = (char)((a[i] - shift)&0xff); 167 // first element is the shift 170 int shift = s.charAt(i++) local [all...] |
| /external/libvpx/vp8/decoder/ |
| dboolhuff.h | 54 int shift; \ 55 for(shift = VP8_BD_VALUE_SIZE - 8 - ((_count) + 8); shift >= 0; ) \ 62 (_value) |= (VP8_BD_VALUE)*(_bufptr)++ << shift; \ 63 shift -= 8; \ 94 register unsigned int shift = vp8dx_bitreader_norm[range]; local 95 range <<= shift; local 96 value <<= shift; local 97 count -= shift;
|
| /external/llvm/lib/Support/ |
| DataExtractor.cpp | 136 unsigned shift = 0; local 142 result |= (byte & 0x7f) << shift; 143 shift += 7; 157 unsigned shift = 0; local 163 result |= (byte & 0x7f) << shift; 164 shift += 7; 170 if (shift < 64 && (byte & 0x40)) 171 result |= -(1 << shift);
|
| /external/skia/src/core/ |
| SkFloatBits.cpp | 84 // apply the sign before we right-shift 114 // apply the sign before we right-shift 144 // apply the sign before we right-shift 162 int shift = EXP_BIAS; local 173 shift += bias; 178 shift -= zeros; 183 SkASSERT(shift >= 0 && shift <= 255); 186 data.fSignBitInt = (sign << 31) | (shift << 23) | (value & ~MATISSA_MAGIC_BIG); 195 int shift = EXP_BIAS local [all...] |
| /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
| EncodedValueUtils.java | 55 int shift = (8 - bytes.length) * 8; local 56 return value << shift >> shift;
|