/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
H A D | ms_stereo.c | 53 Word32 temp; local 61 Word32 temp; local 98 temp = (pnlr + 1) / ((pnms >> 8) + 1); 100 temp = pnms - pnlr; 101 if( temp > 0 ){
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_seek_synch.cpp | 153 uint32 temp = getNbits(&pVars->inputStream, 21); local 159 switch (temp >> 19) /* 2 */ 175 int32 freq_index = (temp << 20) >> 30; 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, 188 if ((temp << 22) >> 31)
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | mime_io.cpp | 539 uint8 temp = 0; local 563 temp = *(unsorted_bits_ptr++); 567 switch (temp & 0xf0) 654 temp <<= 4; 660 temp <<= 1; 662 if (temp & 0x80) 693 if (temp & 0x80)
|
/frameworks/base/services/audioflinger/ |
H A D | AudioMixer.h | 128 typedef void (*hook_t)(track_t* t, int32_t* output, size_t numOutFrames, int32_t* temp, int32_t* aux); 189 static void track__genericResample(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, int32_t* aux); 190 static void track__nop(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, int32_t* aux); 191 static void track__16BitsStereo(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, int32_t* aux); 192 static void track__16BitsMono(track_t* t, int32_t* out, size_t numFrames, int32_t* temp, int32_t* aux); 193 static void volumeRampStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux); 194 static void volumeStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | me_utils.cpp | 41 Int *pint = (Int *) cur, temp = 0; local 50 temp += (*pint++) & 0x00FF00FF; 51 temp += (*pint++) & 0x00FF00FF; 52 temp += (*pint++) & 0x00FF00FF; 53 temp += (*pint++) & 0x00FF00FF; 57 temp += (*pint++ >> 8) & 0x00FF00FF; 58 temp += (*pint++ >> 8) & 0x00FF00FF; 59 temp += (*pint++ >> 8) & 0x00FF00FF; 60 temp += (*pint++ >> 8) & 0x00FF00FF; 65 MB_mean = (((temp [all...] |
H A D | sad_halfpel.cpp | 69 Int temp; local 83 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; 84 sad += PV_ABS(temp); 101 Int temp; local 114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; 115 sad += PV_ABS(temp); 143 Int temp; local 157 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; 158 sad += PV_ABS(temp); 175 Int temp; local 227 Int temp; local 268 Int temp; local 304 Int temp; local 785 Int temp; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 757 Word16 temp; local 821 temp = shr(num, 1, pOverflow); 822 temp = div_s(temp, denom); 824 stat_rat = add(stat_rat, shr(temp, sub(8, exp, pOverflow), pOverflow), pOverflow); 858 temp = sub(level[i], st->ave_level[i], pOverflow); 859 temp = mult_r(alpha, temp, pOverflow); 864 temp, 1146 Word16 temp; local 1489 Word16 temp; local 2006 Word16 temp; local 2184 Word16 temp; local [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 258 long temp = longInt; 261 for(size = 0; (temp != 0) && (size < LONG_INTEGER_LENGTH_MAX); size++) { 262 temp = (temp >>> 8); 376 long temp = value >>> (i * 7); 377 temp = temp & 0x7f; 379 append((int)((temp | 0x80) & 0xff)); 456 EncodedStringValue temp = null; 460 temp [all...] |
H A D | PduParser.java | 864 int temp = pduDataStream.read(); 865 if (temp == -1) { 866 return temp; 869 while((temp & 0x80) != 0) { 871 result |= temp & 0x7F; 872 temp = pduDataStream.read(); 873 if (temp == -1) { 874 return temp; 879 result |= temp & 0x7F; 900 int temp [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | wb_vad.c | 263 Word16 num, temp, stat_rat, exp, denom;
local 303 temp = div_s(num >> 1, denom);
304 stat_rat = add1(stat_rat, shr(temp, (8 - exp)));
422 Word16 temp;
local 423 temp = (st->old_level[i] - st->bckr_est[i]);
425 if (temp < 0)
427 st->bckr_est[i] = add1(-2, add(st->bckr_est[i],vo_mult_r(alpha_down, temp)));
435 st->bckr_est[i] = add1(bckr_add, add1(st->bckr_est[i],vo_mult_r(alpha_up, temp)));
468 Word16 vad_thr, temp, noise_level;
local 482 temp 766 Word16 VAD_flag, temp; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | header.cpp | 115 int temp; local 117 temp = vui->aspect_ratio_info_present_flag; 118 BitstreamWrite1Bit(stream, temp); 119 if (temp) 128 temp = vui->overscan_info_present_flag; 129 BitstreamWrite1Bit(stream, temp); 130 if (temp) 134 temp = vui->video_signal_type_present_flag; 135 BitstreamWrite1Bit(stream, temp); 136 if (temp) 233 uint temp; local 323 int slice_type, temp, i; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SystemProperties.cpp | 81 jint temp; local 82 if (sscanf(buf, "%d", &temp) == 1) 83 result = temp; 110 jlong temp; local 111 if (sscanf(buf, "%lld", &temp) == 1) 112 result = temp;
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | huffspec_fxp.cpp | 348 UInt32 temp; local 595 temp = inverseQuantTable[(max >> ORDER) + 1]; 600 temp += ROUND_UP; 603 temp >>= (QTABLE - 1); 606 temp *= max; 609 binaryDigits = 31 - pv_normalize(temp);
|
H A D | dct64.cpp | 524 Int32 temp[4]; local 526 temp[0] = vec[14]; 528 temp[1] = vec[12]; 530 temp[2] = vec[10]; 532 temp[3] = vec[ 8]; 539 vec[16] = temp[3]; 543 temp[3] = vec[11]; 547 vec[20] = temp[2]; 548 temp[2] = vec[13]; 551 vec[22] = temp[ [all...] |
H A D | extractframeinfo.cpp | 169 Int32 temp; local 206 temp = buf_getbits(hBitBuf, SBR_ENV_BITS); /* 2 bits */ 208 bs_num_env = 1 << temp; 470 temp = (1 + bs_num_env) << 1; 471 v_frame_info[temp] = lA; /* transient envelope*/ 472 v_frame_info[temp + 1] = bs_num_noise; /* Number of noise envelopes */ 474 pv_memcpy(v_frame_info + temp + 2, tQ, (bs_num_noise + 1)*sizeof(Int32));
|
/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 | bgnscd.cpp | 240 Word16 temp; 362 temp = add(*voicedHangover, 1); 363 if (sub(temp, 10) > 0) 369 *voicedHangover = temp; 409 Word16 temp; local 576 temp = *voicedHangover + 1; 578 if (temp > 10) 584 *voicedHangover = temp;
|
H A D | dtx_dec.cpp | 887 Word16 temp; local 936 temp = ~((~st->log_en_hist[i]) >> 3); 940 temp = st->log_en_hist[i] >> 3; 942 st->log_en = add(st->log_en, temp, pOverflow); 1060 temp = (Word16) L_temp; 1064 st->true_sid_period_inv = div_s(1 << 10, temp); 1109 temp = ~((~st->log_en) >> 1); 1113 temp = st->log_en >> 1; 1115 ma_pred_init = sub(temp, 9000, pOverflow); 1146 temp [all...] |
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | MultipartEntity.java | 162 String temp = null; 164 temp = (String) params.getParameter(MULTIPART_BOUNDARY); 166 if (temp != null) { 167 multipartBoundary = EncodingUtils.getAsciiBytes(temp);
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cl_ltp.cpp | 647 Word16 temp; local 751 temp = *gain_pit; 756 L_temp = ((Word32) * (p_yl++) * temp) >> 14; 759 L_temp = ((Word32) * (p_exc++) * temp) >> 14;
|
/frameworks/base/obex/javax/obex/ |
H A D | ObexSession.java | 201 byte[] temp = new byte[correctPassword.length + 16]; 203 System.arraycopy(mChallengeDigest, 0, temp, 0, 16); 204 System.arraycopy(correctPassword, 0, temp, 16, correctPassword.length); 206 byte[] correctResponse = ObexHelper.computeMd5Hash(temp);
|
H A D | HeaderSet.java | 251 long temp = -1; 262 temp = ((Long)headerValue).longValue(); 263 if ((temp < 0L) || (temp > 0xFFFFFFFFL)) { 288 temp = ((Long)headerValue).longValue(); 289 if ((temp < 0L) || (temp > 0xFFFFFFFFL)) { 420 temp = ((Long)headerValue).longValue(); 421 if ((temp < 0L) || (temp > [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | block_idct.cpp | 627 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local 699 temp = ((x3 + x2) >> 14); 700 CLIP_RESULT(temp) 701 word = word | (temp << 8); 703 temp = ((x0 + x4) >> 14); 704 CLIP_RESULT(temp) 705 word = word | (temp << 16); 707 temp = ((x8 + x6) >> 14); 708 CLIP_RESULT(temp) 709 word = word | (temp << 2 [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
H A D | itrans.cpp | 287 uint32 temp; local 289 temp = *((uint32*)pred); 291 *((uint32*)cur) = temp; 293 temp = *((uint32*)pred); 295 *((uint32*)cur) = temp; 297 temp = *((uint32*)pred); 299 *((uint32*)cur) = temp; 301 temp = *((uint32*)pred); 302 *((uint32*)cur) = temp;
|
/frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
H A D | LVPSA_QPD_Process.c | 74 LVM_INT32 temp,temp2; local 125 MUL32x32INTO32((LVM_INT32)D0,Km,temp,31); 126 accu +=temp + Xg0;
|