Searched refs:subSamples (Results 1 - 19 of 19) 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.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/media/libmedia/
H A DICrypto.cpp103 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
126 totalSize += subSamples[i].mNumBytesOfEncryptedData;
127 totalSize += subSamples[i].mNumBytesOfClearData;
135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples);
289 CryptoPlugin::SubSample *subSamples = local
293 subSamples,
309 CryptoPlugin::SubSample &ss = subSamples[i];
333 subSamples, numSubSamples,
353 delete[] subSamples;
354 subSamples
97 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
[all...]
/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 DICrypto.h55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.h58 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
H A DCrypto.cpp243 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
259 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
237 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h100 const SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp388 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; local
390 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i];
391 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i];
397 subSamples,
408 delete [] subSamples;
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.h165 const SubSample *subSamples, size_t numSubSamples,
168 String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
H A DMockDrmCryptoPlugin.cpp801 Mode mode, const void *srcPtr, const SubSample *subSamples,
805 "subSamples=%s, dst=%p)",
810 subSamplesToString(subSamples, numSubSamples).string(),
826 String8 MockCryptoPlugin::subSamplesToString(SubSample const *subSamples, argument
832 subSamples[i].mNumBytesOfClearData,
833 subSamples[i].mNumBytesOfEncryptedData);
800 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 * ) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h79 const CryptoPlugin::SubSample *subSamples,
H A Dandroid_media_MediaCodec.cpp323 const CryptoPlugin::SubSample *subSamples,
332 index, offset, subSamples, numSubSamples, key, iv, mode,
1269 CryptoPlugin::SubSample *subSamples = NULL; local
1284 // subSamples array may silently overflow if number of samples are too large. Use
1286 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) {
1301 subSamples = new CryptoPlugin::SubSample[numSubSamples];
1304 subSamples[i].mNumBytesOfClearData =
1307 subSamples[i].mNumBytesOfEncryptedData =
1348 subSamples, numSubSamples,
1366 delete[] subSamples;
320 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/av/media/libstagefright/
H A DMediaCodec.cpp679 const CryptoPlugin::SubSample *subSamples,
694 msg->setPointer("subSamples", (void *)subSamples);
2351 const CryptoPlugin::SubSample *subSamples; local
2366 subSamples = &ss;
2376 CHECK(msg->findPointer("subSamples", (void **)&subSamples));
2388 size += subSamples[i].mNumBytesOfClearData;
2389 size += subSamples[i].mNumBytesOfEncryptedData;
2434 subSamples,
676 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/av/include/media/stagefright/
H A DMediaCodec.h117 const CryptoPlugin::SubSample *subSamples,

Completed in 178 milliseconds