Searched refs:numSubSamples (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp37 const SubSample* subSamples, size_t numSubSamples,
47 for (size_t i = 0; i < numSubSamples; ++i) {
68 numSubSamples, &bytesDecrypted);
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.cpp33 size_t numSubSamples,
45 for (size_t i = 0; i < numSubSamples; ++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.cpp67 size_t numSubSamples, size_t* bytesDecryptedOut) {
82 numSubSamples, bytesDecryptedOut);
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.h51 size_t numSubSamples, size_t* bytesDecryptedOut);
/frameworks/av/drm/libmediadrm/
H A DMediaCasDefs.cpp76 err = parcel->readUint32((uint32_t*)&numSubSamples);
80 if (numSubSamples > 0xffff) {
84 subSamples = new DescramblerPlugin::SubSample[numSubSamples];
89 for (size_t i = 0; i < numSubSamples; i++) {
142 err = parcel->writeUint32(numSubSamples);
147 for (size_t i = 0; i < numSubSamples; i++) {
H A DICrypto.cpp102 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
124 for (size_t i = 0; i < numSubSamples; ++i) {
134 data.writeInt32(numSubSamples);
135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples);
338 int32_t numSubSamples = data.readInt32(); local
339 if (numSubSamples < 0 || numSubSamples > 0xffff) {
345 new CryptoPlugin::SubSample[numSubSamples];
348 sizeof(CryptoPlugin::SubSample) * numSubSamples);
372 for (int32_t i = 0; i < numSubSamples;
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.cpp84 info.numSubSamples,
/frameworks/base/media/java/android/media/
H A DMediaDescrambler.java184 if (cryptoInfo.numSubSamples <= 0) {
186 "Invalid CryptoInfo: invalid numSubSamples=" + cryptoInfo.numSubSamples);
192 && cryptoInfo.numBytesOfClearData.length < cryptoInfo.numSubSamples) {
196 && cryptoInfo.numBytesOfEncryptedData.length < cryptoInfo.numSubSamples) {
207 cryptoInfo.numSubSamples,
240 byte key, int numSubSamples, int[] numBytesOfClearData, int[] numBytesOfEncryptedData,
239 native_descramble( byte key, int numSubSamples, int[] numBytesOfClearData, int[] numBytesOfEncryptedData, @NonNull ByteBuffer srcBuf, int srcOffset, int srcLimit, ByteBuffer dstBuf, int dstOffset, int dstLimit) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.cpp234 int numSubSamples,
243 sizeof(CryptoPlugin::SubSample) * numSubSamples;
249 ret->numSubSamples = numSubSamples;
258 for (int i = 0; i < numSubSamples; i++) {
282 size_t numSubSamples = cryptedsize / sizeof(size_t); local
284 if (numSubSamples <= 0) {
285 ALOGE("getSampleCryptoInfo INVALID numSubSamples: %zu", numSubSamples);
327 return makeCryptoInfo(numSubSamples,
233 makeCryptoInfo( int numSubSamples, uint8_t key[kBlockSize], uint8_t iv[kBlockSize], CryptoPlugin::Mode mode, size_t *clearbytes, size_t *encryptedbytes) argument
[all...]
H A DNuPlayerDrm.h96 int numSubSamples; member in struct:android::NuPlayerDrm::CryptoInfo
105 int numSubSamples,
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp129 size_t numSubSamples,
150 info.numSubSamples = numSubSamples;
192 static ssize_t getSubSampleInfo(JNIEnv *env, jint numSubSamples, argument
196 if (numSubSamples <= 0 || numSubSamples >=
201 ALOGE("numSubSamples is invalid!");
219 new(std::nothrow) DescramblerPlugin::SubSample[numSubSamples];
226 for (jint i = 0; i < numSubSamples; ++i) {
290 JNIEnv *env, jobject thiz, jbyte key, jint numSubSamples,
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
289 android_media_MediaDescrambler_native_descramble( JNIEnv *env, jobject thiz, jbyte key, jint numSubSamples, jintArray numBytesOfClearDataObj, jintArray numBytesOfEncryptedDataObj, jobject srcBuf, jint srcOffset, jint srcLimit, jobject dstBuf, jint dstOffset, jint dstLimit) argument
[all...]
H A Dandroid_media_MediaDescrambler.h42 size_t numSubSamples,
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.h114 size_t numSubSamples,
127 size_t numSubSamples) const;
H A DClearKeyCasPlugin.cpp344 size_t numSubSamples, const DescramblerPlugin::SubSample *subSamples,
367 for (size_t i = 0; i < numSubSamples; i++) {
433 size_t numSubSamples,
444 subSamplesToString(subSamples, numSubSamples).string(),
454 numSubSamples, subSamples,
473 SubSample const *subSamples, size_t numSubSamples) const
476 for (size_t i = 0; i < numSubSamples; i++) {
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
H A DClearKeySessionLibrary.h38 size_t numSubSamples,
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockCasPlugin.h107 size_t numSubSamples,
118 size_t numSubSamples) const;
H A DMockCasPlugin.cpp213 size_t numSubSamples,
223 subSamplesToString(subSamples, numSubSamples).string(),
242 SubSample const *subSamples, size_t numSubSamples) const
245 for (size_t i = 0; i < numSubSamples; i++) {
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
/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.h75 size_t numSubSamples; member in class:android::media::MediaDescrambler::DescrambleInfo
/frameworks/av/media/libmedia/include/media/
H A DCrypto.h55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/native/include/media/cas/
H A DDescramblerAPI.h86 size_t numSubSamples,
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h109 const SubSample *subSamples, size_t numSubSamples,

Completed in 253 milliseconds

123