Home
last modified time | relevance | path

Searched refs:dstData (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/
DDRMExtractor.cpp159 uint8_t *dstData = (uint8_t*)src; in read() local
204 dstData[dstOffset++] = 0; in read()
205 dstData[dstOffset++] = 0; in read()
206 dstData[dstOffset++] = 0; in read()
207 dstData[dstOffset++] = 1; in read()
208 memcpy(&dstData[dstOffset], &decryptedDrmBuffer.data[srcOffset], nalLength); in read()
DMPEG4Extractor.cpp3880 uint8_t *dstData = (uint8_t *)mBuffer->data(); in read() local
3906 dstData[dstOffset++] = 0; in read()
3907 dstData[dstOffset++] = 0; in read()
3908 dstData[dstOffset++] = 0; in read()
3909 dstData[dstOffset++] = 1; in read()
3910 memcpy(&dstData[dstOffset], &mSrcBuffer[srcOffset], nalLength); in read()
4157 uint8_t *dstData = (uint8_t *)mBuffer->data(); in fragmentedRead() local
4183 dstData[dstOffset++] = 0; in fragmentedRead()
4184 dstData[dstOffset++] = 0; in fragmentedRead()
4185 dstData[dstOffset++] = 0; in fragmentedRead()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java382 static void addSysMemUsage(long[] dstData, int dstOff, long[] addData, int addOff) { in addSysMemUsage() argument
383 final long dstCount = dstData[dstOff+SYS_MEM_USAGE_SAMPLE_COUNT]; in addSysMemUsage()
386 dstData[dstOff+SYS_MEM_USAGE_SAMPLE_COUNT] = addCount; in addSysMemUsage()
388 dstData[dstOff+i] = addData[addOff+i]; in addSysMemUsage()
391 dstData[dstOff+SYS_MEM_USAGE_SAMPLE_COUNT] = dstCount + addCount; in addSysMemUsage()
393 if (dstData[dstOff+i] > addData[addOff+i]) { in addSysMemUsage()
394 dstData[dstOff+i] = addData[addOff+i]; in addSysMemUsage()
396 dstData[dstOff+i+1] = (long)( in addSysMemUsage()
397 ((dstData[dstOff+i+1]*(double)dstCount) in addSysMemUsage()
400 if (dstData[dstOff+i+2] < addData[addOff+i+2]) { in addSysMemUsage()
[all …]