Searched refs:readPosition (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | InitDataParser.cpp | 79 size_t readPosition = 0; in parsePssh() local 84 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh() 88 readPosition += sizeof(expectedSize); in parsePssh() 92 if (memcmp(&initData[readPosition], psshIdentifier, in parsePssh() 96 readPosition += sizeof(psshIdentifier); in parsePssh() 100 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh() 104 readPosition += sizeof(psshVersion1); in parsePssh() 107 if (!isClearKeyUUID(&initData[readPosition])) { in parsePssh() 110 readPosition += kSystemIdSize; in parsePssh() 114 memcpy(&keyIdCount, &initData[readPosition], sizeof(keyIdCount)); in parsePssh() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | InitDataParser.cpp | 88 size_t readPosition = 0; in parsePssh() local 93 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh() 97 readPosition += sizeof(expectedSize); in parsePssh() 101 if (memcmp(&initData[readPosition], psshIdentifier, in parsePssh() 105 readPosition += sizeof(psshIdentifier); in parsePssh() 109 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh() 113 readPosition += sizeof(psshVersion1); in parsePssh() 116 if (!clearkeydrm::isClearKeyUUID(&initData[readPosition])) { in parsePssh() 119 readPosition += kSystemIdSize; in parsePssh() 123 memcpy(&keyIdCount, &initData[readPosition], sizeof(keyIdCount)); in parsePssh() [all …]
|