Home
last modified time | relevance | path

Searched refs:subSample (Results 1 – 7 of 7) 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.cpp166 const SubSample &subSample = subSamples[i]; in decrypt_1_2() local
167 if (__builtin_add_overflow(destSize, subSample.numBytesOfClearData, &destSize) || in decrypt_1_2()
168 __builtin_add_overflow(srcSize, subSample.numBytesOfClearData, &srcSize)) { in decrypt_1_2()
172 if (__builtin_add_overflow(destSize, subSample.numBytesOfEncryptedData, &destSize) || in decrypt_1_2()
173 __builtin_add_overflow(srcSize, subSample.numBytesOfEncryptedData, &srcSize)) { in decrypt_1_2()
177 if (subSample.numBytesOfEncryptedData > 0) { in decrypt_1_2()
196 const SubSample& subSample = subSamples[i]; in decrypt_1_2() local
197 if (subSample.numBytesOfClearData != 0) { in decrypt_1_2()
200 subSample.numBytesOfClearData); in decrypt_1_2()
201 offset += subSample.numBytesOfClearData; in decrypt_1_2()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DCryptoPlugin.cpp99 const SubSample& subSample = in_args.subSamples[i]; in decrypt() local
100 if (__builtin_add_overflow(destSize, subSample.numBytesOfClearData, &destSize) || in decrypt()
101 __builtin_add_overflow(srcSize, subSample.numBytesOfClearData, &srcSize)) { in decrypt()
105 if (__builtin_add_overflow(destSize, subSample.numBytesOfEncryptedData, &destSize) || in decrypt()
106 __builtin_add_overflow(srcSize, subSample.numBytesOfEncryptedData, &srcSize)) { in decrypt()
110 if (subSample.numBytesOfEncryptedData > 0) { in decrypt()
128 const SubSample& subSample = in_args.subSamples[i]; in decrypt() local
129 if (subSample.numBytesOfClearData != 0) { in decrypt()
132 subSample.numBytesOfClearData); in decrypt()
133 offset += subSample.numBytesOfClearData; in decrypt()
/frameworks/av/drm/libmediadrm/
DCryptoHalHidl.cpp311 SubSample subSample; in decrypt() local
312 subSample.numBytesOfClearData = subSamples[i].mNumBytesOfClearData; in decrypt()
313 subSample.numBytesOfEncryptedData = subSamples[i].mNumBytesOfEncryptedData; in decrypt()
314 stdSubSamples.push_back(subSample); in decrypt()
DCryptoHalAidl.cpp309 SubSample subSample; in decrypt() local
310 subSample.numBytesOfClearData = subSamples[i].mNumBytesOfClearData; in decrypt()
311 subSample.numBytesOfEncryptedData = subSamples[i].mNumBytesOfEncryptedData; in decrypt()
312 stdSubSamples.push_back(subSample); in decrypt()