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.java493 int datalen = rawpssh.getInt();
494 byte [] psshdata = new byte[datalen];
DMediaPlayer.java5394 int datalen = (ByteOrder.nativeOrder() == ByteOrder.LITTLE_ENDIAN) ? in parsePSSH() local
5402 if (len < datalen) { in parsePSSH()
5404 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH()
5408 byte[] data = Arrays.copyOfRange(pssh, i, i+datalen); in parsePSSH()
5411 i += datalen; in parsePSSH()
5412 len -= datalen; in parsePSSH()
/frameworks/av/media/extractors/mp4/include/
DMPEG4Extractor.h75 uint32_t datalen; member
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp772 psshsize += 20 + mPssh[i].datalen; in readMetaData()
783 memcpy(ptr + 20, mPssh[i].data, mPssh[i].datalen); in readMetaData()
784 ptr += (20 + mPssh[i].datalen); in readMetaData()
1547 pssh.datalen = ntohl(psshdatalen); in parseChunk()
1548 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk()
1549 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk()
1554 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk()
1559 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()