Searched refs:KEY_DURATION (Results 1 – 5 of 5) sorted by relevance
236 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()241 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()293 aDurationUs = format.getLong(MediaFormat.KEY_DURATION); in testExtractorFileDurationNative()295 vDurationUs = format.getLong(MediaFormat.KEY_DURATION); in testExtractorFileDurationNative()722 final String KEY_DURATION = MediaFormat.KEY_DURATION; in compareFormats() local726 && f1.containsKey(KEY_DURATION) && f2.containsKey(KEY_DURATION) in compareFormats()727 && Math.abs(f1.getLong(KEY_DURATION) in compareFormats()728 - f2.getLong(KEY_DURATION)) <= maxDurationDiffUs) { in compareFormats()729 f2.setLong(KEY_DURATION, f1.getLong(KEY_DURATION)); in compareFormats()
142 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()143 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()175 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareVideo()176 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo()
236 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()237 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()282 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareVideo()283 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo()
1691 configFormat.setLong(MediaFormat.KEY_DURATION,1692 format.getLong(MediaFormat.KEY_DURATION));
1824 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()