Home
last modified time | relevance | path

Searched refs:getMediaMimeType (Results 1 – 8 of 8) sorted by relevance

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DMimeTypesTest.java53 assertThat(MimeTypes.getMediaMimeType("avc1")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
54 assertThat(MimeTypes.getMediaMimeType("avc1.42E01E")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
55 assertThat(MimeTypes.getMediaMimeType("avc1.42E01F")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
56 assertThat(MimeTypes.getMediaMimeType("avc1.4D401F")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
57 assertThat(MimeTypes.getMediaMimeType("avc1.4D4028")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
58 assertThat(MimeTypes.getMediaMimeType("avc1.640028")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
59 assertThat(MimeTypes.getMediaMimeType("avc1.640029")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
60 assertThat(MimeTypes.getMediaMimeType("avc3")).isEqualTo(MimeTypes.VIDEO_H264); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
61 assertThat(MimeTypes.getMediaMimeType("hev1")).isEqualTo(MimeTypes.VIDEO_H265); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
62 assertThat(MimeTypes.getMediaMimeType("hvc1")).isEqualTo(MimeTypes.VIDEO_H265); in getMediaMimeType_fromValidCodecs_returnsCorrectMimeType()
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java193 @Nullable String mimeType = getMediaMimeType(codec); in getVideoMediaMimeType()
214 @Nullable String mimeType = getMediaMimeType(codec); in getAudioMediaMimeType()
235 @Nullable String mimeType = getMediaMimeType(codec); in getTextMediaMimeType()
250 public static String getMediaMimeType(@Nullable String codec) { in getMediaMimeType() method in MimeTypes
438 return getTrackType(getMediaMimeType(codec)); in getTrackTypeOfCodec()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriodTest.java161 .setSampleMimeType(MimeTypes.getMediaMimeType("mp4a.40.2")) in createAudioFormat()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java430 .setSampleMimeType(MimeTypes.getMediaMimeType(codecs)) in parseMasterPlaylist()
449 sampleMimeType = MimeTypes.getMediaMimeType(codecs); in parseMasterPlaylist()
477 sampleMimeType = MimeTypes.getMediaMimeType(codecs); in parseMasterPlaylist()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecInfo.java257 String codecMimeType = MimeTypes.getMediaMimeType(format.codecs); in isCodecSupported()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java793 @Nullable String sampleMimeType = MimeTypes.getMediaMimeType(codecs);
839 @Nullable String sampleMimeType = MimeTypes.getMediaMimeType(codecs);
DHlsSampleStreamWrapper.java1295 @Nullable String sampleMimeType = MimeTypes.getMediaMimeType(codecs);
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java1347 return MimeTypes.getMediaMimeType(codecs); in getSampleMimeType()