Searched defs:numSubSamples (Results 1 - 12 of 12) sorted by relevance

/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 void* srcPtr, const SubSample* subSamples, size_t numSubSamples, void* dstPtr, AString* errorDetailMsg) argument
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
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DAesCtrDecryptorUnittest.cpp35 size_t numSubSamples, size_t* bytesDecryptedOut) {
41 numSubSamples, bytesDecryptedOut);
49 size_t numSubSamples) {
53 subSamples, numSubSamples,
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
/frameworks/av/media/libmedia/
H A DICrypto.cpp101 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
123 for (size_t i = 0; i < numSubSamples; ++i) {
131 data.writeInt32(numSubSamples);
132 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples);
251 int32_t numSubSamples = data.readInt32(); local
254 new CryptoPlugin::SubSample[numSubSamples];
258 sizeof(CryptoPlugin::SubSample) * numSubSamples);
274 subSamples, numSubSamples,
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/media/ndk/
H A DNdkMediaExtractor.cpp315 size_t numSubSamples = cryptedsize / sizeof(size_t); local
350 numSubSamples,
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp731 size_t numSubSamples, void *dstPtr, AString *errorDetailMsg)
739 subSamplesToString(subSamples, numSubSamples).string(),
756 size_t numSubSamples) const
759 for (size_t i = 0; i < numSubSamples; i++) {
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/libstagefright/
H A DMediaCodec.cpp392 size_t numSubSamples,
407 msg->setSize("numSubSamples", numSubSamples);
1866 size_t numSubSamples; local
1881 numSubSamples = 1;
1891 CHECK(msg->findSize("numSubSamples", &numSubSamples));
1901 for (size_t i = 0; i < numSubSamples; ++i) {
1948 numSubSamples,
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
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp584 size_t numSubSamples = size / sizeof(int32_t); local
586 if (numSubSamples == 0) {
590 jintArray numBytesOfEncryptedDataObj = env->NewIntArray(numSubSamples);
593 for (size_t i = 0; i < numSubSamples; ++i) {
607 numBytesOfPlainDataObj = env->NewIntArray(numSubSamples);
610 for (size_t i = 0; i < numSubSamples; ++i) {
655 (jint)numSubSamples,
H A Dandroid_media_MediaCodec.cpp278 size_t numSubSamples,
286 index, offset, subSamples, numSubSamples, key, iv, mode,
998 jint numSubSamples = local
1023 if (numSubSamples <= 0) {
1029 && env->GetArrayLength(numBytesOfEncryptedDataObj) < numSubSamples) {
1032 && env->GetArrayLength(numBytesOfClearDataObj) < numSubSamples) {
1036 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) {
1051 subSamples = new CryptoPlugin::SubSample[numSubSamples];
1053 for (jint i = 0; i < numSubSamples; ++i) {
1098 subSamples, numSubSamples,
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...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java868 numSubSamples = newNumSubSamples;
879 public int numSubSamples; field in class:MediaCodec.CryptoInfo
905 builder.append(numSubSamples + " subsamples, key [");

Completed in 238 milliseconds