OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 5 #ifndef MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
6 #define MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 6 #define MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 19 matching lines...) Expand all Loading... |
30 AC3, | 30 AC3, |
31 EAC3, | 31 EAC3, |
32 MPEG2_AAC_LC, | 32 MPEG2_AAC_LC, |
33 MPEG2_AAC_MAIN, | 33 MPEG2_AAC_MAIN, |
34 MPEG2_AAC_SSR, | 34 MPEG2_AAC_SSR, |
35 MPEG4_AAC_LC, | 35 MPEG4_AAC_LC, |
36 MPEG4_AAC_SBR_v1, | 36 MPEG4_AAC_SBR_v1, |
37 MPEG4_AAC_SBR_PS_v2, | 37 MPEG4_AAC_SBR_PS_v2, |
38 VORBIS, | 38 VORBIS, |
39 OPUS, | 39 OPUS, |
40 H264_BASELINE, | 40 H264, |
41 H264_MAIN, | |
42 H264_HIGH, | |
43 HEVC_MAIN, | 41 HEVC_MAIN, |
44 VP8, | 42 VP8, |
45 VP9, | 43 VP9, |
46 THEORA | 44 THEORA |
47 }; | 45 }; |
48 | 46 |
49 // See mime_util.h for more information on these methods. | 47 // See mime_util.h for more information on these methods. |
50 bool IsSupportedMediaMimeType(const std::string& mime_type) const; | 48 bool IsSupportedMediaMimeType(const std::string& mime_type) const; |
51 void ParseCodecString(const std::string& codecs, | 49 void ParseCodecString(const std::string& codecs, |
52 std::vector<std::string>* codecs_out, | 50 std::vector<std::string>* codecs_out, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // Lookup table for string compare based string -> Codec mappings. | 123 // Lookup table for string compare based string -> Codec mappings. |
126 StringToCodecMappings string_to_codec_map_; | 124 StringToCodecMappings string_to_codec_map_; |
127 | 125 |
128 DISALLOW_COPY_AND_ASSIGN(MimeUtil); | 126 DISALLOW_COPY_AND_ASSIGN(MimeUtil); |
129 }; | 127 }; |
130 | 128 |
131 } // namespace internal | 129 } // namespace internal |
132 } // namespace media | 130 } // namespace media |
133 | 131 |
134 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 132 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
OLD | NEW |