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.cpp151 const SubSample &subSample = subSamples[i]; in decrypt_1_2() local
152 if (__builtin_add_overflow(destSize, subSample.numBytesOfClearData, &destSize)) { in decrypt_1_2()
156 if (__builtin_add_overflow(destSize, subSample.numBytesOfEncryptedData, &destSize)) { in decrypt_1_2()
160 if (subSample.numBytesOfEncryptedData > 0) { in decrypt_1_2()
179 const SubSample& subSample = subSamples[i]; in decrypt_1_2() local
180 if (subSample.numBytesOfClearData != 0) { in decrypt_1_2()
183 subSample.numBytesOfClearData); in decrypt_1_2()
184 offset += subSample.numBytesOfClearData; in decrypt_1_2()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp373 SubSample subSample; in decrypt() local
374 subSample.numBytesOfClearData = subSamples[i].mNumBytesOfClearData; in decrypt()
375 subSample.numBytesOfEncryptedData = subSamples[i].mNumBytesOfEncryptedData; in decrypt()
376 stdSubSamples.push_back(subSample); in decrypt()