Home
last modified time | relevance | path

Searched refs:formatBuilder (Results 1 – 12 of 12) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelectorTest.java345 Format.Builder formatBuilder = AUDIO_FORMAT.buildUpon(); in selectTracksSelectTrackWithSelectionFlag() local
346 Format audioFormat = formatBuilder.setSelectionFlags(0).build(); in selectTracksSelectTrackWithSelectionFlag()
348 formatBuilder.setSelectionFlags(C.SELECTION_FLAG_DEFAULT).build(); in selectTracksSelectTrackWithSelectionFlag()
363 Format.Builder formatBuilder = AUDIO_FORMAT.buildUpon(); in selectAdaptiveAudioTrackGroupWithMaxBitrate() local
364 Format format128k = formatBuilder.setAverageBitrate(128 * 1024).build(); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
365 Format format192k = formatBuilder.setAverageBitrate(192 * 1024).build(); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
366 Format format256k = formatBuilder.setAverageBitrate(256 * 1024).build(); in selectAdaptiveAudioTrackGroupWithMaxBitrate()
402 Format.Builder formatBuilder = AUDIO_FORMAT.buildUpon(); in selectTracksSelectPreferredAudioLanguage() local
403 Format frAudioFormat = formatBuilder.setLanguage("fra").build(); in selectTracksSelectPreferredAudioLanguage()
404 Format enAudioFormat = formatBuilder.setLanguage("eng").build(); in selectTracksSelectPreferredAudioLanguage()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DTrackGroupArrayTest.java33 Format.Builder formatBuilder = new Format.Builder(); in parcelable() local
34 Format format1 = formatBuilder.setSampleMimeType(MimeTypes.VIDEO_H264).build(); in parcelable()
35 Format format2 = formatBuilder.setSampleMimeType(MimeTypes.AUDIO_AAC).build(); in parcelable()
36 Format format3 = formatBuilder.setSampleMimeType(MimeTypes.VIDEO_H264).build(); in parcelable()
DTrackGroupTest.java33 Format.Builder formatBuilder = new Format.Builder(); in parcelable() local
34 Format format1 = formatBuilder.setSampleMimeType(MimeTypes.VIDEO_H264).build(); in parcelable()
35 Format format2 = formatBuilder.setSampleMimeType(MimeTypes.AUDIO_AAC).build(); in parcelable()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java408 Format.Builder formatBuilder = in parseMasterPlaylist() local
428 formatBuilder in parseMasterPlaylist()
438 formatBuilder.setMetadata(metadata); in parseMasterPlaylist()
439 videos.add(new Rendition(uri, formatBuilder.build(), groupId, name)); in parseMasterPlaylist()
448 formatBuilder.setCodecs(codecs); in parseMasterPlaylist()
456 formatBuilder.setChannelCount(channelCount); in parseMasterPlaylist()
461 formatBuilder.setSampleMimeType(sampleMimeType); in parseMasterPlaylist()
464 muxedAudioFormat = formatBuilder.build(); in parseMasterPlaylist()
466 formatBuilder.setMetadata(metadata); in parseMasterPlaylist()
467 audios.add(new Rendition(uri, formatBuilder.build(), groupId, name)); in parseMasterPlaylist()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DMetadataUtil.java293 Format.Builder formatBuilder) { in setFormatMetadata() argument
296 formatBuilder in setFormatMetadata()
302 formatBuilder.setMetadata(udtaMetadata); in setFormatMetadata()
311 formatBuilder.setMetadata(new Metadata(mdtaMetadataEntry)); in setFormatMetadata()
DMp4Extractor.java425 Format.Builder formatBuilder = track.format.buildUpon(); in processMoovAtom() local
426 formatBuilder.setMaxInputSize(maxInputSize); in processMoovAtom()
431 formatBuilder.setFrameRate(frameRate); in processMoovAtom()
434 track.type, udtaMetadata, mdtaMetadata, gaplessInfoHolder, formatBuilder); in processMoovAtom()
435 mp4Track.trackOutput.format(formatBuilder.build()); in processMoovAtom()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParser.java667 Format.Builder formatBuilder = new Format.Builder(); in parseStartTag() local
674 formatBuilder in parseStartTag()
693 formatBuilder in parseStartTag()
713 formatBuilder.setContainerMimeType(MimeTypes.APPLICATION_MP4).setRoleFlags(roleFlags); in parseStartTag()
715 formatBuilder.setContainerMimeType(MimeTypes.APPLICATION_MP4); in parseStartTag()
719 formatBuilder in parseStartTag()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java276 private final StringBuilder formatBuilder; field in PlayerControlView
373 formatBuilder = new StringBuilder(); in PlayerControlView()
374 formatter = new Formatter(formatBuilder, Locale.getDefault()); in PlayerControlView()
959 durationView.setText(Util.getStringForTime(formatBuilder, formatter, durationMs)); in updateTimeline()
989 positionView.setText(Util.getStringForTime(formatBuilder, formatter, position)); in updateProgress()
1202 positionView.setText(Util.getStringForTime(formatBuilder, formatter, position)); in onScrubStart()
1209 positionView.setText(Util.getStringForTime(formatBuilder, formatter, position)); in onScrubMove()
DDefaultTimeBar.java195 private final StringBuilder formatBuilder; field in DefaultTimeBar
323 formatBuilder = new StringBuilder(); in DefaultTimeBar()
324 formatter = new Formatter(formatBuilder, Locale.getDefault()); in DefaultTimeBar()
900 return Util.getStringForTime(formatBuilder, formatter, position); in getProgressText()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java622 Format.Builder formatBuilder = in buildFormat() local
634 formatBuilder.setWidth(width).setHeight(height).setFrameRate(frameRate); in buildFormat()
636 formatBuilder.setChannelCount(audioChannels).setSampleRate(audioSamplingRate); in buildFormat()
644 formatBuilder.setAccessibilityChannel(accessibilityChannel); in buildFormat()
647 return formatBuilder.build(); in buildFormat()
656 Format.Builder formatBuilder = representationInfo.format.buildUpon(); in buildRepresentation() local
658 formatBuilder.setLabel(label); in buildRepresentation()
668 formatBuilder.setDrmInitData(new DrmInitData(drmSchemeType, drmSchemeDatas)); in buildRepresentation()
674 formatBuilder.build(), in buildRepresentation()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java1297 Format.Builder formatBuilder =
1311 formatBuilder.setSampleMimeType(sampleMimeType);
1315 formatBuilder.setChannelCount(playlistFormat.channelCount);
1323 formatBuilder.setMetadata(metadata);
1326 return formatBuilder.build();
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java2087 Format.Builder formatBuilder = new Format.Builder(); in initializeOutput() local
2092 formatBuilder in initializeOutput()
2131 formatBuilder in initializeOutput()
2155 formatBuilder.setLabel(name); in initializeOutput()
2159 formatBuilder in initializeOutput()