Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp280 uint32_t datalen = *((uint32_t*)data); in AMediaExtractor_getPsshInfo() local
284 if (len < datalen) { in AMediaExtractor_getPsshInfo()
289 data += datalen; in AMediaExtractor_getPsshInfo()
290 len -= datalen; in AMediaExtractor_getPsshInfo()
321 uint32_t datalen = *((uint32_t*)src); in AMediaExtractor_getPsshInfo() local
322 *((size_t*)dst) = datalen; in AMediaExtractor_getPsshInfo()
332 memcpy(dstdata, src, datalen); in AMediaExtractor_getPsshInfo()
333 dstdata += datalen; in AMediaExtractor_getPsshInfo()
334 src += datalen; in AMediaExtractor_getPsshInfo()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp124 uint32_t datalen = *((uint32_t*)data); in parsePSSH() local
128 if (len < datalen) { in parsePSSH()
134 data += datalen; in parsePSSH()
135 len -= datalen; in parsePSSH()
142 DrmUUID::arrayToHex(data, datalen).string() in parsePSSH()
/frameworks/av/media/ndk/include/media/
DNdkMediaExtractor.h185 size_t datalen; member
/frameworks/base/media/java/android/media/
DMediaExtractor.java466 int datalen = rawpssh.getInt();
467 byte [] psshdata = new byte[datalen];
DMediaPlayer.java5132 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) ? in parsePSSH() local
5140 if (len < datalen) { in parsePSSH()
5142 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH()
5146 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH()
5149 i += datalen; in parsePSSH()
5150 len -= datalen; in parsePSSH()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.h75 uint32_t datalen; member
DMPEG4Extractor.cpp718 psshsize += 20 + mPssh[i].datalen; in readMetaData()
729 memcpy(ptr + 20, mPssh[i].data, mPssh[i].datalen); in readMetaData()
730 ptr += (20 + mPssh[i].datalen); in readMetaData()
1389 pssh.datalen = ntohl(psshdatalen); in parseChunk()
1390 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk()
1391 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk()
1396 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk()
1401 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()