Searched refs:datalen (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2Drm.cpp | 63 uint32_t datalen = *((uint32_t*)data); in parsePSSH() local 67 if (len < datalen) { in parsePSSH() 73 data += datalen; in parsePSSH() 74 len -= datalen; in parsePSSH() 81 DrmUUID::arrayToHex(data, datalen).string() in parsePSSH() 143 uint32_t datalen = entry->datalen; in retrieveDrmInfo() local 145 pssh.write(reinterpret_cast<const char *>(&datalen), sizeof(datalen)); in retrieveDrmInfo() 146 pssh.write(reinterpret_cast<const char *>(entry->data), datalen); in retrieveDrmInfo()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 280 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/ |
D | NuPlayerDrm.cpp | 124 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/ |
D | NdkMediaExtractor.h | 156 size_t datalen; member
|
/frameworks/base/media/java/android/media/ |
D | MediaExtractor.java | 466 int datalen = rawpssh.getInt(); 467 byte [] psshdata = new byte[datalen];
|
D | MediaPlayer.java | 5132 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/ |
D | MPEG4Extractor.h | 75 uint32_t datalen; member
|
D | MPEG4Extractor.cpp | 716 psshsize += 20 + mPssh[i].datalen; in readMetaData() 727 memcpy(ptr + 20, mPssh[i].data, mPssh[i].datalen); in readMetaData() 728 ptr += (20 + mPssh[i].datalen); in readMetaData() 1385 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1386 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1387 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1392 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1397 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaPlayer2.java | 4396 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) 4404 if (len < datalen) { 4406 + "data: (%d < %d) pssh: %d", len, datalen, psshsize)); 4410 byte[] data = Arrays.copyOfRange(pssh, i, i + datalen); 4413 i += datalen; 4414 len -= datalen;
|