/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | Int16LShiftToInt32_16x32.c | 31 LVM_INT16 shift ) 40 *dst = ( ((LVM_INT32)*src) << shift);
|
H A D | Int32RShiftToInt16_Sat_32x16.c | 31 LVM_INT16 shift ) 38 temp = *src >> shift;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | ms_stereo.c | 65 Word32 idx, shift; local 77 shift = norm_l(nrgL); 78 nrgL = Div_32(thrL << shift, nrgL << shift); 80 shift = norm_l(nrgR); 81 nrgR = Div_32(thrR << shift, nrgR << shift); 89 shift = norm_l(nrgL); 90 nrgL = Div_32(minThreshold << shift, nrgL << shift); [all...] |
H A D | adj_thr.c | 99 Word16 ch, sfb, sfbOffs, shift; local 170 Word16 ch, sfb, sfbGrp, shift; local 226 shift = norm_l(sfbEn); 227 tmpMinSnr = Div_32(L_mpy_ls(avgEn, minSnrLimit) << shift, sfbEn << shift ); 239 shift = norm_l(sfbEn); 240 tmpMinSnr = Div_32( minSnrEn << shift, sfbEn<<shift); 273 shift = norm_l(sfbEnM); 275 round16(Div_32(maxThr<<shift, sfbEn 422 Word16 ch, sfb, sfbGrp,shift; local 587 Word16 actPe, shift; local [all...] |
H A D | tns.c | 98 Word32 temp, shift; local 101 shift = norm_l(fs); 102 lineNumber = (extract_l(fixmul((bandStartOffset[numOfBands] << 2),Div_32(freq << shift,fs << shift))) + 1) >> 1; 544 Word32 i, sfb, shift; local 561 shift = norm_l(tmp); 562 tmp = Div_32( INT_BITS_SCAL << shift, tmp << shift ); 718 Word32 i, j, shift; local 740 shift [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | LEB128.cpp | 121 unsigned shift; local 125 shift = 28; 131 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); 132 shift += 7; 169 unsigned shift; local 172 shift = 28; 175 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); 176 shift += 7; 191 unsigned shift = 0; local 198 result |= (static_cast<uint64_t>(byte & 0x7f) << shift); 212 unsigned shift = 0; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | 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);
|
H A D | voAMRWBEnc.c | 203 Word16 tmp, gain1, gain2, exp, Q_new, mu, shift, max; local 300 shift = Q_MAX; 303 shift = norm_s(tmp) - 1; 304 if (shift < 0) 306 shift = 0; 308 if (shift > Q_MAX) 310 shift = Q_MAX; 313 Q_new = shift; 325 st->Q_max[0] = shift; 460 shift [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | 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;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | 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), pOverflo [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | 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/native/opengl/libagl/ |
H A D | matrix.h | 149 // that have been shifted right by 'shift' bits relative to normal 154 GLint shift, 169 "r"(shift), 183 accum = (accum << shift) + c; 194 GLint shift, 210 "r"(shift), 225 accum = (accum << shift) + c; 235 GLint shift, 251 "r"(shift), 266 accum = (accum << shift) 151 mla3a16( GLfixed a0, int32_t b1b0, GLfixed a1, GLfixed a2, int32_t b2, GLint shift, GLfixed c) argument 190 mla3a16_btb( GLfixed a0, GLfixed a1, GLfixed a2, int32_t b1b0, int32_t xxb2, GLint shift, GLfixed c) argument 231 mla3a16_btt( GLfixed a0, GLfixed a1, GLfixed a2, int32_t b1b0, int32_t b2xx, GLint shift, GLfixed c) argument [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | EchoSuppressor.cpp | 46 int shift = 0; local 47 while ((sampleCount >> shift) > 1 && (tailLength >> shift) > 256) { 48 ++shift; 51 mShift = shift + 4; 52 mScale = 1 << shift; 54 mWindowSize = sampleCount >> shift; 55 mTailLength = tailLength >> shift;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | 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), pOverflo [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmSmsTest.java | 221 // Turkish locking shift table 227 // no locking shift table defined for Spanish 230 // Portuguese locking shift table 344 decodeSingle(1); // Turkish locking shift table 345 decodeSingle(3); // Portuguese locking shift table 363 int shift = bitOffset % 8; 365 septets[byteOffset] |= v << shift; 367 if (shift > 1) { 368 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); 393 // Turkish single shift extensio [all...] |
/frameworks/av/media/libeffects/visualizer/ |
H A D | 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/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s | 50 shift RN 3 label 78 LDRSB shift,[pQPdiv,QP] ;// Shift = QP / 6 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 195 shift RN 3 label 223 LDRSB shift,[pQPdiv,QP] ;// Shift = QP / 6 235 ;// So we can shift the packed rowLuma values [0b|0a] with a single LSL operation 239 LSL rowLuma01,rowLuma01,shift 240 LSL rowLuma23,rowLuma23,shift [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | oper_32b.c | 234 #define step(shift) \ 235 if ((0x40000000l >> shift) + root <= value) \ 237 value -= (0x40000000l >> shift) + root; \ 238 root = (root >> 1) | (0x40000000l >> shift); \ 351 Word32 shift, shift2; local
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 366 int shift; 368 shift = 0; 370 shift = 1; 372 shift = 2; 377 long bufferSize = (long)elements << shift; 388 position += pixelSize >> shift; 402 int shift; 404 shift = 0; 406 shift = 1; 408 shift [all...] |
/frameworks/compile/libbcc/runtime/lib/ |
H A D | gcc_personality_v0.c | 88 uintptr_t shift = 0; local 93 result |= (byte & 0x7f) << shift; 94 shift += 7;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | 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/libeffects/lvm/lib/Common/lib/ |
H A D | VectorArithmetic.h | 165 LVM_INT16 shift ); 170 LVM_INT16 shift );
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | SaturateFilter.java | 47 "uniform float shift;\n" + 52 " float kv = dot(color.rgb, weights) + shift;\n" + 144 float shift = 1.0f / 255.0f; 148 mBenProgram.setHostValue("shift", shift);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 441 int shift; 446 shift = 23; 450 shift = 0; 454 shift = 8; 458 shift = 16; 462 shift = 23; 465 (bits>>shift) & TypedValue.COMPLEX_MANTISSA_MASK);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | 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; 436 packedChars[++byteOffset] |= value << shift; [all...] |