/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_plsf_5.cpp | 174 Word16 temp, sign; 196 // temp = mean_lsf[i] + st->past_r_q[i] * LSP_PRED_FAC_MR122; 198 temp = add (mean_lsf[i], mult (st->past_r_q[i], 201 st->past_r_q[i] = sub (lsf2_q[i], temp); 255 temp = add (mean_lsf[i], mult (st->past_r_q[i], 257 lsf1_q[i] = add (lsf1_r[i], temp); 258 lsf2_q[i] = add (lsf2_r[i], temp); 312 Word16 temp; local 333 temp = 348 temp, [all...] |
H A D | b_cn_cod.cpp | 210 Word16 temp; local 238 temp = (Word16)((*pShift_reg) & 1); 239 noise_bits |= temp; 364 Word16 temp; local 375 temp = (Word16)(L_mult(i, 10, pOverflow)); 376 i = temp >> 1; 501 Word16 temp; local 512 temp = ~(0xFFFF << param_size_table[i]); 513 parm[i] = *pTemp++ & temp;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | autocorr.cpp | 321 Word16 temp; local 343 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15; 344 *(p_y++) = temp; 346 sum += ((Word32)temp * temp) << 1; 370 temp = (amrnb_fxp_mac_16_by_16bb((Word32) * (p_x++), (Word32) * (p_wind++), 0x04000)) >> 15; 371 *(p_y++) = temp; 396 temp = *p_y >> 2; 397 *(p_y++) = temp; 398 sum += ((Word32)temp * tem [all...] |
H A D | enc_lag6.cpp | 196 Word16 temp; local 218 temp = sub(T0, T0_min, pOverflow); 220 i = add(temp, temp, pOverflow); 221 i = add(temp, i, pOverflow);
|
H A D | q_gain_c.cpp | 210 Word16 temp; local 274 temp = index + (index << 1); 276 p = &qua_gain_code[temp]; 278 temp = (gcode0 * *(p++)) >> 15; 281 *gain = temp << 1; 285 *gain = temp;
|
H A D | g_code.cpp | 241 Word16 temp; local 286 temp = *(p_y2++) >> 1; 287 s += ((Word32) temp * temp) >> 2; 288 temp = *(p_y2++) >> 1; 289 s += ((Word32) temp * temp) >> 2;
|
H A D | cbsearch.cpp | 202 Word16 temp; local 287 temp = 296 temp, 319 temp = 328 temp, 345 temp = ((Word32)h[i - T0] * pit_sharpTmp) >> 15; 355 temp, 378 temp = 387 temp,
|
/frameworks/rs/ |
H A D | rsMatrix3x3.cpp | 51 Matrix3x3 temp; local 62 temp.set(i, 0, ri0); 63 temp.set(i, 1, ri1); 64 temp.set(i, 2, ri2); 66 load(&temp); 71 float temp; local 74 temp = get(i, j); 76 set(j, i, temp);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | DelayMix_16x16.c | 37 LVM_INT16 temp; local 42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); 43 *dst = temp; 52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); 53 *dst = temp;
|
H A D | DelayAllPass_Sat_32x16To32.c | 40 LVM_INT32 temp; local 46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15) 47 a = temp; 67 MUL32x16INTO32(c, -coeff, temp, 15) 68 a = temp;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | q_plsf_3.cpp | 209 Word16 *p_dico, temp; 217 temp = sub (lsf_r1[0], *p_dico++); 218 temp = mult (wf1[0], temp); 219 dist = L_mult (temp, temp); 221 temp = sub (lsf_r1[1], *p_dico++); 222 temp = mult (wf1[1], temp); 223 dist = L_mac (dist, temp, tem 285 Word16 temp; local 611 Word16 temp; local 1028 Word16 temp; local [all...] |
H A D | syn_filt.cpp | 270 Word16 temp; local 306 temp = (Word16)(s1 >> 12); 310 temp = MAX_16; 314 temp = MIN_16; 317 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); 319 *(yy++) = temp; 320 *(p_y++) = temp; 327 temp = (Word16)(s2 >> 12); 331 temp = MAX_16; 335 temp [all...] |
H A D | int_lpc.cpp | 443 Word16 temp; local 450 temp = shr(lsp_old[i], 2, pOverflow); 451 temp = sub(lsp_old[i], temp, pOverflow); 454 lsp[i] = add(temp2, temp, pOverflow); 467 temp = shr(lsp_new[i], 1, pOverflow); 469 lsp[i] = add(temp, temp2, pOverflow); 481 temp = shr(lsp_new[i], 2, pOverflow); 482 temp = sub(lsp_new[i], temp, pOverflo 580 Word16 temp; local [all...] |
H A D | q_plsf_5.cpp | 217 Word16 temp; local 247 temp = (aux1 - ((Word32)wf1_0 * *(p_dico++))) >> 15; 248 dist = ((Word32)temp * temp); 256 temp = (aux2 - ((Word32)wf1_1 * *(p_dico++))) >> 15; 257 dist += ((Word32)temp * temp); 265 temp = (aux3 - ((Word32)wf2_0 * *(p_dico++))) >> 15; 266 dist += ((Word32)temp * temp); 383 Word16 temp; local [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | StringUtils.h | 44 double temp = d.bytes; local 45 while (temp > 1024 && suffix < 2) { 46 temp /= 1024.0; 49 stream << std::fixed << std::setprecision(2) << temp << SUFFIXES[suffix];
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | bits.c | 42 UWord8 temp; local 142 temp = 0; 148 temp++; 152 temp <<= 1; 156 *stream_ptr = temp; 158 temp = 0; 166 temp++; 168 temp <<= 4; 169 temp += mode & 0x000F; 174 temp << [all...] |
H A D | preemph.c | 35 Word16 temp; local 38 temp = x[lg - 1]; 51 *mem = temp; 64 Word16 temp; local 67 temp = x[lg - 1]; 94 *mem = temp;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ComprehensionTlv.java | 123 int temp = data[curIndex++] & 0xff; 124 switch (temp) { 128 Rlog.d("CAT ", "decode: unexpected first tag byte=" + Integer.toHexString(temp) + 144 tag = temp; 152 temp = data[curIndex++] & 0xff; 153 if (temp < 0x80) { 154 length = temp; 155 } else if (temp == 0x81) { 164 } else if (temp == 0x82) { 175 } else if (temp [all...] |
H A D | BerTlv.java | 89 int temp = data[curIndex++] & 0xff; 90 if (temp < 0x80) { 91 length = temp; 92 } else if (temp == 0x81) { 93 temp = data[curIndex++] & 0xff; 94 if (temp < 0x80) { 101 length = temp; 106 " byte= " + Integer.toHexString(temp) + " curIndex=" + curIndex +
|
/frameworks/native/opengl/tests/gralloc/ |
H A D | gralloc.cpp | 43 void* temp = malloc(size); local 45 memset(temp, 0, size); 73 memcpy(temp, temp2, size); 79 memcpy(temp, vaddr, size); 85 memcpy(vaddr, temp, size); 92 lamecpy(temp, temp2, size); 98 lamecpy(temp, vaddr, size); 104 lamecpy(vaddr, temp, size);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | idct_vca.cpp | 450 int32 x0, x1, x2, x4, x5, temp; local 476 temp = ((x0 + x2) >> 14); 477 CLIP_RESULT(temp) 478 word = word | (temp << 8); 479 temp = ((x0 + x1) >> 14); 480 CLIP_RESULT(temp) 481 word = word | (temp << 16); 482 temp = ((x0 + x5) >> 14); 483 CLIP_RESULT(temp) 484 word = word | (temp << 2 507 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local 580 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 759 int32_t temp; local 822 temp = (pReverb->m_nRoomLpfFwd << 15) 824 *pValue16 = Effects_Linear16ToMillibels(temp); 826 ALOGV("get REVERB_PARAM_ROOM_LEVEL %d, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", *pValue16, temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk); 840 temp = MULT_EG1_EG1(pReverb->m_nRoomLpfFbk, pReverb->m_nRoomLpfFbk); 841 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 %d", temp); 845 temp = 32767 + temp - temp2; 846 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 + 2 Cos a1 + 1 %d", temp); 847 temp 1042 int32_t temp; local 1903 int temp; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1455 #define PAD_CORNER { temp = *src; \ 1456 temp |= (temp<<8); \ 1457 temp |= (temp<<16); \ 1458 *((ULong*)dst) = temp; \ 1459 *((ULong*)(dst+4)) = temp; \ 1460 *((ULong*)(dst+=lx)) = temp; \ 1461 *((ULong*)(dst+4)) = temp; \ 1462 *((ULong*)(dst+=lx)) = temp; \ 1525 ULong temp, temp2; local 1559 temp = *(src += lx); local 1677 temp = *(src += lx); local 1722 ULong temp; local 1769 ULong temp; local 1802 ULong temp; local 1869 ULong temp; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_PredictReconCoefIntra_s.s | 125 temp RN 11 label 159 ;// Caulucate temp pred by performing Division 170 ADD temp,dcScaler,dcScaler 171 LDRH temp,[predCoeffTable,temp] ;// Load value from coeff table for performing division using multiplication 173 SMULBB tempPred,temp,absCoeffDC ;// tempPred=pPredBufRow(Col)[0]*32767/dcScaler 181 LDRH temp,[pPredBufCol] 188 STRH temp,[pPredBufRow,#-16] 190 LDRH temp,[pSrcDst] ;// temp [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | LimitedLengthInputStreamTest.java | 82 byte[] temp = new byte[TEST_STRING1.length]; 89 assertEquals(length, is.read(temp, 0, temp.length)); 91 System.arraycopy(temp, 0, actual, 0, length); 94 assertEquals(-1, is.read(temp, 0, temp.length)); 122 byte[] temp = new byte[TEST_STRING1.length + 10]; 124 assertEquals(TEST_STRING1.length, is.read(temp, 0, TEST_STRING1.length + 10)); 127 System.arraycopy(temp, 0, actual, 0, actual.length); 132 byte[] temp [all...] |