Searched refs:readPosition (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | InitDataParser.cpp | 81 size_t readPosition = 0; in parsePssh() local 95 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh() 99 readPosition += sizeof(expectedSize); in parsePssh() 102 if (memcmp(&initData[readPosition], psshIdentifier, in parsePssh() 106 readPosition += sizeof(psshIdentifier); in parsePssh() 109 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh() 113 readPosition += sizeof(psshVersion1); in parsePssh() 116 if (!isClearKeyUUID(&initData[readPosition])) { in parsePssh() 119 readPosition += kSystemIdSize; in parsePssh() 122 memcpy(&keyIdCount, &initData[readPosition], sizeof(keyIdCount)); in parsePssh() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
D | InitDataParser.cpp | 83 size_t readPosition = 0; in parsePssh() local 97 if (memcmp(&initData[readPosition], &expectedSize, sizeof(expectedSize)) != 0) { in parsePssh() 100 readPosition += sizeof(expectedSize); in parsePssh() 103 if (memcmp(&initData[readPosition], psshIdentifier, sizeof(psshIdentifier)) != 0) { in parsePssh() 106 readPosition += sizeof(psshIdentifier); in parsePssh() 109 if (memcmp(&initData[readPosition], psshVersion1, sizeof(psshVersion1)) != 0) { in parsePssh() 112 readPosition += sizeof(psshVersion1); in parsePssh() 115 if (!isClearKeyUUID(&initData[readPosition])) { in parsePssh() 118 readPosition += kSystemIdSize; in parsePssh() 121 memcpy(&keyIdCount, &initData[readPosition], sizeof(keyIdCount)); in parsePssh() [all …]
|