Home
last modified time | relevance | path

Searched refs:subSample (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DAesCtrDecryptor.cpp51 const SubSample& subSample = subSamples[i]; in decrypt() local
53 if (subSample.mNumBytesOfClearData > 0) { in decrypt()
55 subSample.mNumBytesOfClearData); in decrypt()
56 offset += subSample.mNumBytesOfClearData; in decrypt()
59 if (subSample.mNumBytesOfEncryptedData > 0) { in decrypt()
61 subSample.mNumBytesOfEncryptedData, &opensslKey, in decrypt()
64 offset += subSample.mNumBytesOfEncryptedData; in decrypt()
DCryptoPlugin.cpp48 const SubSample& subSample = subSamples[i]; in decrypt() local
50 if (subSample.mNumBytesOfEncryptedData != 0) { in decrypt()
57 if (subSample.mNumBytesOfClearData != 0) { in decrypt()
60 subSample.mNumBytesOfClearData); in decrypt()
61 offset += subSample.mNumBytesOfClearData; in decrypt()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DAesCtrDecryptor.cpp60 const SubSample& subSample = subSamples[i]; in decrypt() local
62 if (subSample.numBytesOfClearData > 0) { in decrypt()
64 subSample.numBytesOfClearData); in decrypt()
65 offset += subSample.numBytesOfClearData; in decrypt()
68 if (subSample.numBytesOfEncryptedData > 0) { in decrypt()
70 subSample.numBytesOfEncryptedData, &opensslKey, in decrypt()
73 offset += subSample.numBytesOfEncryptedData; in decrypt()
DCryptoPlugin.cpp154 const SubSample &subSample = subSamples[i]; in decrypt_1_2() local
155 if (__builtin_add_overflow(destSize, subSample.numBytesOfClearData, &destSize) || in decrypt_1_2()
156 __builtin_add_overflow(srcSize, subSample.numBytesOfClearData, &srcSize)) { in decrypt_1_2()
160 if (__builtin_add_overflow(destSize, subSample.numBytesOfEncryptedData, &destSize) || in decrypt_1_2()
161 __builtin_add_overflow(srcSize, subSample.numBytesOfEncryptedData, &srcSize)) { in decrypt_1_2()
165 if (subSample.numBytesOfEncryptedData > 0) { in decrypt_1_2()
184 const SubSample& subSample = subSamples[i]; in decrypt_1_2() local
185 if (subSample.numBytesOfClearData != 0) { in decrypt_1_2()
188 subSample.numBytesOfClearData); in decrypt_1_2()
189 offset += subSample.numBytesOfClearData; in decrypt_1_2()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp348 SubSample subSample; in decrypt() local
349 subSample.numBytesOfClearData = subSamples[i].mNumBytesOfClearData; in decrypt()
350 subSample.numBytesOfEncryptedData = subSamples[i].mNumBytesOfEncryptedData; in decrypt()
351 stdSubSamples.push_back(subSample); in decrypt()