Searched refs:psshsize (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.cpp | 89 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) in parsePSSH() argument 104 size_t len = psshsize; in parsePSSH() 151 Vector<DrmUUID> NuPlayerDrm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) in getSupportedDrmSchemes() argument 153 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize); in getSupportedDrmSchemes() 212 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) in retrieveDrmInfo() argument 215 parcel->writeUint32(psshsize); in retrieveDrmInfo() 216 parcel->writeByteArray(psshsize, (const uint8_t*)pssh); in retrieveDrmInfo() 218 ALOGV("retrieveDrmInfo: MEDIA_DRM_INFO PSSH: size: %zu %s", psshsize, in retrieveDrmInfo() 219 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).string()); in retrieveDrmInfo() 222 Vector<DrmUUID> supportedDRMs = getSupportedDrmSchemes(pssh, psshsize); in retrieveDrmInfo()
|
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);
|
D | GenericSource.cpp | 1697 size_t psshsize; in checkDrmInfo() local 1699 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in checkDrmInfo() 1705 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel); in checkDrmInfo() 1707 (int)psshsize, (int)parcel.dataSize(), (int)parcel.objectsCount()); in checkDrmInfo()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 291 size_t psshsize; in getFileFormat() local 292 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 293 sp<ABuffer> buf = new ABuffer(psshsize); in getFileFormat() 294 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 5055 int psshsize = parcel.readInt(); in DrmInfo() local 5056 byte[] pssh = new byte[psshsize]; in DrmInfo() 5060 mapPssh = parsePSSH(pssh, psshsize); in DrmInfo() 5075 Log.v(TAG, "DrmInfo() Parcel psshsize: " + psshsize + in DrmInfo() 5102 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { in parsePSSH() argument 5108 int len = psshsize; in parsePSSH() 5115 "UUID: (%d < 16) pssh: %d", len, psshsize)); in parsePSSH() 5127 "datalen: (%d < 4) pssh: %d", len, psshsize)); in parsePSSH() 5142 "data: (%d < %d) pssh: %d", len, datalen, psshsize)); in parsePSSH() 5153 numentries, uuid, arrToHex(data), psshsize)); in parsePSSH()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 716 uint64_t psshsize = 0; in readMetaData() local 718 psshsize += 20 + mPssh[i].datalen; in readMetaData() 720 if (psshsize > 0 && psshsize <= UINT32_MAX) { in readMetaData() 721 char *buf = (char*)malloc(psshsize); in readMetaData() 732 AMediaFormat_setBuffer(mFileMetaData, AMEDIAFORMAT_KEY_PSSH, buf, psshsize); in readMetaData()
|