Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp78 bool durationFound = AMediaFormat_getInt64(mFormat, AMEDIAFORMAT_KEY_DURATION, &mDurationUs); in setupTrackFormat()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h153 extern const char* AMEDIAFORMAT_KEY_DURATION __INTRODUCED_IN(21);
/frameworks/libs/native_bridge_support/libmediandk/
Dstubs_arm64.cc225 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DURATION);
505 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DURATION); in init_stub_library()
Dstubs_arm.cc225 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DURATION);
505 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DURATION); in init_stub_library()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp177 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AACExtractor()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp182 trackMetadata, AMEDIAFORMAT_KEY_DURATION, 1000ll * temp); // milli->micro in MidiEngine()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp187 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AMRExtractor()
/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/mp4/
DMPEG4Extractor.cpp500 AMediaFormat_getInt64(track->meta, AMEDIAFORMAT_KEY_DURATION, &duration) && in getTrackMetaData()
618 AMEDIAFORMAT_KEY_DURATION, &duration)) { in getTrackMetaData()
1594 AMediaFormat_setInt64(mLastTrack->meta, AMEDIAFORMAT_KEY_DURATION, durationUs); in parseChunk()
2171 AMEDIAFORMAT_KEY_DURATION, &durationUs)) { in parseChunk()
2646 AMEDIAFORMAT_KEY_DURATION, duration * 1000000 / mHeaderTimescale); in parseChunk()
2696 AMEDIAFORMAT_KEY_DURATION, duration * 1000000 / mHeaderTimescale); in parseChunk()
3578 AMEDIAFORMAT_KEY_DURATION, &metaDuration) || metaDuration == 0) { in parseSegmentIndex()
3579 AMediaFormat_setInt64(mLastTrack->meta, AMEDIAFORMAT_KEY_DURATION, sidxDuration); in parseSegmentIndex()
6168 … meta, AMEDIAFORMAT_KEY_DURATION, ((long double)stts * 1000000) / mTimescale); in read()
6224 meta, AMEDIAFORMAT_KEY_DURATION, ((long double)stts * 1000000) / mTimescale); in read()
[all …]
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp355 AMediaFormat_setInt64(mTrackMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in init()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp958 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in init()
1243 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, size * 8000000ll / bps); in verifyHeader()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp362 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, durationUs); in MP3Extractor()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp554 AMEDIAFORMAT_KEY_DURATION, (getTotalSamples() * 1000000LL) / getSampleRate()); in init()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp821 if (!AMediaFormat_getInt64(trackInfo->mMeta, AMEDIAFORMAT_KEY_DURATION, in readBlock()
2212 AMediaFormat_setInt64(meta, AMEDIAFORMAT_KEY_DURATION, (durationNs + 500) / 1000); in addTracks()