Searched defs:temp (Results 126 - 150 of 159) sorted by relevance

1234567

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
H A DarmCOMM.c412 OMX_U8 temp; local
417 temp = *(pBuf1 + i);
419 *(pBuf2 + i) = temp;
/frameworks/base/services/input/
H A DPointerController.cpp316 int32_t temp = height; local
318 width = temp;
343 float temp; local
348 temp = x;
350 y = temp;
357 temp = x;
359 y = mLocked.displayHeight - temp;
366 temp = x;
368 y = mLocked.displayWidth - temp;
375 temp
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp355 ARect temp; local
358 temp = inOutDirtyRegion->getBounds();
359 inOutDirtyBounds = &temp;
374 inOutDirtyRegion->set( static_cast<Rect const&>(temp) );
/frameworks/native/libs/utils/
H A DThreads.cpp78 int temp; local
79 if (sscanf(buf, "%d", &temp) == 1) {
80 gDoSchedulingGroup = temp == 0;
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp55 int temp = 0; local
63 temp = rand() & uniqueIdRange;
68 temp |= 0x1000;
73 if (mUniqueIdVector.itemAt(index) == temp) {
86 mUniqueIdVector.push(temp);
87 return temp;
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp691 uint32_t temp = newPosition; local
692 mCbf(EVENT_NEW_POS, mUserData, &temp);
H A Dmediaplayer.cpp348 bool temp = false; local
349 mPlayer->isPlaying(&temp);
350 ALOGV("isPlaying: %d", temp);
351 if ((mCurrentState & MEDIA_PLAYER_STARTED) && ! temp) {
355 return temp;
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp124 uint32_t temp = *inyuv_4++; local
125 uint32_t tempU = temp & 0xFF;
126 tempU = tempU | ((temp >> 8) & 0xFF00);
128 uint32_t tempV = (temp >> 8) & 0xFF;
129 tempV = tempV | ((temp >> 16) & 0xFF00);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp1455 #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...]
H A Dmotion_est.cpp654 double temp[15]; local
662 temp[i] = 1 / exp_lamda[i] * M4VENC_LOG(2 * pf);
664 temp[i] = -1 / exp_lamda[i] * M4VENC_LOG(2 * (1 - pf));
669 nrmlz_th[i] = (Int)(temp[i] * ((i + 1) << 4) + 0.5);
H A Dmp4enc_api.cpp1366 Vop *temp; local
1612 temp = video->prevBaseVop;
1615 video->currVop = temp;
1621 temp = video->prevEnhanceVop;
1624 video->currVop = temp;
1846 Vop *temp; local
1930 temp = video->prevBaseVop;
1933 video->currVop = temp;
1939 temp = video->prevEnhanceVop;
1942 video->currVop = temp;
2837 UInt temp; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp130 unsigned temp; local
199 if (sscanf(line, "Size: %d kB", &temp) == 1) {
200 size = temp;
201 } else if (sscanf(line, "Rss: %d kB", &temp) == 1) {
202 resident = temp;
203 } else if (sscanf(line, "Pss: %d kB", &temp) == 1) {
204 pss = temp;
205 } else if (sscanf(line, "Shared_Clean: %d kB", &temp) == 1) {
206 shared_clean = temp;
207 } else if (sscanf(line, "Shared_Dirty: %d kB", &temp)
289 unsigned temp; local
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java432 int temp, int volt) {
434 mStats.setBatteryState(status, health, plugType, level, temp, volt);
431 setBatteryState(int status, int health, int plugType, int level, int temp, int volt) argument
/frameworks/av/libvideoeditor/vss/src/
H A DM4VSS3GPP_EditVideo.c3731 // free the temp buffer
3912 uint32_t temp = 0; local
3913 temp = pPlaneIn[0].u_width;
3915 pPlaneIn[0].u_height = temp;
3918 temp = pPlaneIn[1].u_width;
3920 pPlaneIn[1].u_height = temp;
3923 temp = pPlaneIn[2].u_width;
3925 pPlaneIn[2].u_height = temp;
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditor3gpReader.cpp1414 M4OSA_UInt8 temp, i, trackCount; local
1438 temp = pC->mCurrTrack;
1440 if(temp >= trackCount) {
1446 meta = pC->mExtractor->getTrackMetaData(temp);
1450 pC->mVideoSource = pC->mExtractor->getTrack(temp);
H A DVideoEditorVideoDecoder.cpp625 uint32_t temp = *inyuv_4++; local
626 uint32_t tempU = temp & 0xFF;
627 tempU = tempU | ((temp >> 8) & 0xFF00);
629 uint32_t tempV = (temp >> 8) & 0xFF;
630 tempV = tempV | ((temp >> 16) & 0xFF00);
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c776 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/aacenc/src/
H A Dtns.c98 Word32 temp, shift; local
105 temp = lineNumber - bandStartOffset[numOfBands] ;
106 if (temp >= 0)
111 temp = bandStartOffset[band + 1] - lineNumber;
112 if (temp > 0) break;
115 temp = (lineNumber - bandStartOffset[band]);
116 temp = (temp - (bandStartOffset[band + 1] - lineNumber));
117 if ( temp > 0 )
277 Word32 temp; local
363 Word32 i, temp; local
402 Word32 temp; local
722 Word32 temp, workBuffer0; local
761 Word32 temp; local
776 Word32 temp; local
790 Word32 temp; local
814 Word32 temp; local
839 Word32 temp; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c1839 int temp; local
1857 temp = 1;
1858 pData = (void *)(&temp);
1862 temp = 16000;
1863 pData = (void *)(&temp);
1867 temp = gData->frameType;
1868 pData = (void *)(&temp);
1872 temp = gData->mode;
1873 pData = (void *)(&temp);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_comp.cpp1655 uint32 temp; local
1664 temp = *in++;
1666 temp |= (byte << 8);
1668 temp |= (byte << 16);
1670 temp |= (byte << 24);
1672 *((uint32*)out) = temp; /* write 4 bytes */
1685 temp = *((uint32*)in);
1686 *((uint32*)out) = temp;
1837 uint8 temp[288]; local
1844 out = temp;
2023 int32 temp[9]; local
2066 int i, temp, temp0, temp1; local
2117 uint16 temp; local
[all...]
/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp763 void AudioMixer::track__genericResample(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_t* aux) argument
767 // ramp gain - resample to temp buffer and scale/mix in 2nd step
773 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t));
774 t->resampler->resample(temp, outFrameCount, t->bufferProvider);
776 volumeRampStereo(t, out, outFrameCount, temp, aux);
778 volumeStereo(t, out, outFrameCount, temp, aux);
783 memset(temp, 0, outFrameCount * MAX_NUM_CHANNELS * sizeof(int32_t));
784 t->resampler->resample(temp, outFrameCount, t->bufferProvider);
785 volumeRampStereo(t, out, outFrameCount, temp, aux);
796 void AudioMixer::track__nop(track_t* t, int32_t* out, size_t outFrameCount, int32_t* temp, int32_ argument
800 volumeRampStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
842 volumeStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
870 track__16BitsStereo(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
960 track__16BitsMono(track_t* t, int32_t* out, size_t frameCount, int32_t* temp, int32_t* aux) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h395 char *temp = mDevice->ops->get_parameters(mDevice); local
396 String8 str_parms(temp);
398 mDevice->ops->put_parameters(mDevice, temp);
400 free(temp);
/frameworks/base/core/java/android/text/
H A DTextUtils.java100 char[] temp = obtain(INDEX_INCREMENT);
107 getChars(s, start, segend, temp, 0);
111 if (temp[i] == ch) {
112 recycle(temp);
120 recycle(temp);
158 char[] temp = obtain(INDEX_INCREMENT);
165 getChars(s, segstart, end, temp, 0);
169 if (temp[i] == ch) {
170 recycle(temp);
178 recycle(temp);
1313 recycle(char[] temp) argument
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp447 etc_compressed temp; local
448 temp.score = 0;
449 temp.high = originalHigh | (i << 5);
450 temp.low = 0;
451 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false,
453 take_best(pCompressed, &temp);
458 etc_compressed temp; local
459 temp.score = firstHalf.score;
460 temp.high = firstHalf.high | (i << 2);
461 temp
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Writer.c1435 M4OSA_FilePosition temp = mMp4FileDataPtr->absoluteCurrentPos; local
1447 M4OSA_kFileSeekBeginning, &temp);
1451 mMp4FileDataPtr->absoluteCurrentPos, err, temp);
1678 M4OSA_FilePosition temp = mMp4FileDataPtr->absoluteCurrentPos; local
1690 M4OSA_kFileSeekBeginning, &temp);
1694 mMp4FileDataPtr->absoluteCurrentPos, err, temp);
2453 M4OSA_FilePosition temp = mMp4FileDataPtr->absoluteCurrentPos local
2469 M4OSA_kFileSeekBeginning, &temp);
2474 + mMp4FileDataPtr->videoTrackPtr->currentPos, err, temp);
2815 M4OSA_UInt32 a_dataSize = 0; /* temp
[all...]

Completed in 721 milliseconds

1234567