Searched defs:subSamples (Results 1 - 10 of 10) sorted by relevance

/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 void* srcPtr, const SubSample* subSamples, size_t numSubSamples, void* dstPtr, AString* errorDetailMsg) argument
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
/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/media/libmedia/
H A DICrypto.cpp101 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
124 totalSize += subSamples[i].mNumBytesOfEncryptedData;
125 totalSize += subSamples[i].mNumBytesOfClearData;
132 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples);
253 CryptoPlugin::SubSample *subSamples = local
257 subSamples,
274 subSamples, numSubSamples,
294 delete[] subSamples;
295 subSamples = NULL;
95 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp242 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
236 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp730 Mode mode, const void *srcPtr, const SubSample *subSamples,
734 "subSamples=%s, dst=%p)",
739 subSamplesToString(subSamples, numSubSamples).string(),
755 String8 MockCryptoPlugin::subSamplesToString(SubSample const *subSamples, argument
761 subSamples[i].mNumBytesOfClearData,
762 subSamples[i].mNumBytesOfEncryptedData);
729 decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], Mode mode, const void *srcPtr, const SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp379 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; local
381 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i];
382 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i];
388 subSamples,
399 delete [] subSamples;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp391 const CryptoPlugin::SubSample *subSamples,
406 msg->setPointer("subSamples", (void *)subSamples);
1865 const CryptoPlugin::SubSample *subSamples; local
1880 subSamples = &ss;
1890 CHECK(msg->findPointer("subSamples", (void **)&subSamples));
1902 size += subSamples[i].mNumBytesOfClearData;
1903 size += subSamples[i].mNumBytesOfEncryptedData;
1947 subSamples,
388 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp277 const CryptoPlugin::SubSample *subSamples,
286 index, offset, subSamples, numSubSamples, key, iv, mode,
1019 CryptoPlugin::SubSample *subSamples = NULL; local
1034 // subSamples array may silently overflow if number of samples are too large. Use
1036 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) {
1051 subSamples = new CryptoPlugin::SubSample[numSubSamples];
1054 subSamples[i].mNumBytesOfClearData =
1057 subSamples[i].mNumBytesOfEncryptedData =
1098 subSamples, numSubSamples,
1116 delete[] subSamples;
274 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
[all...]

Completed in 174 milliseconds