/cts/tests/tests/media/libmediandkjni/ |
native-media-jni.cpp | 619 size_t numsubsamples = 4; local 626 AMediaCodecCryptoInfo_new(numsubsamples, key, iv, AMEDIACODECRYPTOINFO_MODE_CLEAR, clearbytes, encryptedbytes); 629 ALOGE("numsubsamples mismatch"); 647 size_t sizes[numsubsamples]; 649 if (memcmp(clearbytes, sizes, sizeof(size_t) * numsubsamples)) { 654 if (memcmp(encryptedbytes, sizes, sizeof(size_t) * numsubsamples)) {
|
/frameworks/av/media/ndk/ |
NdkMediaCodec.cpp | 385 int numsubsamples; member in struct:AMediaCodecCryptoInfo 403 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; 404 for (int i = 0; i < crypto->numsubsamples; i++) { 417 crypto->numsubsamples, 442 int numsubsamples, 450 size_t cryptosize = sizeof(AMediaCodecCryptoInfo) + sizeof(size_t) * numsubsamples * 2; 456 ret->numsubsamples = numsubsamples; 465 ret->encryptedbytes = ret->clearbytes + numsubsamples; // point after the clear sizes 467 memcpy(ret->clearbytes, clearbytes, numsubsamples * sizeof(size_t)) [all...] |
/frameworks/av/media/libstagefright/ |
MPEG4Extractor.cpp | 3965 uint16_t numsubsamples; local [all...] |