Searched refs:pssh (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | InitDataParserUnittest.cpp | 79 uint8_t pssh[52] = { in TEST_F() local 91 initData.appendArray(pssh, 52); in TEST_F() 100 uint8_t pssh[84] = { in TEST_F() local 116 initData.appendArray(pssh, 84); in TEST_F() 141 uint8_t pssh[16] = { in TEST_F() local 148 initData.appendArray(pssh, 16); in TEST_F() 164 uint8_t pssh[52] = { in TEST_F() local 176 initData.appendArray(pssh, 52); in TEST_F() 182 uint8_t pssh[52] = { in TEST_F() local 194 initData.appendArray(pssh, 52); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 275 const void *pssh; in getFileFormat() local 277 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat() 279 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
|
D | MPEG4Extractor.cpp | 1212 PsshInfo pssh; in parseChunk() local 1214 if (mDataSource->readAt(data_offset + 4, &pssh.uuid, 16) < 16) { in parseChunk() 1222 pssh.datalen = ntohl(psshdatalen); in parseChunk() 1223 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk() 1224 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk() 1229 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk() 1230 if (pssh.data == NULL) { in parseChunk() 1233 ALOGV("allocated pssh @ %p", pssh.data); in parseChunk() 1234 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk() 1235 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) { in parseChunk() [all …]
|