Searched refs:mMeta (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp69 if (mMeta == NULL) {
70 mMeta = new AMessage;
72 return mMeta;
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp55 sp<MetaData> mMeta; member in class:android::AMRSource
128 mMeta = new MetaData;
129 mMeta->setCString(
133 mMeta->setInt32(kKeyChannelCount, 1);
134 mMeta->setInt32(kKeySampleRate, mIsWide ? 16000 : 8000);
158 mMeta->setInt64(kKeyDuration, duration);
188 return new AMRSource(mDataSource, mMeta, mIsWide,
197 return mMeta;
206 mMeta(meta),
247 return mMeta;
[all...]
H A DMP3Extractor.cpp232 sp<MetaData> mMeta; member in class:android::MP3Source
295 mMeta = new MetaData;
299 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I);
302 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II);
305 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG);
311 mMeta->setInt32(kKeySampleRate, sample_rate);
312 mMeta->setInt32(kKeyBitRate, bitrate * 1000);
313 mMeta->setInt32(kKeyChannelCount, num_channels);
324 mMeta->setInt32(kKeyEncoderDelay, encd);
325 mMeta
[all...]
H A DAACExtractor.cpp58 sp<MetaData> mMeta; member in class:android::AACSource
168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
189 mMeta->setInt64(kKeyDuration, duration);
219 return new AACSource(mDataSource, mMeta, mOffsetVector, mFrameDurationUs);
227 return mMeta;
240 mMeta(meta),
283 return mMeta;
H A DAVIExtractor.cpp113 CHECK(mTrack.mMeta->findCString(kKeyMIMEType, &mime));
136 return mTrack.mMeta;
390 return index < mTracks.size() ? mTracks.editItemAt(index).mMeta : NULL;
654 track->mMeta = meta;
701 track->mMeta->setInt32(kKeyWidth, width);
702 track->mMeta->setInt32(kKeyHeight, height);
707 track->mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG);
715 track->mMeta->setInt32(kKeyChannelCount, numChannels);
716 track->mMeta->setInt32(kKeySampleRate, sampleRate);
914 track->mMeta
[all...]
H A DCameraSource.cpp547 mMeta = new MetaData;
548 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
549 mMeta->setInt32(kKeyColorFormat, mColorFormat);
550 mMeta->setInt32(kKeyWidth, mVideoSize.width);
551 mMeta->setInt32(kKeyHeight, mVideoSize.height);
552 mMeta->setInt32(kKeyStride, mVideoSize.width);
553 mMeta->setInt32(kKeySliceHeight, mVideoSize.height);
554 mMeta->setInt32(kKeyFrameRate, mVideoFrameRate);
730 return mMeta;
H A DWAVExtractor.cpp77 sp<MetaData> mMeta; member in struct:android::WAVSource
324 mMeta(meta),
333 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate));
334 CHECK(mMeta->findInt32(kKeyChannelCount, &mNumChannels));
336 mMeta->setInt32(kKeyMaxInputSize, kMaxFrameSize);
381 return mMeta;
H A DOggExtractor.cpp113 sp<MetaData> mMeta; member in struct:android::MyVorbisExtractor
228 return mMeta;
585 mMeta = new MetaData;
586 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_VORBIS);
638 mMeta->setInt64(kKeyDuration, durationUs);
721 mMeta->setData(kKeyVorbisInfo, 0, data, size);
722 mMeta->setInt32(kKeySampleRate, mVi.rate);
723 mMeta->setInt32(kKeyChannelCount, mVi.channels);
734 mMeta->setInt64(kKeyDuration, size * 8000000ll / bps);
756 mMeta
[all...]
H A DMPEG4Writer.cpp202 sp<MetaData> mMeta; member in class:android::MPEG4Writer::Track
1235 mMeta(source->getFormat()),
1260 mMeta->findCString(kKeyMIMEType, &mime);
1339 bool success = mMeta->findInt32(kKeySampleRate, &sampleRate);
1346 if (mMeta->findInt32(kKeyTimeScale, &timeScale)) {
1355 CHECK(mMeta->findCString(kKeyMIMEType, &mime));
1361 if (mMeta->findData(kKeyAVCC, &type, &data, &size)) {
1372 if (mMeta->findData(kKeyESDS, &type, &data, &size)) {
2461 CHECK(mMeta->findCString(kKeyMIMEType, &mime));
2528 bool success = mMeta
[all...]
/frameworks/av/media/libstagefright/include/
H A DAACExtractor.h45 sp<MetaData> mMeta; member in class:android::AACExtractor
H A DAMRExtractor.h45 sp<MetaData> mMeta; member in class:android::AMRExtractor
H A DMP3Extractor.h47 sp<MetaData> mMeta; member in class:android::MP3Extractor
H A DM3UParser.h48 sp<AMessage> mMeta; member in struct:android::M3UParser::Item
58 sp<AMessage> mMeta; member in struct:android::M3UParser
H A DAACEncoder.h46 sp<MetaData> mMeta; member in class:android::AACEncoder
H A DAVIExtractor.h53 sp<MetaData> mMeta; member in struct:android::AVIExtractor::Track
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp35 mMeta(meta),
47 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate));
48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels));
50 CHECK(mMeta->findInt32(kKeyBitRate, &mBitRate));
203 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC);
207 mMeta->setInt64(kKeyDuration, durationUs);
210 mMeta->setCString(kKeyDecoderComponent, "AACEncoder");
212 return mMeta;
/frameworks/wilhelm/src/android/include/
H A DAacAdtsExtractor.h60 sp<MetaData> mMeta; member in class:android::AacAdtsSource
89 sp<MetaData> mMeta; member in class:android::AacAdtsExtractor
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
155 mMeta->setInt64(kKeyDuration, duration);
191 return new AacAdtsSource(mDataSource, mMeta, mFrameDurationUs);
200 return mMeta;
213 mMeta(meta),
254 return mMeta;
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h55 sp<AMessage> mMeta; member in struct:android::ABuffer
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.h60 sp<MetaData> mMeta; member in struct:android::MatroskaExtractor::TrackInfo
H A DMatroskaExtractor.cpp167 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta;
209 return mExtractor->mTracks.itemAt(mTrackIndex).mMeta;
712 return mTracks.itemAt(index).mMeta;
881 trackInfo->mMeta = meta;
890 CHECK(info->mMeta->findCString(kKeyMIMEType, &mime));
916 info->mMeta->setInt64(kKeyThumbnailTime, thumbnailTimeUs);
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp59 return mMeta;
84 *meta = mItems.itemAt(index).mMeta;
190 err = parseMetaData(line, &mMeta, "target-duration");
195 err = parseMetaData(line, &mMeta, "media-sequence");
217 if (mMeta != NULL) {
261 item->mMeta = itemMeta;
/frameworks/av/include/media/stagefright/
H A DCameraSource.h149 sp<MetaData> mMeta; member in class:android::CameraSource

Completed in 200 milliseconds