Lines Matching refs:meta

201     sp<MetaData> meta;  in AMediaExtractor_getSampleFlags()  local
202 status_t err = mData->mImpl->getSampleMeta(&meta); in AMediaExtractor_getSampleFlags()
207 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) { in AMediaExtractor_getSampleFlags()
214 if (meta->findData(kKeyEncryptedSizes, &type, &data, &size)) { in AMediaExtractor_getSampleFlags()
342 sp<MetaData> meta; in AMediaExtractor_getSampleCryptoInfo() local
343 if(ex->mImpl->getSampleMeta(&meta) != 0) { in AMediaExtractor_getSampleCryptoInfo()
350 if (!meta->findData(kKeyEncryptedSizes, &type, &crypteddata, &cryptedsize)) { in AMediaExtractor_getSampleCryptoInfo()
357 if (meta->findData(kKeyPlainSizes, &type, &cleardata, &clearsize)) { in AMediaExtractor_getSampleCryptoInfo()
366 if (meta->findData(kKeyCryptoKey, &type, &key, &keysize)) { in AMediaExtractor_getSampleCryptoInfo()
375 if (meta->findData(kKeyCryptoIV, &type, &iv, &ivsize)) { in AMediaExtractor_getSampleCryptoInfo()
383 if (!meta->findInt32(kKeyCryptoMode, &mode)) { in AMediaExtractor_getSampleCryptoInfo()
428 sp<AMessage> meta; in AMediaExtractor_getSampleFormat() local
429 AMediaFormat_getFormat(fmt, &meta); in AMediaExtractor_getSampleFormat()
430 meta->clear(); in AMediaExtractor_getSampleFormat()
434 meta->setInt32(AMEDIAFORMAT_KEY_TEMPORAL_LAYER_ID, layerId); in AMediaExtractor_getSampleFormat()
440 meta->setInt32(AMEDIAFORMAT_KEY_TRACK_INDEX, trackIndex); in AMediaExtractor_getSampleFormat()
447 meta->setString(AMEDIAFORMAT_KEY_MIME, mime); in AMediaExtractor_getSampleFormat()
453 meta->setInt64(AMEDIAFORMAT_KEY_DURATION, durationUs); in AMediaExtractor_getSampleFormat()
461 meta->setBuffer(AMEDIAFORMAT_KEY_SEI, sei); in AMediaExtractor_getSampleFormat()
469 meta->setBuffer(AMEDIAFORMAT_KEY_MPEG_USER_DATA, mpegUserData); in AMediaExtractor_getSampleFormat()
479 meta->setBuffer(AMEDIAFORMAT_KEY_AUDIO_PRESENTATION_INFO, audioPresentationsData); in AMediaExtractor_getSampleFormat()