Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp284 uint32_t datalen = *((uint32_t*)data); in AMediaExtractor_getPsshInfo() local
288 if (len < datalen) { in AMediaExtractor_getPsshInfo()
293 data += datalen; in AMediaExtractor_getPsshInfo()
294 len -= datalen; in AMediaExtractor_getPsshInfo()
325 uint32_t datalen = *((uint32_t*)src); in AMediaExtractor_getPsshInfo() local
326 *((size_t*)dst) = datalen; in AMediaExtractor_getPsshInfo()
336 memcpy(dstdata, src, datalen); in AMediaExtractor_getPsshInfo()
337 dstdata += datalen; in AMediaExtractor_getPsshInfo()
338 src += datalen; in AMediaExtractor_getPsshInfo()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp76 uint32_t datalen = *((uint32_t*)data); in parsePSSH() local
80 if (len < datalen) { in parsePSSH()
86 data += datalen; in parsePSSH()
87 len -= datalen; in parsePSSH()
94 DrmUUID::arrayToHex(data, datalen).string() in parsePSSH()
/frameworks/av/media/ndk/include/media/
DNdkMediaExtractor.h179 size_t datalen; member
/frameworks/base/media/java/android/media/
DMediaExtractor.java491 int datalen = rawpssh.getInt();
492 byte [] psshdata = new byte[datalen];
DMediaPlayer.java5411 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) ? in parsePSSH() local
5419 if (len < datalen) { in parsePSSH()
5421 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH()
5425 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH()
5428 i += datalen; in parsePSSH()
5429 len -= datalen; in parsePSSH()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.h75 uint32_t datalen; member
DMPEG4Extractor.cpp771 psshsize += 20 + mPssh[i].datalen; in readMetaData()
782 memcpy(ptr + 20, mPssh[i].data, mPssh[i].datalen); in readMetaData()
783 ptr += (20 + mPssh[i].datalen); in readMetaData()
1544 pssh.datalen = ntohl(psshdatalen); in parseChunk()
1545 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk()
1546 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk()
1551 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk()
1556 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()