Searched refs:datalen (Results 1 – 10 of 10) 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() 144 uint32_t datalen = entry->datalen; in retrieveDrmInfo() local 146 pssh.write(reinterpret_cast<const char *>(&datalen), sizeof(datalen)); in retrieveDrmInfo() 147 pssh.write(reinterpret_cast<const char *>(entry->data), datalen); in retrieveDrmInfo()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 293 uint32_t datalen = *((uint32_t*)data); in AMediaExtractor_getPsshInfo() local 297 if (len < datalen) { in AMediaExtractor_getPsshInfo() 302 data += datalen; in AMediaExtractor_getPsshInfo() 303 len -= datalen; in AMediaExtractor_getPsshInfo() 334 uint32_t datalen = *((uint32_t*)src); in AMediaExtractor_getPsshInfo() local 335 *((size_t*)dst) = datalen; in AMediaExtractor_getPsshInfo() 345 memcpy(dstdata, src, datalen); in AMediaExtractor_getPsshInfo() 346 dstdata += datalen; in AMediaExtractor_getPsshInfo() 347 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 | 145 size_t datalen; member
|
/frameworks/base/media/java/android/media/ |
D | MediaExtractor.java | 434 int datalen = rawpssh.getInt(); 435 byte [] psshdata = new byte[datalen];
|
D | MediaPlayer2Impl.java | 3923 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) ? in parsePSSH() local 3931 if (len < datalen) { in parsePSSH() 3933 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 3937 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH() 3940 i += datalen; in parsePSSH() 3941 len -= datalen; in parsePSSH()
|
D | MediaPlayer.java | 5145 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) ? in parsePSSH() local 5153 if (len < datalen) { in parsePSSH() 5155 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 5159 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH() 5162 i += datalen; in parsePSSH() 5163 len -= datalen; in parsePSSH()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.h | 75 uint32_t datalen; member
|
D | MPEG4Extractor.cpp | 661 psshsize += 20 + mPssh[i].datalen; in readMetaData() 672 memcpy(ptr + 20, mPssh[i].data, mPssh[i].datalen); in readMetaData() 673 ptr += (20 + mPssh[i].datalen); in readMetaData() 1278 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1279 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1280 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1285 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1290 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaPlayer2Impl.java | 1847 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) in parsePSSH() local 1855 if (len < datalen) { in parsePSSH() 1857 + "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 1861 byte[] data = Arrays.copyOfRange(pssh, i, i + datalen); in parsePSSH() 1864 i += datalen; in parsePSSH() 1865 len -= datalen; in parsePSSH()
|