Searched refs:psshsize (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 40 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 55 size_t len = psshsize; in parsePSSH() 102 Vector<DrmUUID> NuPlayerDrm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) in getSupportedDrmSchemes() argument 104 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize); in getSupportedDrmSchemes() 163 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) in retrieveDrmInfo() argument 166 parcel->writeUint32(psshsize); in retrieveDrmInfo() 167 parcel->writeByteArray(psshsize, (const uint8_t*)pssh); in retrieveDrmInfo() 169 ALOGV("retrieveDrmInfo: MEDIA_DRM_INFO PSSH: size: %zu %s", psshsize, in retrieveDrmInfo() 170 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).c_str()); in retrieveDrmInfo() 173 Vector<DrmUUID> supportedDRMs = getSupportedDrmSchemes(pssh, psshsize); in retrieveDrmInfo()
|
D | GenericSource.cpp | 1690 size_t psshsize; in checkDrmInfo() local 1692 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in checkDrmInfo() 1698 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel); in checkDrmInfo() 1700 (int)psshsize, (int)parcel.dataSize(), (int)parcel.objectsCount()); in checkDrmInfo()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayerDrm.h | 78 static Vector<DrmUUID> parsePSSH(const void *pssh, size_t psshsize); 79 static Vector<DrmUUID> getSupportedDrmSchemes(const void *pssh, size_t psshsize); 87 static void retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel);
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 298 size_t psshsize; in getFileFormat() local 299 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 300 sp<ABuffer> buf = new ABuffer(psshsize); in getFileFormat() 304 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 5397 int psshsize = parcel.readInt(); in DrmInfo() local 5398 byte[] pssh = new byte[psshsize]; in DrmInfo() 5402 mapPssh = parsePSSH(pssh, psshsize); in DrmInfo() 5417 Log.v(TAG, "DrmInfo() Parcel psshsize: " + psshsize + in DrmInfo() 5444 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 5450 int len = psshsize; in parsePSSH() 5457 "UUID: (%d < 16) pssh: %d", len, psshsize)); in parsePSSH() 5469 "datalen: (%d < 4) pssh: %d", len, psshsize)); in parsePSSH() 5484 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 5495 numentries, uuid, arrToHex(data), psshsize)); in parsePSSH()
|
/frameworks/av/media/module/extractors/mp4/ |
D | MPEG4Extractor.cpp | 780 uint64_t psshsize = 0; in readMetaData() local 782 psshsize += 20 + mPssh[i].datalen; in readMetaData() 784 if (psshsize > 0 && psshsize <= UINT32_MAX) { in readMetaData() 785 char *buf = (char*)malloc(psshsize); in readMetaData() 796 AMediaFormat_setBuffer(mFileMetaData, AMEDIAFORMAT_KEY_PSSH, buf, psshsize); in readMetaData()
|