Searched refs:getCodecsOfType (Results 1 – 6 of 6) sorted by relevance
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/ |
D | UtilTest.java | 21 import static com.google.android.exoplayer2.util.Util.getCodecsOfType; 725 assertThat(getCodecsOfType(null, C.TRACK_TYPE_VIDEO)).isNull(); in getCodecsOfType_withNull_returnsNull() 730 assertThat(getCodecsOfType("avc1.64001e,vp9.63.1", C.TRACK_TYPE_AUDIO)).isNull(); in getCodecsOfType_withInvalidTrackType_returnsNull() 735 assertThat(getCodecsOfType(" vp9.63.1, ec-3 ", C.TRACK_TYPE_AUDIO)).isEqualTo("ec-3"); in getCodecsOfType_withAudioTrack_returnsCodec() 740 assertThat(getCodecsOfType("avc1.61e, vp9.63.1, ec-3 ", C.TRACK_TYPE_VIDEO)) in getCodecsOfType_withVideoTrack_returnsCodec() 742 assertThat(getCodecsOfType("avc1.61e, vp9.63.1, ec-3 ", C.TRACK_TYPE_VIDEO)) in getCodecsOfType_withVideoTrack_returnsCodec() 748 assertThat(getCodecsOfType("invalidCodec1, invalidCodec2 ", C.TRACK_TYPE_AUDIO)).isNull(); in getCodecsOfType_withInvalidCodec_returnsNull()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsMediaPeriod.java | 569 if (format.height > 0 || Util.getCodecsOfType(format.codecs, C.TRACK_TYPE_VIDEO) != null) { 572 } else if (Util.getCodecsOfType(format.codecs, C.TRACK_TYPE_AUDIO) != null) { 620 boolean variantsContainVideoCodecs = Util.getCodecsOfType(codecs, C.TRACK_TYPE_VIDEO) != null; 621 boolean variantsContainAudioCodecs = Util.getCodecsOfType(codecs, C.TRACK_TYPE_AUDIO) != null; 792 @Nullable String codecs = Util.getCodecsOfType(variantFormat.codecs, C.TRACK_TYPE_VIDEO); 829 codecs = Util.getCodecsOfType(variantFormat.codecs, C.TRACK_TYPE_AUDIO);
|
D | HlsSampleStreamWrapper.java | 1294 @Nullable String codecs = Util.getCodecsOfType(playlistFormat.codecs, sampleTrackType);
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | HlsPlaylistParser.java | 427 String codecs = Util.getCodecsOfType(variantFormat.codecs, C.TRACK_TYPE_VIDEO); in parseMasterPlaylist() 447 String codecs = Util.getCodecsOfType(variant.format.codecs, C.TRACK_TYPE_AUDIO); in parseMasterPlaylist() 475 String codecs = Util.getCodecsOfType(variant.format.codecs, C.TRACK_TYPE_TEXT); in parseMasterPlaylist()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | Format.java | 1392 @Nullable String codecsOfType = Util.getCodecsOfType(manifestFormat.codecs, trackType); in withManifestFormatInfo()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1372 public static @Nullable String getCodecsOfType(@Nullable String codecs, int trackType) { in getCodecsOfType() method in Util
|