Home
last modified time | relevance | path

Searched refs:pssh (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DInitDataParserUnittest.cpp79 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/
DNuMediaExtractor.cpp250 const void *pssh; in getFileFormat() local
252 if (meta->findData(kKeyPssh, &type, &pssh, &psshsize)) { in getFileFormat()
254 memcpy(buf->data(), pssh, psshsize); in getFileFormat()
DMPEG4Extractor.cpp1133 PsshInfo pssh; in parseChunk() local
1135 if (mDataSource->readAt(data_offset + 4, &pssh.uuid, 16) < 16) { in parseChunk()
1143 pssh.datalen = ntohl(psshdatalen); in parseChunk()
1144 ALOGV("pssh data size: %d", pssh.datalen); in parseChunk()
1145 if (chunk_size < 20 || pssh.datalen > chunk_size - 20) { in parseChunk()
1150 pssh.data = new (std::nothrow) uint8_t[pssh.datalen]; in parseChunk()
1151 if (pssh.data == NULL) { in parseChunk()
1154 ALOGV("allocated pssh @ %p", pssh.data); in parseChunk()
1155 ssize_t requested = (ssize_t) pssh.datalen; in parseChunk()
1156 if (mDataSource->readAt(data_offset + 24, pssh.data, requested) < requested) { in parseChunk()
[all …]