Lines Matching refs:numsubsamples
745 int numsubsamples; member
763 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
764 for (int i = 0; i < crypto->numsubsamples; i++) { in AMediaCodec_queueSecureInputBuffer()
777 crypto->numsubsamples, in AMediaCodec_queueSecureInputBuffer()
812 int numsubsamples, in AMediaCodecCryptoInfo_new() argument
822 if (__builtin_mul_overflow(sizeof(size_t) * 2, numsubsamples, &cryptosize) || in AMediaCodecCryptoInfo_new()
832 ret->numsubsamples = numsubsamples; in AMediaCodecCryptoInfo_new()
841 ret->encryptedbytes = ret->clearbytes + numsubsamples; // point after the clear sizes in AMediaCodecCryptoInfo_new()
843 memcpy(ret->clearbytes, clearbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new()
844 memcpy(ret->encryptedbytes, encryptedbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new()
858 return ci->numsubsamples; in AMediaCodecCryptoInfo_getNumSubSamples()
901 memcpy(dst, ci->clearbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getClearBytes()
913 memcpy(dst, ci->encryptedbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getEncryptedBytes()