Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DICrypto.cpp103 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt()
125 for (size_t i = 0; i < numSubSamples; ++i) { in decrypt()
134 data.writeInt32(numSubSamples); in decrypt()
135 data.write(subSamples, sizeof(CryptoPlugin::SubSample) * numSubSamples); in decrypt()
287 int32_t numSubSamples = data.readInt32(); in onTransact() local
290 new CryptoPlugin::SubSample[numSubSamples]; in onTransact()
294 sizeof(CryptoPlugin::SubSample) * numSubSamples); in onTransact()
315 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.h48 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.cpp517 size_t numSubSamples = size / sizeof(int32_t); in android_media_MediaExtractor_getSampleCryptoInfo() local
519 if (numSubSamples == 0) { in android_media_MediaExtractor_getSampleCryptoInfo()
523 jintArray numBytesOfEncryptedDataObj = env->NewIntArray(numSubSamples); in android_media_MediaExtractor_getSampleCryptoInfo()
526 for (size_t i = 0; i < numSubSamples; ++i) { in android_media_MediaExtractor_getSampleCryptoInfo()
540 numBytesOfPlainDataObj = env->NewIntArray(numSubSamples); in android_media_MediaExtractor_getSampleCryptoInfo()
543 for (size_t i = 0; i < numSubSamples; ++i) { in android_media_MediaExtractor_getSampleCryptoInfo()
588 (jint)numSubSamples, in android_media_MediaExtractor_getSampleCryptoInfo()
Dandroid_media_MediaCodec.cpp324 size_t numSubSamples, in queueSecureInputBuffer() argument
332 index, offset, subSamples, numSubSamples, key, iv, mode, in queueSecureInputBuffer()
1248 jint numSubSamples = in android_media_MediaCodec_queueSecureInputBuffer() local
1273 if (numSubSamples <= 0) { in android_media_MediaCodec_queueSecureInputBuffer()
1279 && env->GetArrayLength(numBytesOfEncryptedDataObj) < numSubSamples) { in android_media_MediaCodec_queueSecureInputBuffer()
1282 && env->GetArrayLength(numBytesOfClearDataObj) < numSubSamples) { in android_media_MediaCodec_queueSecureInputBuffer()
1286 } else if ( CC_UNLIKELY(numSubSamples >= (signed)(INT32_MAX / sizeof(*subSamples))) ) { in android_media_MediaCodec_queueSecureInputBuffer()
1301 subSamples = new CryptoPlugin::SubSample[numSubSamples]; in android_media_MediaCodec_queueSecureInputBuffer()
1303 for (jint i = 0; i < numSubSamples; ++i) { in android_media_MediaCodec_queueSecureInputBuffer()
1348 subSamples, numSubSamples, in android_media_MediaCodec_queueSecureInputBuffer()
Dandroid_media_MediaCodec.h80 size_t numSubSamples,
/frameworks/av/media/libmediaplayerservice/
DCrypto.cpp243 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in decrypt() argument
259 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
DCrypto.h58 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h165 const SubSample *subSamples, size_t numSubSamples,
168 … String8 subSamplesToString(CryptoPlugin::SubSample const *subSamples, size_t numSubSamples) const;
DMockDrmCryptoPlugin.cpp802 size_t numSubSamples, void *dstPtr, AString * /* errorDetailMsg */) in decrypt() argument
810 subSamplesToString(subSamples, numSubSamples).string(), in decrypt()
827 size_t numSubSamples) const in subSamplesToString()
830 for (size_t i = 0; i < numSubSamples; i++) { in subSamplesToString()
/frameworks/native/include/media/hardware/
DCryptoAPI.h100 const SubSample *subSamples, size_t numSubSamples,
/frameworks/av/include/media/
DICrypto.h55 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples,
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp316 size_t numSubSamples = cryptedsize / sizeof(size_t); in AMediaExtractor_getSampleCryptoInfo() local
351 numSubSamples, in AMediaExtractor_getSampleCryptoInfo()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp651 size_t numSubSamples, in queueSecureInputBuffer() argument
666 msg->setSize("numSubSamples", numSubSamples); in queueSecureInputBuffer()
2304 size_t numSubSamples; in onQueueInputBuffer() local
2319 numSubSamples = 1; in onQueueInputBuffer()
2329 CHECK(msg->findSize("numSubSamples", &numSubSamples)); in onQueueInputBuffer()
2339 for (size_t i = 0; i < numSubSamples; ++i) { in onQueueInputBuffer()
2387 numSubSamples, in onQueueInputBuffer()
/frameworks/base/media/java/android/media/
DMediaCodec.java2202 numSubSamples = newNumSubSamples;
2213 public int numSubSamples;
2239 builder.append(numSubSamples + " subsamples, key [");
/frameworks/av/include/media/stagefright/
DMediaCodec.h118 size_t numSubSamples,
/frameworks/base/api/
Dcurrent.txt15442 field public int numSubSamples;
Dsystem-current.txt16707 field public int numSubSamples;