Home
last modified time | relevance | path

Searched refs:psshVersion1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DInitDataParser.cpp85 const uint8_t psshVersion1[4] = {1, 0, 0, 0}; in parsePssh() local
88 sizeof(psshVersion1) + kSystemIdSize + sizeof(keyIdCount); in parsePssh()
109 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh()
110 sizeof(psshVersion1)) != 0) { in parsePssh()
113 readPosition += sizeof(psshVersion1); in parsePssh()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DInitDataParser.cpp87 const uint8_t psshVersion1[4] = {1, 0, 0, 0}; in parsePssh() local
89 size_t headerSize = sizeof(expectedSize) + sizeof(psshIdentifier) + sizeof(psshVersion1) + in parsePssh()
109 if (memcmp(&initData[readPosition], psshVersion1, sizeof(psshVersion1)) != 0) { in parsePssh()
112 readPosition += sizeof(psshVersion1); in parsePssh()