Home
last modified time | relevance | path

Searched refs:numSubSamples (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libmedia/
DICrypto.cpp101 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
123 for (size_t i = 0; i < numSubSamples; ++i) { in decrypt()
131 data.writeInt32(numSubSamples); in decrypt()
132 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt()
251 int32_t numSubSamples = data.readInt32(); in onTransact() local
254 new CryptoPlugin::SubSample[numSubSamples]; in onTransact()
258 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact()
274 subSamples, numSubSamples, in onTransact()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DCryptoPlugin.cpp37 const SubSample* subSamples, size_t numSubSamples, in decrypt() argument
47 for (size_t i = 0; i < numSubSamples; ++i) { in decrypt()
68 numSubSamples, &bytesDecrypted); in decrypt()
DAesCtrDecryptor.cpp33 size_t numSubSamples, in decrypt() argument
45 for (size_t i = 0; i < numSubSamples; ++i) { in decrypt()
DSession.cpp67 size_t numSubSamples, size_t* bytesDecryptedOut) { in decrypt() argument
82 numSubSamples, bytesDecryptedOut); in decrypt()
DAesCtrDecryptor.h35 const SubSample* subSamples, size_t numSubSamples,
DCryptoPlugin.h45 const SubSample* subSamples, size_t numSubSamples,
DSession.h51 size_t numSubSamples, size_t* bytesDecryptedOut);
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DAesCtrDecryptorUnittest.cpp35 size_t numSubSamples, size_t* bytesDecryptedOut) { in attemptDecrypt() argument
41 numSubSamples, bytesDecryptedOut); in attemptDecrypt()
49 size_t numSubSamples) { in attemptDecryptExpectingSuccess() argument
53 subSamples, numSubSamples, in attemptDecryptExpectingSuccess()
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.cpp584 size_t numSubSamples = size / sizeof(int32_t); in android_media_MediaExtractor_getSampleCryptoInfo() local
586 if (numSubSamples == 0) { in android_media_MediaExtractor_getSampleCryptoInfo()
590 jintArray numBytesOfEncryptedDataObj = env->NewIntArray(numSubSamples); in android_media_MediaExtractor_getSampleCryptoInfo()
593 for (size_t i = 0; i < numSubSamples; ++i) { in android_media_MediaExtractor_getSampleCryptoInfo()
607 numBytesOfPlainDataObj = env->NewIntArray(numSubSamples); in android_media_MediaExtractor_getSampleCryptoInfo()
610 for (size_t i = 0; i < numSubSamples; ++i) { in android_media_MediaExtractor_getSampleCryptoInfo()
655 (jint)numSubSamples, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaCodec.cpp278 size_t numSubSamples, in queueSecureInputBuffer() argument
286 index, offset, subSamples, numSubSamples, key, iv, mode, in queueSecureInputBuffer()
998 jint numSubSamples = in android_media_MediaCodec_queueSecureInputBuffer() local
1023 if (numSubSamples <= 0) { in android_media_MediaCodec_queueSecureInputBuffer()
1029 && env->GetArrayLength(numBytesOfEncryptedDataObj) < numSubSamples) { in android_media_MediaCodec_queueSecureInputBuffer()
1032 && env->GetArrayLength(numBytesOfClearDataObj) < numSubSamples) { in android_media_MediaCodec_queueSecureInputBuffer()
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()
1053 for (jint i = 0; i < numSubSamples; ++i) { in android_media_MediaCodec_queueSecureInputBuffer()
1098 subSamples, numSubSamples, in android_media_MediaCodec_queueSecureInputBuffer()
Dandroid_media_MediaCodec.h73 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.h56 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/include/media/
DICrypto.h52 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.h164 const SubSample *subSamples, size_t numSubSamples,
167 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
DMockDrmCryptoPlugin.cpp731 size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) in decrypt() argument
739 subSamplesToString(subSamples, numSubSamples).string(), in decrypt()
756 size_t numSubSamples) const in subSamplesToString()
759 for (size_t i = 0; i < numSubSamples; i++) { in subSamplesToString()
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp315 size_t numSubSamples = cryptedsize / sizeof(size_t); in AMediaExtractor_getSampleCryptoInfo() local
350 numSubSamples, in AMediaExtractor_getSampleCryptoInfo()
/frameworks/base/media/java/android/media/
DMediaCodec.java868 numSubSamples = newNumSubSamples;
879 public int numSubSamples;
905 builder.append(numSubSamples + " subsamples, key [");
/frameworks/av/media/libstagefright/
DMediaCodec.cpp392 size_t numSubSamples, in queueSecureInputBuffer() argument
407 msg->setSize("numSubSamples", numSubSamples); in queueSecureInputBuffer()
1866 size_t numSubSamples; in onQueueInputBuffer() local
1881 numSubSamples = 1; in onQueueInputBuffer()
1891 CHECK(msg->findSize("numSubSamples", &numSubSamples)); in onQueueInputBuffer()
1901 for (size_t i = 0; i < numSubSamples; ++i) { in onQueueInputBuffer()
1948 numSubSamples, in onQueueInputBuffer()
/frameworks/av/include/media/stagefright/
DMediaCodec.h101 size_t numSubSamples,
/frameworks/base/api/
Dsystem-current.txt15592 field public int numSubSamples;
Dcurrent.txt14569 field public int numSubSamples;