Lines Matching refs:crypto
411 AMediaCrypto *crypto, in AMediaCodec_configure() argument
422 crypto ? crypto->mCrypto : NULL, flags); in AMediaCodec_configure()
759 AMediaCodecCryptoInfo* crypto, in AMediaCodec_queueSecureInputBuffer() argument
763 CryptoPlugin::SubSample *subSamples = new CryptoPlugin::SubSample[crypto->numsubsamples]; in AMediaCodec_queueSecureInputBuffer()
764 for (int i = 0; i < crypto->numsubsamples; i++) { in AMediaCodec_queueSecureInputBuffer()
765 subSamples[i].mNumBytesOfClearData = crypto->clearbytes[i]; in AMediaCodec_queueSecureInputBuffer()
766 subSamples[i].mNumBytesOfEncryptedData = crypto->encryptedbytes[i]; in AMediaCodec_queueSecureInputBuffer()
770 pattern.mEncryptBlocks = crypto->pattern.encryptBlocks; in AMediaCodec_queueSecureInputBuffer()
771 pattern.mSkipBlocks = crypto->pattern.skipBlocks; in AMediaCodec_queueSecureInputBuffer()
777 crypto->numsubsamples, in AMediaCodec_queueSecureInputBuffer()
778 crypto->key, in AMediaCodec_queueSecureInputBuffer()
779 crypto->iv, in AMediaCodec_queueSecureInputBuffer()
780 (CryptoPlugin::Mode)crypto->mode, in AMediaCodec_queueSecureInputBuffer()