Home
last modified time | relevance | path

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

12

/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp78 bool durationFound = AMediaFormat_getInt64(mFormat, AMEDIAFORMAT_KEY_DURATION, &mDurationUs); in setupTrackFormat()
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTranscoder.cpp43 ENTRY_COPIER(AMEDIAFORMAT_KEY_DURATION, Int64), in createVideoTrackFormat()
65 ENTRY_COPIER(AMEDIAFORMAT_KEY_DURATION, Int64), in createVideoTrackFormat()
DVideoTrackTranscoder.cpp584 if (AMediaFormat_getInt64(mSourceFormat.get(), AMEDIAFORMAT_KEY_DURATION, &durationUs) && in updateTrackFormat()
586 AMediaFormat_setInt64(formatCopy, AMEDIAFORMAT_KEY_DURATION, durationUs); in updateTrackFormat()
DMediaSampleWriter.cpp146 if (!AMediaFormat_getInt64(trackFormat.get(), AMEDIAFORMAT_KEY_DURATION, &durationUs)) { in addTrack()
DMediaSampleReaderNDK.cpp369 if (!AMediaFormat_getInt64(trackFormat, AMEDIAFORMAT_KEY_DURATION, &durationUs)) { in getEstimatedBitrateForTrack()
/frameworks/av/media/ndk/fuzzer/
Dndk_mediamuxer_fuzzer.cpp52 AMediaFormat_setInt64(format, AMEDIAFORMAT_KEY_DURATION, fdp.ConsumeIntegral<int64_t>()); in getSampleAudioFormat()
Dndk_mediaformat_fuzzer.cpp80 AMEDIAFORMAT_KEY_DURATION,
DREADME.md89 …T_KEY_DISPLAY_HEIGHT`, 52.`AMEDIAFORMAT_KEY_DISPLAY_WIDTH`, 53.`AMEDIAFORMAT_KEY_DURATION`, 54.`AM…
DNdkMediaCodecFuzzerBase.cpp134 AMEDIAFORMAT_KEY_DURATION};
/frameworks/av/media/module/extractors/fuzzers/
DExtractorFuzzerBase.cpp133 AMediaFormat_getInt64(trackMetaData, AMEDIAFORMAT_KEY_DURATION, &trackDuration); in seekAndExtractTracks()
/frameworks/av/media/module/libmediatranscoding/
DTranscodingLogger.cpp141 AMediaFormat_getInt64(srcFormat, AMEDIAFORMAT_KEY_DURATION, &tmpDurationUs) in logSessionEnded()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h164 extern const char* AMEDIAFORMAT_KEY_DURATION __INTRODUCED_IN(21);
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp182 trackMetadata, AMEDIAFORMAT_KEY_DURATION, 1000ll * temp); // milli->micro in MidiEngine()
/frameworks/av/media/module/extractors/amr/
DAMRExtractor.cpp189 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AMRExtractor()
/frameworks/av/media/module/extractors/aac/
DAACExtractor.cpp179 AMediaFormat_setInt64(mMeta, AMEDIAFORMAT_KEY_DURATION, duration); in AACExtractor()
/frameworks/libs/native_bridge_support/android_api/libmediandk/
Dstubs_arm64.cc243 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DURATION);
553 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DURATION); in init_stub_library()
Dstubs_riscv64.cc243 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DURATION);
553 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DURATION); in init_stub_library()
Dstubs_arm.cc243 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_DURATION);
553 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_DURATION); in init_stub_library()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp530 AMediaFormat_getInt64(track->meta, AMEDIAFORMAT_KEY_DURATION, &duration) && in getTrackMetaData()
648 AMEDIAFORMAT_KEY_DURATION, &duration)) { in getTrackMetaData()
1648 AMediaFormat_setInt64(mLastTrack->meta, AMEDIAFORMAT_KEY_DURATION, durationUs); in parseChunk()
2302 AMEDIAFORMAT_KEY_DURATION, &durationUs)) { in parseChunk()
2813 AMEDIAFORMAT_KEY_DURATION, duration * 1000000 / mHeaderTimescale); in parseChunk()
2863 AMEDIAFORMAT_KEY_DURATION, duration * 1000000 / mHeaderTimescale); in parseChunk()
3766 AMEDIAFORMAT_KEY_DURATION, &metaDuration) || metaDuration == 0) { in parseSegmentIndex()
3767 AMediaFormat_setInt64(mLastTrack->meta, AMEDIAFORMAT_KEY_DURATION, sidxDuration); in parseSegmentIndex()
6431 … meta, AMEDIAFORMAT_KEY_DURATION, ((long double)stts * 1000000) / mTimescale); in read()
6499 meta, AMEDIAFORMAT_KEY_DURATION, ((long double)stts * 1000000) / mTimescale); in read()
[all …]
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp378 AMediaFormat_setInt64(videoFormat.get(), AMEDIAFORMAT_KEY_DURATION, 100); in TEST_F()
467 AMediaFormat_getInt64(trackFormat.get(), AMEDIAFORMAT_KEY_DURATION, &duration); in TEST_F()
DMediaTranscoderTests.cpp51 {AMEDIAFORMAT_KEY_DURATION, equalInt64}, {AMEDIAFORMAT_KEY_WIDTH, equalInt32},
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp625 AMediaFormat_getInt64(trackMeta, AMEDIAFORMAT_KEY_DURATION, &clipDuration); in TEST_P()
794 AMediaFormat_getInt64(trackMeta, AMEDIAFORMAT_KEY_DURATION, &clipDuration); in TEST_P()
990 if (!AMediaFormat_getInt64(extractorFormat, AMEDIAFORMAT_KEY_DURATION, &clipDurationUs) || in allocateOutputBuffers()
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingLogger_tests.cpp106 AMediaFormat_setInt64(fmt, AMEDIAFORMAT_KEY_DURATION, kDefaultSrcDurationUs); in CreateSrcFormat()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp215 AMediaFormat_getInt64(format, AMEDIAFORMAT_KEY_DURATION, &clipDurationUs); in validateOutput()
/frameworks/av/media/ndk/
Dlibmediandk.map.txt90 AMEDIAFORMAT_KEY_DURATION; # var introduced=21

12