Lines Matching refs:numsubsamples
362 int numsubsamples; member
379 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
380 for (int i = 0; i < crypto->numsubsamples; i++) { in AMediaCodec_queueSecureInputBuffer()
389 crypto->numsubsamples, in AMediaCodec_queueSecureInputBuffer()
407 int numsubsamples, in AMediaCodecCryptoInfo_new() argument
415 size_t cryptosize = sizeof(AMediaCodecCryptoInfo) + sizeof(size_t) * numsubsamples * 2; in AMediaCodecCryptoInfo_new()
421 ret->numsubsamples = numsubsamples; in AMediaCodecCryptoInfo_new()
428 ret->encryptedbytes = ret->clearbytes + numsubsamples; // point after the clear sizes in AMediaCodecCryptoInfo_new()
430 memcpy(ret->clearbytes, clearbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new()
431 memcpy(ret->encryptedbytes, encryptedbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new()
445 return ci->numsubsamples; in AMediaCodecCryptoInfo_getNumSubSamples()
488 memcpy(dst, ci->clearbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getClearBytes()
500 memcpy(dst, ci->encryptedbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getEncryptedBytes()