/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | l_extract.cpp | 164 Word32 temp; local 168 temp = (L_var >> 16); 170 *(pL_var_hi) = (Word16) temp; 171 *(pL_var_lo) = (Word16)((L_var >> 1) - (temp << 15));
|
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 | 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 | 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;
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_decode_header.cpp | 121 uint32 temp; local 134 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH); 135 if ((temp & SYNC_WORD) != SYNC_WORD) 145 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses 148 switch (temp >> 19) /* 2 */ 165 info->layer_description = 4 - ((temp << 13) >> 30); /* 2 */ 166 info->error_protection = !((temp << 15) >> 31); /* 1 */ 171 calculate_crc((temp << 16) >> 16, 16, crc); 174 info->bitrate_index = (temp << 16) >> 28; /* 4 */ 175 info->sampling_frequency = (temp << 2 [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | TemporaryBuffer.java | 37 /* package */ static void recycle(char[] temp) { argument 38 if (temp.length > 1000) 42 sTemp = temp;
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | get_audio_specific_config.cpp | 112 temp = CALL getbits( 116 RETURNING (temp) 118 audioObjectType = (temp & 0x1f0) >> 4; 122 pVars->prog_config.sampling_rate_idx = temp & 0xf; 309 UInt temp; local 325 temp = get9_n_lessbits(LEN_OBJ_TYPE + LEN_SAMP_RATE_IDX, 338 audioObjectType = (tMP4AudioObjectType)((temp & 0x1f0) >> 4); 345 pVars->prog_config.sampling_rate_idx = temp & 0xf;
|
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_pulse_data.cpp | 138 RETURNING(temp) 140 pPulseInfo->number_pulse = 1 + (temp >> LEN_PULSE_ST_SFB); 141 pPulseInfo->pulse_start_sfb = temp & ((1 << LEN_PULSE_ST_SFB) - 1); 150 RETURNING(temp) 152 *pPulseOffset++ = temp >> LEN_PULSE_PAMP; 153 *pPulseAmp++ = temp & ((1 << LEN_PULSE_PAMP) - 1); 241 UInt temp; local 250 temp = 255 pPulseInfo->number_pulse = (Int)(1 + (temp >> LEN_PULSE_ST_SFB)); 256 pPulseInfo->pulse_start_sfb = (Int)(temp [all...] |
H A D | pulse_nc.cpp | 233 Int temp; local 273 temp = *pCoef; 275 if (temp > 0) 277 temp += *(pPulseAmp++); 278 *pCoef = (Int16)temp; 279 if (temp > *max) 281 *max = temp; 286 temp -= *(pPulseAmp++); 287 *pCoef = (Int16)temp; 288 if (-temp > *ma [all...] |
H A D | get_adif_header.cpp | 139 RETURNING( temp ) 141 theIDFromFile = (theIDFromFile << (2*LEN_BYTE)) | temp; 154 RETURNING( temp ) 156 IF (temp != FALSE) THEN 297 UInt32 temp; local 315 temp = get17_n_lessbits((2 * LEN_BYTE), pInputStream); 317 theIDFromFile = (theIDFromFile << (2 * LEN_BYTE)) | temp; 342 temp = 346 if (temp != FALSE)
|
H A D | gen_rand_vector.cpp | 182 temp = (Int)(*(pSeed) >> 16); 184 power = power + ((temp*temp) >> 6); 186 *(pArray) = (Int32)temp; 358 Int32 temp; local 408 temp = seed >> 16; 414 power += ((temp * temp) >> 6); 415 *pArray++ = temp; 417 temp [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 | tns_ar_filter.cpp | 313 Int32 temp; local 386 temp = *p_state++; 387 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up; 409 temp = *p_state++; 410 y0 -= fxp_mul32_Q31(temp, *(p_lpc++)) << shift_up;
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/ |
H A D | mult.h | 133 Word32 temp = 0x7FFF; local 147 : "r"(temp) 151 : "r"(temp)
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | lsfwt.cpp | 192 Word16 temp; local 223 temp = wgt_fct - 1843; 225 if (temp > 0) 227 temp = (Word16)(((Word32)temp * 6242) >> 15); 228 wgt_fct = 1843 - temp; 232 temp = (Word16)(((Word32)wgt_fct * 28160) >> 15); 233 wgt_fct = 3427 - temp;
|
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 | lsp_lsf.cpp | 355 Word16 temp; local 366 temp = *(p_lsp--); 367 while (table[ind] < temp) 375 L_tmp = (Word32)(temp - table[ind]) * slope[ind];
|
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...] |
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | agc2_amr_wb.cpp | 128 int16 temp; local 132 temp = sig_out[0] >> 2; 133 s = fxp_mul_16by16(temp, temp) << 1; 136 temp = sig_out[i] >> 2; 137 s = mac_16by16_to_int32(s, temp, temp); 150 temp = sig_in[0] >> 2; 151 s = mul_16by16_to_int32(temp, temp); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | JournaledFile.java | 27 public JournaledFile(File real, File temp) { argument 29 mTemp = temp; 34 * Prefers the real file. If it doesn't exist, uses the temp one, and then copies 35 * it to the real one. If there is both a real file and a temp one, assumes that the 36 * temp one isn't fully written and deletes it. 69 // trust anything that's in temp. In order to have the chooseForRead code not
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | a_refl.cpp | 145 Word16 temp; 180 temp = pv_round(L_acc); 181 L_temp = L_mult(mult, temp); 245 Word16 temp; local 284 temp = pv_round(L_acc, pOverflow); 285 L_temp = L_mult(mult, temp, pOverflow);
|
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 | preemph.cpp | 246 Word16 temp; local 252 temp = *p1; 266 st->mem_pre = temp;
|
/frameworks/base/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);
|