Lines Matching refs:numsubsamples
739 int numsubsamples; member
757 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
758 for (int i = 0; i < crypto->numsubsamples; i++) { in AMediaCodec_queueSecureInputBuffer()
771 crypto->numsubsamples, in AMediaCodec_queueSecureInputBuffer()
806 int numsubsamples, in AMediaCodecCryptoInfo_new() argument
816 if (__builtin_mul_overflow(sizeof(size_t) * 2, numsubsamples, &cryptosize) || in AMediaCodecCryptoInfo_new()
826 ret->numsubsamples = numsubsamples; in AMediaCodecCryptoInfo_new()
835 ret->encryptedbytes = ret->clearbytes + numsubsamples; // point after the clear sizes in AMediaCodecCryptoInfo_new()
837 memcpy(ret->clearbytes, clearbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new()
838 memcpy(ret->encryptedbytes, encryptedbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new()
852 return ci->numsubsamples; in AMediaCodecCryptoInfo_getNumSubSamples()
895 memcpy(dst, ci->clearbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getClearBytes()
907 memcpy(dst, ci->encryptedbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getEncryptedBytes()