Searched refs:temp (Results 1 - 25 of 225) sorted by path

123456789

/frameworks/av/drm/drmserver/
H A DDrmManager.cpp60 int temp = (random + index) % kMaxNumUniqueIds; local
61 if (!mUniqueIdArray[temp]) {
62 uniqueId = temp;
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DBQ_1I_D16F16Css_TRC_WRA_01_Init.c44 LVM_INT16 temp; local
48 temp=pCoef->A2;
49 pBiquadState->coefs[0]=temp;
50 temp=pCoef->A1;
51 pBiquadState->coefs[1]=temp;
52 temp=pCoef->A0;
53 pBiquadState->coefs[2]=temp;
54 temp=pCoef->B2;
55 pBiquadState->coefs[3]=temp;
56 temp
[all...]
H A DBQ_1I_D16F32Css_TRC_WRA_01_init.c45 LVM_INT16 temp; local
49 temp=pCoef->A2;
50 pBiquadState->coefs[0]=temp;
51 temp=pCoef->A1;
52 pBiquadState->coefs[1]=temp;
53 temp=pCoef->A0;
54 pBiquadState->coefs[2]=temp;
55 temp=pCoef->B2;
56 pBiquadState->coefs[3]=temp;
57 temp
[all...]
H A DBQ_2I_D16F16Css_TRC_WRA_01_Init.c45 LVM_INT16 temp; local
49 temp=pCoef->A2;
50 pBiquadState->coefs[0]=temp;
51 temp=pCoef->A1;
52 pBiquadState->coefs[1]=temp;
53 temp=pCoef->A0;
54 pBiquadState->coefs[2]=temp;
55 temp=pCoef->B2;
56 pBiquadState->coefs[3]=temp;
57 temp
[all...]
H A DBQ_2I_D16F32Css_TRC_WRA_01_init.c44 LVM_INT16 temp; local
48 temp=pCoef->A2;
49 pBiquadState->coefs[0]=temp;
50 temp=pCoef->A1;
51 pBiquadState->coefs[1]=temp;
52 temp=pCoef->A0;
53 pBiquadState->coefs[2]=temp;
54 temp=pCoef->B2;
55 pBiquadState->coefs[3]=temp;
56 temp
[all...]
H A DBQ_2I_D32F32Cll_TRC_WRA_01_Init.c44 LVM_INT32 temp; local
48 temp=pCoef->A2;
49 pBiquadState->coefs[0]=temp;
50 temp=pCoef->A1;
51 pBiquadState->coefs[1]=temp;
52 temp=pCoef->A0;
53 pBiquadState->coefs[2]=temp;
54 temp=pCoef->B2;
55 pBiquadState->coefs[3]=temp;
56 temp
[all...]
H A DDelayAllPass_Sat_32x16To32.c40 LVM_INT32 temp; local
46 MUL32x16INTO32(delay[AllPassOffset], coeff, temp, 15)
47 a = temp;
67 MUL32x16INTO32(c, -coeff, temp, 15)
68 a = temp;
H A DDelayMix_16x16.c37 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 DFO_1I_D16F16Css_TRC_WRA_01_Init.c45 LVM_INT16 temp; local
49 temp=pCoef->A1;
50 pBiquadState->coefs[0]=temp;
51 temp=pCoef->A0;
52 pBiquadState->coefs[1]=temp;
53 temp=pCoef->B1;
54 pBiquadState->coefs[2]=temp;
H A DFO_1I_D32F32Cll_TRC_WRA_01_Init.c44 LVM_INT32 temp; local
48 temp=pCoef->A1;
49 pBiquadState->coefs[0]=temp;
50 temp=pCoef->A0;
51 pBiquadState->coefs[1]=temp;
52 temp=pCoef->B1;
53 pBiquadState->coefs[2]=temp;
H A DFO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c44 LVM_INT16 temp; local
48 temp=pCoef->A1;
49 pBiquadState->coefs[0]=temp;
50 temp=pCoef->A0;
51 pBiquadState->coefs[1]=temp;
52 temp=pCoef->B1;
53 pBiquadState->coefs[2]=temp;
55 temp=pCoef->Shift;
56 pBiquadState->Shift = temp;
H A DInt32RShiftToInt16_Sat_32x16.c33 LVM_INT32 temp; local
38 temp = *src >> shift;
41 if (temp > 0x00007FFF)
45 else if (temp < -0x00008000)
51 *dst = (LVM_INT16)temp;
H A DMSTo2i_Sat_16x16.c33 LVM_INT32 temp,mVal,sVal; local
45 temp = mVal + sVal;
47 if (temp > 0x00007FFF)
51 else if (temp < -0x00008000)
57 *dst = (LVM_INT16)temp;
61 temp = mVal - sVal;
63 if (temp > 0x00007FFF)
67 else if (temp < -0x00008000)
73 *dst = (LVM_INT16)temp;
H A DMac3s_Sat_32x16.c35 LVM_INT32 srcval,temp, dInVal, dOutVal; local
43 MUL32x16INTO32(srcval,val,temp,15)
46 dOutVal = temp + dInVal;
49 if ((((dOutVal ^ temp) & (dOutVal ^ dInVal)) >> 31)!=0) /* overflow / underflow */
51 if(temp<0)
H A DMult3s_32x16.c35 LVM_INT32 srcval,temp; local
42 MUL32x16INTO32(srcval,val,temp,15)
44 *dst = temp;
H A DShift_Sat_v16xv16.c33 LVM_INT32 temp; local
40 temp = (LVM_INT32)*src;
43 temp = temp << val;
45 if (temp > 0x00007FFF)
49 else if (temp < -0x00008000)
55 *dst = (LVM_INT16)temp;
H A Dmult3s_16x16.c34 LVM_INT32 temp; local
38 temp = (LVM_INT32)(*src) * (LVM_INT32)val;
41 *dst = (LVM_INT16)(temp >> 15);
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Process.c233 LVM_INT32 temp; local
235 temp = (LVM_INT32)(LVPSA_MAXUNSIGNEDCHAR - pLVPSA_Inst->pPreviousPeaks[ii]);
236 temp = ((temp * LVPSA_MAXLEVELDECAYFACTOR)>>LVPSA_MAXLEVELDECAYSHIFT);
238 if(temp == (LVPSA_MAXUNSIGNEDCHAR - pLVPSA_Inst->pPreviousPeaks[ii]))
240 temp += 1;
243 temp = (temp > LVPSA_MAXUNSIGNEDCHAR) ? LVPSA_MAXUNSIGNEDCHAR : temp;
245 pLVPSA_Inst->pPreviousPeaks[ii] = (LVM_UINT8)(LVPSA_MAXUNSIGNEDCHAR - temp);
[all...]
H A DLVPSA_QPD_Process.c74 LVM_INT32 temp,temp2; local
125 MUL32x32INTO32((LVM_INT32)D0,Km,temp,31);
126 accu +=temp + Xg0;
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c759 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/libmedia/
H A DAudioRecord.cpp469 size_t temp = frameCount; // temp may be replaced by a revised value of frameCount, local
481 &temp,
537 // note that temp is the (possibly revised) value of frameCount
538 if (temp < frameCount || (frameCount == 0 && temp == 0)) {
539 ALOGW("Requested frameCount %zu but received frameCount %zu", frameCount, temp);
541 frameCount = temp;
846 size_t temp = newPosition; local
847 mCbf(EVENT_NEW_POS, mUserData, &temp);
[all...]
H A DAudioTrack.cpp1102 size_t temp = frameCount; // temp may be replaced by a revised value of frameCount, local
1111 &temp,
1150 // note that temp is the (possibly revised) value of frameCount
1151 if (temp < frameCount || (frameCount == 0 && temp == 0)) {
1155 ALOGW("Requested frameCount %zu but received frameCount %zu", frameCount, temp);
1157 frameCount = temp;
1677 size_t temp = newPosition; local
1678 mCbf(EVENT_NEW_POS, mUserData, &temp);
[all...]
H A DJetPlayer.cpp159 int temp; local
230 if ((temp = mAudioTrack->write(mAudioBuffer, num_output)) < 0) {
231 ALOGE("JetPlayer::render(): Error in writing:%d",temp);
232 return temp;
H A DSingleStateQueue.cpp79 T temp = shared->mValue; local
82 value = temp;
H A Dmediaplayer.cpp368 bool temp = false; local
369 mPlayer->isPlaying(&temp);
370 ALOGV("isPlaying: %d", temp);
371 if ((mCurrentState & MEDIA_PLAYER_STARTED) && ! temp) {
375 return temp;

Completed in 201 milliseconds

123456789