Searched refs:datalen (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 288 uint32_t datalen = *((uint32_t*)data); in AMediaExtractor_getPsshInfo() local 292 if (len < datalen) { in AMediaExtractor_getPsshInfo() 297 data += datalen; in AMediaExtractor_getPsshInfo() 298 len -= datalen; in AMediaExtractor_getPsshInfo() 329 uint32_t datalen = *((uint32_t*)src); in AMediaExtractor_getPsshInfo() local 330 *((size_t*)dst) = datalen; in AMediaExtractor_getPsshInfo() 340 memcpy(dstdata, src, datalen); in AMediaExtractor_getPsshInfo() 341 dstdata += datalen; in AMediaExtractor_getPsshInfo() 342 src += datalen; in AMediaExtractor_getPsshInfo()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 75 uint32_t datalen = *((uint32_t*)data); in parsePSSH() local 79 if (len < datalen) { in parsePSSH() 85 data += datalen; in parsePSSH() 86 len -= datalen; in parsePSSH() 93 DrmUUID::arrayToHex(data, datalen).c_str() in parsePSSH()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaExtractor.h | 179 size_t datalen; member
|
/frameworks/base/media/java/android/media/ |
D | MediaExtractor.java | 484 int datalen = rawpssh.getInt(); 485 byte [] psshdata = new byte[datalen];
|
D | MediaPlayer.java | 5474 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) ? in parsePSSH() local 5482 if (len < datalen) { in parsePSSH() 5484 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 5488 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH() 5491 i += datalen; in parsePSSH() 5492 len -= datalen; in parsePSSH()
|
/frameworks/av/media/module/extractors/mp4/include/ |
D | MPEG4Extractor.h | 75 uint32_t datalen; member
|
/frameworks/av/media/module/extractors/mp4/ |
D | MPEG4Extractor.cpp | 782 psshsize += 20 + mPssh[i].datalen; in readMetaData() 793 memcpy(ptr + 20, mPssh[i].data, mPssh[i].datalen); in readMetaData() 794 ptr += (20 + mPssh[i].datalen); in readMetaData() 1557 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1558 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1559 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1564 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1569 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()
|