Searched refs:KEY_DURATION (Results 1 – 5 of 5) sorted by relevance
152 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()157 foo.add((int)format.getLong(MediaFormat.KEY_DURATION)); in getSampleSizes()550 final String KEY_DURATION = MediaFormat.KEY_DURATION; in compareFormats() local554 && f1.containsKey(KEY_DURATION) && f2.containsKey(KEY_DURATION) in compareFormats()555 && Math.abs(f1.getLong(KEY_DURATION) in compareFormats()556 - f2.getLong(KEY_DURATION)) <= maxDurationDiffUs) { in compareFormats()557 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()
189 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareAudio()190 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareAudio()227 if (format.containsKey(MediaFormat.KEY_DURATION)) { in prepareVideo()228 long durationUs = format.getLong(MediaFormat.KEY_DURATION); in prepareVideo()
1265 configFormat.setLong(MediaFormat.KEY_DURATION,1266 format.getLong(MediaFormat.KEY_DURATION));
1254 durationUs = format.getLong(MediaFormat.KEY_DURATION); in validateRecording()