| 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 20 matching lines...) Expand all Loading... |
| 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, | 40 H264, |
| 41 HEVC_MAIN, | 41 HEVC, |
| 42 VP8, | 42 VP8, |
| 43 VP9, | 43 VP9, |
| 44 THEORA | 44 THEORA |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 // See mime_util.h for more information on these methods. | 47 // See mime_util.h for more information on these methods. |
| 48 bool IsSupportedMediaMimeType(const std::string& mime_type) const; | 48 bool IsSupportedMediaMimeType(const std::string& mime_type) const; |
| 49 void ParseCodecString(const std::string& codecs, | 49 void ParseCodecString(const std::string& codecs, |
| 50 std::vector<std::string>* codecs_out, | 50 std::vector<std::string>* codecs_out, |
| 51 bool strip); | 51 bool strip); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // Lookup table for string compare based string -> Codec mappings. | 123 // Lookup table for string compare based string -> Codec mappings. |
| 124 StringToCodecMappings string_to_codec_map_; | 124 StringToCodecMappings string_to_codec_map_; |
| 125 | 125 |
| 126 DISALLOW_COPY_AND_ASSIGN(MimeUtil); | 126 DISALLOW_COPY_AND_ASSIGN(MimeUtil); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace internal | 129 } // namespace internal |
| 130 } // namespace media | 130 } // namespace media |
| 131 | 131 |
| 132 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ | 132 #endif // MEDIA_BASE_MIME_UTIL_INTERNAL_H_ |
| OLD | NEW |