Home
last modified time | relevance | path

Searched refs:AMEDIAFORMAT_KEY_DURATION (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h115 extern const char* AMEDIAFORMAT_KEY_DURATION __INTRODUCED_IN(21);
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp479 AMediaFormat_getInt64(track->meta, AMEDIAFORMAT_KEY_DURATION, &duration) && in getTrackMetaData()
598 AMEDIAFORMAT_KEY_DURATION, &duration)) { in getTrackMetaData()
1476 AMediaFormat_setInt64(mLastTrack->meta, AMEDIAFORMAT_KEY_DURATION, durationUs); in parseChunk()
2029 AMEDIAFORMAT_KEY_DURATION, &durationUs)) { in parseChunk()
2477 AMEDIAFORMAT_KEY_DURATION, duration * 1000000 / mHeaderTimescale); in parseChunk()
2527 AMEDIAFORMAT_KEY_DURATION, duration * 1000000 / mHeaderTimescale); in parseChunk()
3405 AMEDIAFORMAT_KEY_DURATION, &metaDuration) || metaDuration == 0) { in parseSegmentIndex()
3406 AMediaFormat_setInt64(mLastTrack->meta, AMEDIAFORMAT_KEY_DURATION, sidxDuration); in parseSegmentIndex()
5812 … meta, AMEDIAFORMAT_KEY_DURATION, ((long double)stts * 1000000) / mTimescale); in read()
5868 meta, AMEDIAFORMAT_KEY_DURATION, ((long double)stts * 1000000) / mTimescale); in read()
[all …]
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp177 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AACExtractor()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp186 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AMRExtractor()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp176 trackMetadata, AMEDIAFORMAT_KEY_DURATION, 1000ll * temp); // milli->micro in MidiEngine()
/frameworks/av/media/ndk/
Dlibmediandk.map.txt80 AMEDIAFORMAT_KEY_DURATION; # var introduced=21
DNdkMediaFormat.cpp315 EXPORT const char* AMEDIAFORMAT_KEY_DURATION = "durationUs"; variable
DNdkMediaExtractor.cpp453 meta->setInt64(AMEDIAFORMAT_KEY_DURATION, durationUs); in AMediaExtractor_getSampleFormat()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp353 AMediaFormat_setInt64(mTrackMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in init()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp957 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in init()
1235 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, size * 8000000ll / bps); in verifyHeader()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp366 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in MP3Extractor()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp552 AMEDIAFORMAT_KEY_DURATION, (getTotalSamples() * 1000000LL) / getSampleRate()); in init()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp815 if (!AMediaFormat_getInt64(trackInfo->mMeta, AMEDIAFORMAT_KEY_DURATION, in readBlock()
2203 AMediaFormat_setInt64(meta, AMEDIAFORMAT_KEY_DURATION, (durationNs + 500) / 1000); in addTracks()
/frameworks/av/media/libmedia/
DNdkWrapper.cpp99 AMEDIAFORMAT_KEY_DURATION,