Home
last modified time | relevance | path

Searched refs:bufmeta (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp208 MetaDataBase &bufmeta = mediaBuffer->meta_data(); in read() local
210 bufmeta.setInt64(kKeyTime, timeUs); in read()
214 bufmeta.setInt32(kKeyIsSyncFrame, isSync); in read()
219 bufmeta.setData(kKeySEI, 0, sei->data(), sei->size()); in read()
224 bufmeta.setData( in read()
230 bufmeta.setData( in read()
248 bufmeta.setInt32(kKeyCryptoMode, cryptoMode); in read()
251 bufmeta.setData(kKeyCryptoIV, 0, array, 16); in read()
259 bufmeta.setData(kKeyCryptoKey, 0, array, 16); in read()
261 bufmeta.setData(kKeyPlainSizes, 0, in read()
[all …]
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp6719 AMediaFormat *bufmeta = mBuffer->meta_data(); in fragmentedRead() local
6720 AMediaFormat_clear(bufmeta); in fragmentedRead()
6723 AMediaFormat_setBuffer(bufmeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in fragmentedRead()
6725 AMediaFormat_setBuffer(bufmeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, in fragmentedRead()
6727 AMediaFormat_setInt32(bufmeta, AMEDIAFORMAT_KEY_CRYPTO_DEFAULT_IV_SIZE, mDefaultIVSize); in fragmentedRead()
6728 AMediaFormat_setInt32(bufmeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, mCryptoMode); in fragmentedRead()
6729 AMediaFormat_setBuffer(bufmeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, mCryptoKey, 16); in fragmentedRead()
6730 AMediaFormat_setInt32(bufmeta, in fragmentedRead()
6732 AMediaFormat_setInt32(bufmeta, in fragmentedRead()
6742 AMediaFormat_setBuffer(bufmeta, AMEDIAFORMAT_KEY_CRYPTO_IV, iv, ivlength); in fragmentedRead()
[all …]