Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: media/base/mime_util_internal.h

Issue 1677563003: Implemented parsing for H.264/AVC codec ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + resolve conflicts Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/browser/media/media_canplaytype_browsertest.cc ('k') | media/base/mime_util_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698