Home
last modified time | relevance | path

Searched refs:subSamples (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DAesCtrDecryptorUnittest.cpp34 uint8_t* destination, const SubSample* subSamples, in attemptDecrypt() argument
40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples, in attemptDecrypt()
48 const SubSample* subSamples, in attemptDecryptExpectingSuccess() argument
53 subSamples, numSubSamples, in attemptDecryptExpectingSuccess()
97 SubSample subSamples[kNumSubsamples] = { in TEST_F() local
102 subSamples, kNumSubsamples); in TEST_F()
142 SubSample subSamples[kNumSubsamples] = { in TEST_F() local
148 subSamples, kNumSubsamples); in TEST_F()
188 SubSample subSamples[kNumSubsamples] = { in TEST_F() local
194 subSamples, kNumSubsamples); in TEST_F()
[all …]
/frameworks/av/media/libmedia/
DICrypto.cpp100 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
123 totalSize += subSamples[i].mNumBytesOfEncryptedData; in decrypt()
124 totalSize += subSamples[i].mNumBytesOfClearData; in decrypt()
131 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt()
243 CryptoPlugin::SubSample *subSamples = in onTransact() local
247 subSamples, in onTransact()
264 subSamples, numSubSamples, in onTransact()
284 delete[] subSamples; in onTransact()
285 subSamples = NULL; in onTransact()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DCryptoPlugin.cpp37 const SubSample* subSamples, size_t numSubSamples, in decrypt() argument
48 const SubSample& subSample = subSamples[i]; in decrypt()
67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
DAesCtrDecryptor.cpp32 const SubSample* subSamples, in decrypt() argument
46 const SubSample& subSample = subSamples[i]; in decrypt()
DSession.cpp66 void* destination, const SubSample* subSamples, in decrypt() argument
81 reinterpret_cast<uint8_t*>(destination), subSamples, in decrypt()
DAesCtrDecryptor.h35 const SubSample* subSamples, size_t numSubSamples,
DCryptoPlugin.h45 const SubSample* subSamples, size_t numSubSamples,
DSession.h50 void* destination, const SubSample* subSamples,
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp379 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer() local
381 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; in AMediaCodec_queueSecureInputBuffer()
382 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; in AMediaCodec_queueSecureInputBuffer()
388 subSamples, in AMediaCodec_queueSecureInputBuffer()
399 delete [] subSamples; in AMediaCodec_queueSecureInputBuffer()
/frameworks/av/include/media/
DICrypto.h50 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/libmediaplayerservice/
DCrypto.cpp242 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() argument
256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
DCrypto.h54 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/native/include/media/hardware/
DCryptoAPI.h87 const SubSample *subSamples, size_t numSubSamples,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h162 const SubSample *subSamples, size_t numSubSamples,
165 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
DMockDrmCryptoPlugin.cpp705 Mode mode, const void *srcPtr, const SubSample *subSamples, in decrypt() argument
714 subSamplesToString(subSamples, numSubSamples).string(), in decrypt()
730 String8 MockCryptoPlugin::subSamplesToString(SubSample const *subSamples, in subSamplesToString() argument
736 subSamples[i].mNumBytesOfClearData, in subSamplesToString()
737 subSamples[i].mNumBytesOfEncryptedData); in subSamplesToString()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp277 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer() argument
286 index, offset, subSamples, numSubSamples, key, iv, mode, in queueSecureInputBuffer()
1019 CryptoPlugin::SubSample *subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer() local
1036 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) { in android_media_MediaCodec_queueSecureInputBuffer()
1051 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer()
1054 subSamples[i].mNumBytesOfClearData = in android_media_MediaCodec_queueSecureInputBuffer()
1057 subSamples[i].mNumBytesOfEncryptedData = in android_media_MediaCodec_queueSecureInputBuffer()
1098 subSamples, numSubSamples, in android_media_MediaCodec_queueSecureInputBuffer()
1116 delete[] subSamples; in android_media_MediaCodec_queueSecureInputBuffer()
1117 subSamples = NULL; in android_media_MediaCodec_queueSecureInputBuffer()
Dandroid_media_MediaCodec.h72 const CryptoPlugin::SubSample *subSamples,
/frameworks/av/media/libstagefright/
DMediaCodec.cpp391 const CryptoPlugin::SubSample *subSamples, in queueSecureInputBuffer() argument
406 msg->setPointer("subSamples", (void *)subSamples); in queueSecureInputBuffer()
1843 const CryptoPlugin::SubSample *subSamples; in onQueueInputBuffer() local
1858 subSamples = &ss; in onQueueInputBuffer()
1868 CHECK(msg->findPointer("subSamples", (void **)&subSamples)); in onQueueInputBuffer()
1880 size += subSamples[i].mNumBytesOfClearData; in onQueueInputBuffer()
1881 size += subSamples[i].mNumBytesOfEncryptedData; in onQueueInputBuffer()
1925 subSamples, in onQueueInputBuffer()
/frameworks/av/include/media/stagefright/
DMediaCodec.h100 const CryptoPlugin::SubSample *subSamples,