Searched refs:subSamples (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp37 const SubSample* subSamples, size_t numSubSamples,
48 const SubSample& subSample = subSamples[i];
67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples,
35 decrypt(bool secure, const KeyId keyId, const Iv iv, Mode mode, const Pattern & , const void* srcPtr, const SubSample* subSamples, size_t numSubSamples, void* dstPtr, AString* errorDetailMsg) argument
H A DAesCtrDecryptor.h35 const SubSample* subSamples, size_t numSubSamples,
H A DAesCtrDecryptor.cpp32 const SubSample* subSamples,
46 const SubSample& subSample = subSamples[i];
29 decrypt(const android::Vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
H A DSession.cpp66 void* destination, const SubSample* subSamples,
81 reinterpret_cast<uint8_t*>(destination), subSamples,
64 decrypt( const KeyId keyId, const Iv iv, const void* source, void* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
H A DCryptoPlugin.h48 const SubSample* subSamples, size_t numSubSamples,
H A DSession.h50 void* destination, const SubSample* subSamples,
/frameworks/av/drm/libmediadrm/
H A DMediaCasDefs.cpp84 subSamples = new DescramblerPlugin::SubSample[numSubSamples];
85 if (subSamples == NULL) {
90 err = parcel->readUint32(&subSamples[i].mNumBytesOfClearData);
94 err = parcel->readUint32(&subSamples[i].mNumBytesOfEncryptedData);
148 err = parcel->writeUint32(subSamples[i].mNumBytesOfClearData);
152 err = parcel->writeUint32(subSamples[i].mNumBytesOfEncryptedData);
H A DICrypto.cpp102 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
125 totalSize += subSamples[i].mNumBytesOfEncryptedData;
126 totalSize += subSamples[i].mNumBytesOfClearData;
135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples);
344 CryptoPlugin::SubSample *subSamples = local
347 data.read(subSamples,
373 CryptoPlugin::SubSample &ss = subSamples[i];
394 subSamples, numSubSamples, destination, &errorDetailMsg);
413 delete[] subSamples;
414 subSamples
99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument
[all...]
H A DDescramblerImpl.cpp85 info.subSamples,
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp131 DescramblerPlugin::SubSample *subSamples,
152 info.subSamples = subSamples;
198 // subSamples array may silently overflow if number of samples are
218 DescramblerPlugin::SubSample *subSamples = local
221 if (subSamples == NULL) {
227 subSamples[i].mNumBytesOfClearData =
230 subSamples[i].mNumBytesOfEncryptedData =
234 totalSize += subSamples[i].mNumBytesOfClearData +
235 subSamples[
127 descramble( jbyte key, size_t numSubSamples, ssize_t totalLength, DescramblerPlugin::SubSample *subSamples, const void *srcPtr, jint srcOffset, void *dstPtr, jint dstOffset, ssize_t *result) argument
300 DescramblerPlugin::SubSample *subSamples = NULL; local
[all...]
H A Dandroid_media_MediaDescrambler.h44 DescramblerPlugin::SubSample *subSamples,
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp344 size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples,
368 size_t numBytesinSubSample = subSamples[i].mNumBytesOfClearData
369 + subSamples[i].mNumBytesOfEncryptedData;
377 && subSamples[i].mNumBytesOfEncryptedData >= AES_BLOCK_SIZE) {
381 subSamples[i].mNumBytesOfClearData,
434 const SubSample *subSamples,
441 ALOGV("descramble: secure=%d, sctrl=%d, subSamples=%s, "
444 subSamplesToString(subSamples, numSubSamples).string(),
454 numSubSamples, subSamples,
473 SubSample const *subSamples, size_
342 decrypt( bool secure, DescramblerPlugin::ScramblingControl scramblingControl, size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples, const void *srcPtr, void *dstPtr, AString * ) argument
430 descramble( bool secure, ScramblingControl scramblingControl, size_t numSubSamples, const SubSample *subSamples, const void *srcPtr, int32_t srcOffset, void *dstPtr, int32_t dstOffset, AString *errorDetailMsg) argument
472 subSamplesToString( SubSample const *subSamples, size_t numSubSamples) const argument
[all...]
H A DClearKeyCasPlugin.h115 const SubSample *subSamples,
126 SubSample const *subSamples,
H A DClearKeySessionLibrary.h39 const DescramblerPlugin::SubSample *subSamples,
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockCasPlugin.cpp214 const SubSample *subSamples,
221 "subSamples=%s, srcPtr=%p, dstPtr=%p, srcOffset=%d, dstOffset=%d)",
223 subSamplesToString(subSamples, numSubSamples).string(),
242 SubSample const *subSamples, size_t numSubSamples) const
247 subSamples[i].mNumBytesOfClearData,
248 subSamples[i].mNumBytesOfEncryptedData);
210 descramble( bool secure, ScramblingControl scramblingControl, size_t numSubSamples, const SubSample *subSamples, const void *srcPtr, int32_t srcOffset, void *dstPtr, int32_t dstOffset, AString *errorDetailMsg) argument
241 subSamplesToString( SubSample const *subSamples, size_t numSubSamples) const argument
H A DMockCasPlugin.h108 const SubSample *subSamples,
117 SubSample const *subSamples,
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DAesCtrDecryptorUnittest.cpp34 uint8_t* destination, const SubSample* subSamples,
40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples,
48 const SubSample* subSamples,
53 subSamples, numSubSamples,
97 SubSample subSamples[kNumSubsamples] = { local
102 subSamples, kNumSubsamples);
142 SubSample subSamples[kNumSubsamples] = { local
148 subSamples, kNumSubsamples);
188 SubSample subSamples[kNumSubsamples] = { local
194 subSamples, kNumSubsample
33 attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
45 attemptDecryptExpectingSuccess(const Key& key, const Iv& iv, const uint8_t* encrypted, const uint8_t* decrypted, const SubSample* subSamples, size_t numSubSamples) argument
238 SubSample subSamples[kNumSubsamples] = { local
291 SubSample subSamples[kNumSubsamples] = { local
346 SubSample subSamples[kNumSubsamples] = { local
408 SubSample subSamples[kNumSubsamples] = { local
[all...]
/frameworks/av/include/media/
H A DCrypto.h55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
H A DICrypto.h70 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
H A DMediaCasDefs.h76 DescramblerPlugin::SubSample *subSamples; member in class:android::media::MediaDescrambler::DescrambleInfo
/frameworks/av/media/libmedia/include/media/
H A DCrypto.h55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
H A DICrypto.h70 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/native/include/media/cas/
H A DDescramblerAPI.h87 const SubSample *subSamples,
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h109 const SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.cpp255 ret->subSamples = (CryptoPlugin::SubSample*)(ret + 1);
256 CryptoPlugin::SubSample *subSamples = ret->subSamples; local
259 subSamples[i].mNumBytesOfClearData = (clearbytes == NULL) ? 0 : clearbytes[i];
260 subSamples[i].mNumBytesOfEncryptedData = (encryptedbytes == NULL) ?

Completed in 300 milliseconds

12