/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 54 AMediaFormat *mMeta; member in android::AMRSource 147 mMeta(NULL), in AMRExtractor() 155 mMeta = AMediaFormat_new(); in AMRExtractor() 156 AMediaFormat_setString(mMeta, AMEDIAFORMAT_KEY_MIME, in AMRExtractor() 159 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, 1); in AMRExtractor() 160 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor() 187 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AMRExtractor() 195 if (mMeta) { in ~AMRExtractor() 196 AMediaFormat_delete(mMeta); in ~AMRExtractor() 220 return new AMRSource(mDataSource, mMeta, mIsWide, in getTrack() [all …]
|
D | AMRExtractor.h | 48 AMediaFormat *mMeta; variable
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 56 AMediaFormat *mMeta; member in android::AACSource 135 mMeta(nullptr), in AACExtractor() 152 mMeta = AMediaFormat_new(); in AACExtractor() 153 MakeAACCodecSpecificData(mMeta, profile, sf_index, channel); in AACExtractor() 154 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_AAC_PROFILE, profile + 1); in AACExtractor() 177 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AACExtractor() 184 if (mMeta != nullptr) { in ~AACExtractor() 185 AMediaFormat_delete(mMeta); in ~AACExtractor() 207 return new AACSource(mDataSource, mMeta, mOffsetVector, mFrameDurationUs); in getTrack() 215 return AMediaFormat_copy(meta, mMeta); in getTrackMetaData() [all …]
|
D | AACExtractor.h | 48 AMediaFormat *mMeta; variable
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 230 AMediaFormat *mMeta; member in android::MP3Source 285 mMeta = AMediaFormat_new(); in MP3Extractor() 293 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_DELAY, encd); in MP3Extractor() 294 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_PADDING, encp); in MP3Extractor() 330 AMediaFormat_setString(mMeta, in MP3Extractor() 334 AMediaFormat_setString(mMeta, in MP3Extractor() 338 AMediaFormat_setString(mMeta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_MPEG); in MP3Extractor() 344 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in MP3Extractor() 345 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, bitrate * 1000); in MP3Extractor() 346 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in MP3Extractor() [all …]
|
D | MP3Extractor.h | 52 AMediaFormat *mMeta; variable
|
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 96 mMeta(new MetaData), in AacAdtsExtractor() 128 MakeAACCodecSpecificData(*mMeta, profile, sf_index, channel); in AacAdtsExtractor() 158 mMeta->setInt64(kKeyDuration, duration); in AacAdtsExtractor() 175 return new AacAdtsSource(mDataSource, mMeta, mFrameDurationUs); in getTrack() 188 mMeta(meta), in AacAdtsSource() 229 return mMeta; in getFormat()
|
/frameworks/av/media/libmedia/ |
D | MediaCodecBuffer.cpp | 28 : mMeta(new AMessage), in MediaCodecBuffer() 60 return mMeta; in meta() 68 mMeta->clear(); in setFormat()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 77 if (mMeta == NULL) { in meta() 78 mMeta = new AMessage; in meta() 80 return mMeta; in meta()
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 133 AMediaFormat *mMeta; member 330 mMeta = AMediaFormat_new(); in MyOggExtractor() 336 AMediaFormat_delete(mMeta); in ~MyOggExtractor() 342 return AMediaFormat_copy(meta, mMeta); in getFormat() 924 AMediaFormat_setString(mMeta, AMEDIAFORMAT_KEY_MIME, mMimeType); in init() 957 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in init() 1074 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_0, data, size); in verifyOpusHeader() 1075 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, kOpusSampleRate); in verifyOpusHeader() 1076 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mChannelCount); in verifyOpusHeader() 1078 AMediaFormat_setBuffer(mMeta, AMEDIAFORMAT_KEY_CSD_1, &codecdelay, sizeof(codecdelay)); in verifyOpusHeader() [all …]
|
/frameworks/wilhelm/src/android/include/ |
D | AacAdtsExtractor.h | 59 sp<MetaData> mMeta; variable 85 sp<MetaData> mMeta; variable
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 93 AMediaFormat *mMeta; member 374 mMeta(meta), in WAVSource() 380 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate)); in WAVSource() 381 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &mNumChannels)); in WAVSource() 382 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_BITS_PER_SAMPLE, &mBitsPerSample)); in WAVSource() 421 const media_status_t status = AMediaFormat_copy(meta, mMeta); in getFormat()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.h | 62 mMeta = NULL; in TrackInfo() 69 AMediaFormat *mMeta; member
|
D | MatroskaExtractor.cpp | 246 AMediaFormat *meta = trackInfo.mMeta; in MatroskaSource() 315 return AMediaFormat_copy(meta, mExtractor->mTracks.itemAt(mTrackIndex).mMeta); in getFormat() 665 AMediaFormat *trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo() 810 if (!AMediaFormat_getInt32(trackInfo->mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, in readBlock() 815 if (!AMediaFormat_getInt64(trackInfo->mMeta, AMEDIAFORMAT_KEY_DURATION, in readBlock() 1435 if (info->mMeta) { in ~MatroskaExtractor() 1436 AMediaFormat_delete(info->mMeta); in ~MatroskaExtractor() 1466 return AMediaFormat_copy(meta, mTracks.itemAt(index).mMeta); in getTrackMetaData() 1666 if (!MakeAVCCodecSpecificData(trackInfo->mMeta, tmpData.get(), frame.len)) { in synthesizeAVCC() 1713 addESDSFromCodecPrivate(trackInfo->mMeta, false, in synthesizeMPEG2() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 280 sp<MetaData> mMeta; member in android::MPEG4Writer::Track 1783 mMeta(source->getFormat()), in Track() 1826 mMeta->findCString(kKeyMIMEType, &mime); in Track() 1838 if (mMeta->findInt32(kKeyTemporalLayerCount, &count) && count > 1) { in Track() 1846 CHECK(mMeta->findInt32(kKeyWidth, &mWidth) && (mWidth > 0)); in Track() 1847 CHECK(mMeta->findInt32(kKeyHeight, &mHeight) && (mHeight > 0)); in Track() 1850 if (mMeta->findInt32(kKeyTileWidth, &tileWidth) && (tileWidth > 0) && in Track() 1851 mMeta->findInt32(kKeyTileHeight, &tileHeight) && (tileHeight > 0) && in Track() 1852 mMeta->findInt32(kKeyGridRows, &gridRows) && (gridRows > 0) && in Track() 1853 mMeta->findInt32(kKeyGridCols, &gridCols) && (gridCols > 0)) { in Track() [all …]
|
D | CameraSource.cpp | 697 mMeta = new MetaData; in initWithCameraAccess() 698 mMeta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in initWithCameraAccess() 699 mMeta->setInt32(kKeyColorFormat, mColorFormat); in initWithCameraAccess() 700 mMeta->setInt32(kKeyWidth, mVideoSize.width); in initWithCameraAccess() 701 mMeta->setInt32(kKeyHeight, mVideoSize.height); in initWithCameraAccess() 702 mMeta->setInt32(kKeyStride, mVideoSize.width); in initWithCameraAccess() 703 mMeta->setInt32(kKeySliceHeight, mVideoSize.height); in initWithCameraAccess() 704 mMeta->setInt32(kKeyFrameRate, mVideoFrameRate); in initWithCameraAccess() 1038 return mMeta; in getFormat()
|
D | MediaCodecSource.cpp | 407 Mutexed<sp<MetaData>>::Locked meta(mMeta); in getFormat() 445 mMeta(new MetaData), in MediaCodecSource() 555 mMeta.lock().set(meta); in initEncoder() 888 mMeta.lock().set(meta); in onMessageReceived()
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 310 return mMeta; in meta() 335 *meta = mItems.itemAt(index).mMeta; in itemAt() 432 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI() 608 err = parseMetaData(line, &mMeta, "target-duration"); in parse() 613 err = parseMetaData(line, &mMeta, "media-sequence"); in parse() 650 if (mMeta != NULL) { in parse() 701 item->mMeta = itemMeta; in parse() 721 if (mMeta == NULL || !mMeta->findInt32( in parse() 729 if (mMeta != NULL) { in parse() 730 mMeta->findInt32("media-sequence", &mFirstSeqNumber); in parse() [all …]
|
D | M3UParser.h | 66 sp<AMessage> mMeta; member 83 sp<AMessage> mMeta; member
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaCodecBuffer.h | 63 const sp<AMessage> mMeta; variable
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ABuffer.h | 55 sp<AMessage> mMeta;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | Utils.h | 64 sp<AMessage> mMeta; member
|
D | MediaCodecSource.h | 124 Mutexed<sp<MetaData>> mMeta; member
|
D | CameraSource.h | 201 sp<MetaData> mMeta; variable
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 142 sp<AMessage> mMeta; member
|