Searched refs:psshsize (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.h78 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);
H A DNuPlayerDrm.cpp89 Vector<DrmUUID> NuPlayerDrm::parsePSSH(const void *pssh, size_t psshsize) argument
104 size_t len = psshsize;
151 Vector<DrmUUID> NuPlayerDrm::getSupportedDrmSchemes(const void *pssh, size_t psshsize) argument
153 Vector<DrmUUID> psshDRMs = parsePSSH(pssh, psshsize);
208 void NuPlayerDrm::retrieveDrmInfo(const void *pssh, size_t psshsize, Parcel *parcel) argument
211 parcel->writeUint32(psshsize);
212 parcel->writeByteArray(psshsize, (const uint8_t*)pssh);
214 ALOGV("retrieveDrmInfo: MEDIA_DRM_INFO PSSH: size: %zu %s", psshsize,
215 DrmUUID::arrayToHex((uint8_t*)pssh, psshsize).string());
218 Vector<DrmUUID> supportedDRMs = getSupportedDrmSchemes(pssh, psshsize);
[all...]
H A DGenericSource.cpp2019 size_t psshsize; local
2021 if (!mFileMeta->findData(kKeyPssh, &type, &pssh, &psshsize)) {
2027 NuPlayerDrm::retrieveDrmInfo(pssh, psshsize, &parcel);
2029 (int)psshsize, (int)parcel.dataSize(), (int)parcel.objectsCount());
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp268 size_t psshsize; local
269 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) {
270 sp<ABuffer> buf = new ABuffer(psshsize);
271 memcpy(buf->data(), pssh, psshsize);
H A DMPEG4Extractor.cpp564 uint64_t psshsize = 0; local
566 psshsize += 20 + mPssh[i].datalen;
568 if (psshsize > 0 && psshsize <= UINT32_MAX) {
569 char *buf = (char*)malloc(psshsize);
580 mFileMetaData->setData(kKeyPssh, 'pssh', buf, psshsize);
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java4676 int psshsize = parcel.readInt();
4677 byte[] pssh = new byte[psshsize];
4681 mapPssh = parsePSSH(pssh, psshsize);
4696 Log.v(TAG, "DrmInfo() Parcel psshsize: " + psshsize +
4723 private Map<UUID, byte[]> parsePSSH(byte[] pssh, int psshsize) { argument
4729 int len = psshsize;
4736 "UUID: (%d < 16) pssh: %d", len, psshsize));
4748 "datalen: (%d < 4) pssh: %d", len, psshsize));
4763 "data: (%d < %d) pssh: %d", len, datalen, psshsize));
[all...]

Completed in 375 milliseconds