/frameworks/base/media/libstagefright/codecs/aacdec/ |
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/base/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 | 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/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 577 Word16 temp; 903 temp = mult (code[i - T0], pit_sharp); 904 code[i] = add (code[i], temp); 1055 temp = mult (st->exc[i], pit_sharp); 1056 L_temp = L_mult (temp, gain_pit); 1182 L_temp = sqrt_l_exp(L_temp, &temp); // function result 1183 L_temp = L_shr(L_temp, add( shr(temp, 1), 15)); 1386 Word16 temp; local 1800 temp = mult(*(code + i - T0), pit_sharp, pOverflow); 1801 *(code + i) = add(*(code + i), temp, pOverflo [all...] |
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/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c2_9pf.cpp | 325 Word16 temp; local 345 temp = 354 temp, 407 temp = 416 temp,
|
H A D | p_ol_wgh.cpp | 598 Word16 temp; local 656 temp = pv_round(t1, pOverflow); 657 t1 = L_msu(t0, temp, 13107, pOverflow);
|
H A D | pitch_ol.cpp | 566 RETURNING(temp) 581 RETURNING(temp) 624 Word16 temp; local 626 temp = Lag_max(corr, scal_sig, scal_fac, scal_flag, L_frame, lag_max, 629 return(temp); 647 Word16 temp; local 649 temp = Lag_max(vadSt, corr, scal_sig, scal_fac, scal_flag, L_frame, 652 return(temp);
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
H A D | dtx_decoder_amr_wb.cpp | 926 int16 temp, temp1, i, dither_fac, rand_dith; local 945 temp = add_int16(isf[0], mult_int16_r(rand_dith, dither_fac)); 948 if (temp < ISF_GAP) 954 isf[0] = temp; 964 temp = add_int16(isf[i], mult_int16_r(rand_dith, dither_fac)); 965 temp1 = sub_int16(temp, isf[i - 1]); 974 isf[i] = temp;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | pitch_f4.c | 79 Word16 max, t0, step, temp; local 134 temp = Interpol_4(&corr[t0], i); 135 if(temp > max) 137 max = temp;
|
H A D | qpisf_2s.c | 66 Word32 i, k, temp, min_err, distance; local 87 temp = min_err; 89 temp = vo_L_add(temp, min_err); 91 temp = vo_L_add(temp, min_err); 93 if(temp < distance) 95 distance = temp; 117 temp = min_err; 119 temp 156 Word32 temp, min_err, distance; local 451 Word16 temp, *p_dico; local 498 Word16 temp, *p_dico; local [all...] |
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/common/src/ |
H A D | reflist.cpp | 410 AVCPictureData *temp; local 418 temp = data[j]; 420 data[i] = temp; 432 AVCPictureData *temp; local 440 temp = data[j]; 442 data[i] = temp; 455 AVCFrameStore *temp; local 463 temp = data[j]; 465 data[i] = temp; 477 AVCFrameStore *temp; local 499 AVCPictureData *temp; local 538 AVCPictureData *temp; local 560 AVCFrameStore *temp; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | sad_halfpel.cpp | 76 int temp; local 92 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; 93 sad += AVC_ABS(temp); 117 int temp; local 131 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; 132 sad += AVC_ABS(temp); 152 int temp; local 165 temp = ((p1[j] + p1[j+1] + 1) >> 1) - *kk++; 166 sad += AVC_ABS(temp);
|
/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...] |
H A D | vlc_dequant.cpp | 77 int32 temp; local 148 temp = (int32)datablock[k] * qmat[k] * QP; 149 temp = (temp + (0x7 & (temp >> 31))) >> 3; 150 if (temp > 2047) temp = 2047; 151 else if (temp < -2048) temp = -2048; 152 datablock[k] = (int) temp; 402 int32 temp; local 507 int32 temp; local 809 int32 temp; local 1071 int32 temp; local [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | M4vH263Encoder.cpp | 154 uint32_t temp = *inyuv_4++; local 155 uint32_t tempU = temp & 0xFF; 156 tempU = tempU | ((temp >> 8) & 0xFF00); 158 uint32_t tempV = (temp >> 8) & 0xFF; 159 tempV = tempV | ((temp >> 16) & 0xFF00);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastquant.cpp | 162 Int *temp; local 174 temp = (Int*) bitmapcol; 175 temp[0] = temp[1] = 0;
|
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/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_Interpolate_Chroma_s.s | 34 temp RN 11 label 117 SUB temp, iWidth, #1 122 ORR iWidth, iWidth, temp, LSL #16 217 SUB temp, iWidth, #1 222 ORR iWidth, iWidth, temp, LSL #16 255 SUB temp, iWidth, #1 260 ORR iWidth, iWidth, temp, LSL #16
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/ |
H A D | omxVCM4P2_PredictReconCoefIntra_s.s | 96 temp RN 14 label 177 MOV temp1,absCoeffDC ;// Load the Prediction coeff to temp for comparision 181 ADD temp,dcScaler,dcScaler 182 LDRH temp,[predCoeffTable,temp] ;// Load value from coeff table for performing division using multiplication 183 SMULBB tempPred,temp,absCoeffDC ;// tempped=pPredBufRow(Col)[0]*32767/dcScaler 199 LDRH temp,[pSrcDst] ;// temp=pSrcDst[0] 200 ADD temp,temp,tempPre [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 161 File temp = null; 189 temp = new File(mDropBoxDir, "drop" + Thread.currentThread().getId() + ".tmp"); 193 FileOutputStream foutput = new FileOutputStream(temp); 218 long len = temp.length(); 220 Slog.w(TAG, "Dropping: " + tag + " (" + temp.length() + " > " + max + " bytes)"); 221 temp.delete(); 222 temp = null; // Pass temp = null to createEntry() to leave a tombstone 227 long time = createEntry(temp, tag, flags); 228 temp 466 EntryFile(File temp, File dir, String tag,long timestampMillis, int flags, int blockSize) argument 622 createEntry(File temp, String tag, int flags) argument [all...] |
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorMp3Reader.cpp | 437 M4OSA_UInt8 type, temp; local 459 for (temp = 0; temp < pReaderContext->mExtractor->countTracks(); temp++) { 460 meta = pReaderContext->mExtractor->getTrackMetaData(temp); 466 pReaderContext->mExtractor->getTrack(temp);
|
/frameworks/base/libs/gui/ |
H A D | Surface.cpp | 357 ARect temp; local 360 temp = inOutDirtyRegion->getBounds(); 361 inOutDirtyBounds = &temp; 376 inOutDirtyRegion->set( static_cast<Rect const&>(temp) );
|