/frameworks/base/graphics/java/android/graphics/ |
H A D | TemporaryBuffer.java | 40 public static void recycle(char[] temp) { argument 41 if (temp.length > 1000) return; 44 sTemp = temp;
|
/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/av/media/libstagefright/codecs/aacdec/ |
H A D | get_prog_config.cpp | 156 RETURNING( temp = returnValue ) 158 pScratchPCE->front.num_ele = temp; 164 RETURNING( temp = returnValue ) 166 pScratchPCE->side.num_ele = temp; 172 RETURNING( temp = returnValue ) 174 pScratchPCE->back.num_ele = temp; 180 RETURNING( temp = returnValue ) 182 pScratchPCE->lfe.num_ele = temp; 188 RETURNING( temp = returnValue ) 190 pScratchPCE->data.num_ele = temp; 460 UInt temp; local [all...] |
H A D | get_ics_info.cpp | 196 RETURNING( temp = returnValue ) 198 windowSequence = (temp >> LEN_WIN_SH) & ((0x1<<LEN_WIN_SEQ)-1); 200 *pWindowShape = (temp) & ((0x1<<LEN_WIN_SH)-1); 226 RETURNING(temp = returnValue) 233 local_max_sfb = (Int)(temp >> LEN_PREDICTOR_DATA_PRESENT); 236 (Bool) (temp & ((0x1 << LEN_PREDICTOR_DATA_PRESENT)-1)); 416 UInt temp; local 434 temp = 440 windowSequence = (WINDOW_SEQUENCE)((temp >> LEN_WIN_SH) & ((0x1 << LEN_WIN_SEQ) - 1)); 442 *pWindowShape = (WINDOW_SHAPE)((temp) [all...] |
H A D | trans4m_freq_2_time_fxp.cpp | 333 temp = Time_data[i]; 335 Time_data[i] = temp; 586 Int32 temp; local 674 temp = fxp_mul_16_by_16bb(temp2, winx) >> shift; 676 limiter(*(pOutput_buffer++), (temp + test)); 683 temp = fxp_mul_16_by_16bb(temp2, win1) >> shift; 685 *(pOverlap_and_Add_Buffer_1++) = temp; 806 temp = fxp_mul_16_by_16(dat1, win1) >> shift; 807 *(pOverlap_and_Add_Buffer_1++) = temp; 841 temp 1589 Int32 temp; local [all...] |
/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;
|
/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 | 268 Word16 temp; local 304 temp = (Word16)(s1 >> 12); 308 temp = MAX_16; 312 temp = MIN_16; 315 s2 = amrnb_fxp_msu_16_by_16bb((Word32)a[1], (Word32)temp, s2); 317 *(yy++) = temp; 318 *(p_y++) = temp; 325 temp = (Word16)(s2 >> 12); 329 temp = MAX_16; 333 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...] |
/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]; 82 *mem = temp;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | ComprehensionTlv.java | 123 int temp = data[curIndex++] & 0xff; 124 switch (temp) { 128 Log.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 | 77 int temp = data[curIndex++] & 0xff; 78 if (temp < 0x80) { 79 length = temp; 80 } else if (temp == 0x81) { 81 temp = data[curIndex++] & 0xff; 82 if (temp < 0x80) { 89 length = temp; 94 " 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 | 776 int32_t temp; local 839 temp = (pReverb->m_nRoomLpfFwd << 15) 841 *pValue16 = Effects_Linear16ToMillibels(temp); 843 ALOGV("get REVERB_PARAM_ROOM_LEVEL %d, gain %d, m_nRoomLpfFwd %d, m_nRoomLpfFbk %d", *pValue16, temp, pReverb->m_nRoomLpfFwd, pReverb->m_nRoomLpfFbk); 857 temp = MULT_EG1_EG1(pReverb->m_nRoomLpfFbk, pReverb->m_nRoomLpfFbk); 858 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 %d", temp); 862 temp = 32767 + temp - temp2; 863 ALOGV("get REVERB_PARAM_ROOM_HF_LEVEL, a1^2 + 2 Cos a1 + 1 %d", temp); 864 temp 1059 int32_t temp; local 1920 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 | 111 temp RN 11 label 145 ;// Caulucate temp pred by performing Division 156 ADD temp,dcScaler,dcScaler 157 LDRH temp,[predCoeffTable,temp] ;// Load value from coeff table for performing division using multiplication 159 SMULBB tempPred,temp,absCoeffDC ;// tempPred=pPredBufRow(Col)[0]*32767/dcScaler 167 LDRH temp,[pPredBufCol] 174 STRH temp,[pPredBufRow,#-16] 176 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...] |