Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp288 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/
DNuPlayerDrm.cpp75 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/
DNdkMediaExtractor.h179 size_t datalen; member
/frameworks/base/media/java/android/media/
DMediaExtractor.java484 int datalen = rawpssh.getInt();
485 byte [] psshdata = new byte[datalen];
DMediaPlayer.java5474 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/
DMPEG4Extractor.h75 uint32_t datalen; member
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp782 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()