Home
last modified time | relevance | path

Searched refs:mMeta (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/av/media/libstagefright/
DMP3Extractor.cpp232 sp<MetaData> mMeta; member in android::MP3Source
286 mMeta = new MetaData; in MP3Extractor()
296 mMeta->setInt32(kKeyEncoderDelay, encd); in MP3Extractor()
297 mMeta->setInt32(kKeyEncoderPadding, encp); in MP3Extractor()
333 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I); in MP3Extractor()
336 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II); in MP3Extractor()
339 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG); in MP3Extractor()
345 mMeta->setInt32(kKeySampleRate, sample_rate); in MP3Extractor()
346 mMeta->setInt32(kKeyBitRate, bitrate * 1000); in MP3Extractor()
347 mMeta->setInt32(kKeyChannelCount, num_channels); in MP3Extractor()
[all …]
DAMRExtractor.cpp55 sp<MetaData> mMeta; member in android::AMRSource
131 mMeta = new MetaData; in AMRExtractor()
132 mMeta->setCString( in AMRExtractor()
136 mMeta->setInt32(kKeyChannelCount, 1); in AMRExtractor()
137 mMeta->setInt32(kKeySampleRate, mIsWide ? 16000 : 8000); in AMRExtractor()
164 mMeta->setInt64(kKeyDuration, duration); in AMRExtractor()
194 return new AMRSource(mDataSource, mMeta, mIsWide, in getTrack()
203 return mMeta; in getTrackMetaData()
212 mMeta(meta), in AMRSource()
253 return mMeta; in getFormat()
DAACExtractor.cpp58 sp<MetaData> mMeta; member in android::AACSource
168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel); in AACExtractor()
191 mMeta->setInt64(kKeyDuration, duration); in AACExtractor()
221 return new AACSource(mDataSource, mMeta, mOffsetVector, mFrameDurationUs); in getTrack()
229 return mMeta; in getTrackMetaData()
242 mMeta(meta), in AACSource()
285 return mMeta; in getFormat()
DAVIExtractor.cpp113 CHECK(mTrack.mMeta->findCString(kKeyMIMEType, &mime)); in start()
136 return mTrack.mMeta; in getFormat()
390 return index < mTracks.size() ? mTracks.editItemAt(index).mMeta : NULL; in getTrackMetaData()
654 track->mMeta = meta; in parseStreamHeader()
701 track->mMeta->setInt32(kKeyWidth, width); in parseStreamFormat()
702 track->mMeta->setInt32(kKeyHeight, height); in parseStreamFormat()
707 track->mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG); in parseStreamFormat()
715 track->mMeta->setInt32(kKeyChannelCount, numChannels); in parseStreamFormat()
716 track->mMeta->setInt32(kKeySampleRate, sampleRate); in parseStreamFormat()
914 track->mMeta->setInt64(kKeyDuration, durationUs); in parseIndex()
[all …]
DOggExtractor.cpp127 sp<MetaData> mMeta; member
325 return mMeta; in getFormat()
828 mMeta = new MetaData; in init()
829 mMeta->setCString(kKeyMIMEType, mMimeType); in init()
862 mMeta->setInt64(kKeyDuration, durationUs); in init()
978 mMeta->setData(kKeyOpusHeader, 0, data, size); in verifyOpusHeader()
979 mMeta->setInt32(kKeySampleRate, kOpusSampleRate); in verifyOpusHeader()
980 mMeta->setInt32(kKeyChannelCount, mChannelCount); in verifyOpusHeader()
981 mMeta->setInt64(kKeyOpusSeekPreRoll /* ns */, kOpusSeekPreRollUs * 1000 /* = 80 ms*/); in verifyOpusHeader()
982 mMeta->setInt64(kKeyOpusCodecDelay /* ns */, in verifyOpusHeader()
[all …]
DWAVExtractor.cpp82 sp<MetaData> mMeta; member
357 mMeta(meta), in WAVSource()
366 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate)); in WAVSource()
367 CHECK(mMeta->findInt32(kKeyChannelCount, &mNumChannels)); in WAVSource()
369 mMeta->setInt32(kKeyMaxInputSize, kMaxFrameSize); in WAVSource()
414 return mMeta; in getFormat()
DMPEG4Writer.cpp272 sp<MetaData> mMeta; member in android::MPEG4Writer::Track
1609 mMeta(source->getFormat()), in Track()
1636 mMeta->findCString(kKeyMIMEType, &mime); in Track()
1647 if (mMeta->findInt32(kKeyTemporalLayerCount, &count) && count > 1) { in Track()
1787 bool success = mMeta->findInt32(kKeySampleRate, &sampleRate); in setTimeScale()
1794 if (mMeta->findInt32(kKeyTimeScale, &timeScale)) { in setTimeScale()
1824 CHECK(mMeta->findCString(kKeyMIMEType, &mime)); in getCodecSpecificDataFromInputFormatIfPossible()
1830 mMeta->findData(kKeyAVCC, &type, &data, &size); in getCodecSpecificDataFromInputFormatIfPossible()
1832 mMeta->findData(kKeyHVCC, &type, &data, &size); in getCodecSpecificDataFromInputFormatIfPossible()
1835 if (mMeta->findData(kKeyESDS, &type, &data, &size)) { in getCodecSpecificDataFromInputFormatIfPossible()
[all …]
DCameraSource.cpp695 mMeta = new MetaData; in initWithCameraAccess()
696 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in initWithCameraAccess()
697 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess()
698 mMeta->setInt32(kKeyWidth, mVideoSize.width); in initWithCameraAccess()
699 mMeta->setInt32(kKeyHeight, mVideoSize.height); in initWithCameraAccess()
700 mMeta->setInt32(kKeyStride, mVideoSize.width); in initWithCameraAccess()
701 mMeta->setInt32(kKeySliceHeight, mVideoSize.height); in initWithCameraAccess()
702 mMeta->setInt32(kKeyFrameRate, mVideoFrameRate); in initWithCameraAccess()
1026 return mMeta; in getFormat()
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp35 mMeta(meta), in AACEncoder()
47 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate)); in initCheck()
48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); in initCheck()
50 CHECK(mMeta->findInt32(kKeyBitRate, &mBitRate)); in initCheck()
203 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in getFormat()
207 mMeta->setInt64(kKeyDuration, durationUs); in getFormat()
210 mMeta->setCString(kKeyDecoderComponent, "AACEncoder"); in getFormat()
212 return mMeta; in getFormat()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel); in AacAdtsExtractor()
155 mMeta->setInt64(kKeyDuration, duration); in AacAdtsExtractor()
191 return new AacAdtsSource(mDataSource, mMeta, mFrameDurationUs); in getTrack()
200 return mMeta; in getTrackMetaData()
213 mMeta(meta), in AacAdtsSource()
254 return mMeta; in getFormat()
/frameworks/av/media/libmedia/
DMediaCodecBuffer.cpp29 : mMeta(new AMessage), in MediaCodecBuffer()
76 return mMeta; in meta()
84 mMeta->clear(); in setFormat()
/frameworks/av/media/libstagefright/foundation/
DABuffer.cpp82 if (mMeta == NULL) { in meta()
83 mMeta = new AMessage; in meta()
85 return mMeta; in meta()
/frameworks/wilhelm/src/android/include/
DAacAdtsExtractor.h60 sp<MetaData> mMeta; variable
89 sp<MetaData> mMeta; variable
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp303 return mMeta; in meta()
328 *meta = mItems.itemAt(index).mMeta; in itemAt()
425 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI()
586 err = parseMetaData(line, &mMeta, "target-duration"); in parse()
591 err = parseMetaData(line, &mMeta, "media-sequence"); in parse()
628 if (mMeta != NULL) { in parse()
676 item->mMeta = itemMeta; in parse()
690 if (mMeta == NULL || !mMeta->findInt32( in parse()
698 if (mMeta != NULL) { in parse()
699 mMeta->findInt32("media-sequence", &mFirstSeqNumber); in parse()
[all …]
DM3UParser.h66 sp<AMessage> mMeta; member
82 sp<AMessage> mMeta; member
/frameworks/av/media/libmedia/include/media/
DMediaCodecBuffer.h66 const sp<AMessage> mMeta; variable
/frameworks/av/include/media/
DMediaCodecBuffer.h66 const sp<AMessage> mMeta; variable
/frameworks/av/media/libstagefright/include/
DAMRExtractor.h46 sp<MetaData> mMeta; variable
DAACExtractor.h46 sp<MetaData> mMeta; variable
DMP3Extractor.h48 sp<MetaData> mMeta; variable
DAACEncoder.h46 sp<MetaData> mMeta; variable
DUtils.h77 sp<AMessage> mMeta; member
/frameworks/av/media/libstagefright/include/foundation/
DABuffer.h59 sp<AMessage> mMeta;
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp221 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; in MatroskaSource()
272 return mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in getFormat()
576 sp<MetaData> trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo()
907 return mTracks.itemAt(index).mMeta; in getTrackMetaData()
1079 trackInfo->mMeta = avcMeta; in synthesizeAVCC()
1191 trackInfo->mMeta = meta; in initTrackInfo()
1202 trackInfo->mMeta->setData(kKeyCryptoKey, 0, encryption->key_id, encryption->key_id_len); in initTrackInfo()
1408 CHECK(info->mMeta->findCString(kKeyMIMEType, &mime)); in findThumbnails()
1434 info->mMeta->setInt64(kKeyThumbnailTime, thumbnailTimeUs); in findThumbnails()
DMatroskaExtractor.h62 sp<MetaData> mMeta; member

12