/frameworks/av/media/libstagefright/ |
D | MP3Extractor.cpp | 232 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 …]
|
D | AMRExtractor.cpp | 55 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()
|
D | AACExtractor.cpp | 58 sp<MetaData> mMeta; member in android::AACSource 168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel); in AACExtractor() 189 mMeta->setInt64(kKeyDuration, duration); in AACExtractor() 219 return new AACSource(mDataSource, mMeta, mOffsetVector, mFrameDurationUs); in getTrack() 227 return mMeta; in getTrackMetaData() 240 mMeta(meta), in AACSource() 283 return mMeta; in getFormat()
|
D | AVIExtractor.cpp | 113 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 …]
|
D | OggExtractor.cpp | 127 sp<MetaData> mMeta; member 325 return mMeta; in getFormat() 814 mMeta = new MetaData; in init() 815 mMeta->setCString(kKeyMIMEType, mMimeType); in init() 848 mMeta->setInt64(kKeyDuration, durationUs); in init() 964 mMeta->setData(kKeyOpusHeader, 0, data, size); in verifyOpusHeader() 965 mMeta->setInt32(kKeySampleRate, kOpusSampleRate); in verifyOpusHeader() 966 mMeta->setInt32(kKeyChannelCount, mChannelCount); in verifyOpusHeader() 967 mMeta->setInt64(kKeyOpusSeekPreRoll /* ns */, kOpusSeekPreRollUs * 1000 /* = 80 ms*/); in verifyOpusHeader() 968 mMeta->setInt64(kKeyOpusCodecDelay /* ns */, in verifyOpusHeader() [all …]
|
D | WAVExtractor.cpp | 80 sp<MetaData> mMeta; member 354 mMeta(meta), in WAVSource() 363 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate)); in WAVSource() 364 CHECK(mMeta->findInt32(kKeyChannelCount, &mNumChannels)); in WAVSource() 366 mMeta->setInt32(kKeyMaxInputSize, kMaxFrameSize); in WAVSource() 411 return mMeta; in getFormat()
|
D | MPEG4Writer.cpp | 244 sp<MetaData> mMeta; member in android::MPEG4Writer::Track 1467 mMeta(source->getFormat()), in Track() 1492 mMeta->findCString(kKeyMIMEType, &mime); in Track() 1572 bool success = mMeta->findInt32(kKeySampleRate, &sampleRate); in setTimeScale() 1579 if (mMeta->findInt32(kKeyTimeScale, &timeScale)) { in setTimeScale() 1588 CHECK(mMeta->findCString(kKeyMIMEType, &mime)); in getCodecSpecificDataFromInputFormatIfPossible() 1594 mMeta->findData(kKeyAVCC, &type, &data, &size); in getCodecSpecificDataFromInputFormatIfPossible() 1596 mMeta->findData(kKeyHVCC, &type, &data, &size); in getCodecSpecificDataFromInputFormatIfPossible() 1599 if (mMeta->findData(kKeyESDS, &type, &data, &size)) { in getCodecSpecificDataFromInputFormatIfPossible() 2349 mMeta = mSource->getFormat(); // get output format after format change in threadEntry() [all …]
|
D | CameraSource.cpp | 672 mMeta = new MetaData; in initWithCameraAccess() 673 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in initWithCameraAccess() 674 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess() 675 mMeta->setInt32(kKeyWidth, mVideoSize.width); in initWithCameraAccess() 676 mMeta->setInt32(kKeyHeight, mVideoSize.height); in initWithCameraAccess() 677 mMeta->setInt32(kKeyStride, mVideoSize.width); in initWithCameraAccess() 678 mMeta->setInt32(kKeySliceHeight, mVideoSize.height); in initWithCameraAccess() 679 mMeta->setInt32(kKeyFrameRate, mVideoFrameRate); in initWithCameraAccess() 980 return mMeta; in getFormat()
|
D | MediaCodecSource.cpp | 362 Mutexed<sp<MetaData>>::Locked meta(mMeta); in getFormat() 400 mMeta(new MetaData), in MediaCodecSource() 499 mMeta.lock().set(meta); in initEncoder() 798 mMeta.lock().set(meta); in onMessageReceived()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | AACEncoder.cpp | 35 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/ |
D | AacAdtsExtractor.cpp | 126 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/libstagefright/foundation/ |
D | ABuffer.cpp | 82 if (mMeta == NULL) { in meta() 83 mMeta = new AMessage; in meta() 85 return mMeta; in meta()
|
/frameworks/wilhelm/src/android/include/ |
D | AacAdtsExtractor.h | 60 sp<MetaData> mMeta; variable 89 sp<MetaData> mMeta; variable
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 303 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 …]
|
D | M3UParser.h | 66 sp<AMessage> mMeta; member 82 sp<AMessage> mMeta; member
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 221 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta; in MatroskaSource() 272 return mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in getFormat() 566 sp<MetaData> trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo() 886 return mTracks.itemAt(index).mMeta; in getTrackMetaData() 1058 trackInfo->mMeta = avcMeta; in synthesizeAVCC() 1292 trackInfo->mMeta = meta; in addTracks() 1322 CHECK(info->mMeta->findCString(kKeyMIMEType, &mime)); in findThumbnails() 1348 info->mMeta->setInt64(kKeyThumbnailTime, thumbnailTimeUs); in findThumbnails()
|
D | MatroskaExtractor.h | 62 sp<MetaData> mMeta; member
|
/frameworks/av/media/libstagefright/include/ |
D | AMRExtractor.h | 46 sp<MetaData> mMeta; variable
|
D | AACExtractor.h | 46 sp<MetaData> mMeta; variable
|
D | MP3Extractor.h | 48 sp<MetaData> mMeta; variable
|
D | AACEncoder.h | 46 sp<MetaData> mMeta; variable
|
D | AVIExtractor.h | 54 sp<MetaData> mMeta; member
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ABuffer.h | 59 sp<AMessage> mMeta;
|
/frameworks/av/include/media/stagefright/ |
D | Utils.h | 76 sp<AMessage> mMeta; member
|
D | MediaCodecSource.h | 107 Mutexed<sp<MetaData>> mMeta; member
|