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

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

Issue 418193003: Using PROFILE_ANY for vp8 and vp9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_VIDEO_DECODER_CONFIG_H_ 5 #ifndef MEDIA_BASE_VIDEO_DECODER_CONFIG_H_
6 #define MEDIA_BASE_VIDEO_DECODER_CONFIG_H_ 6 #define MEDIA_BASE_VIDEO_DECODER_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 H264PROFILE_HIGH = 3, 51 H264PROFILE_HIGH = 3,
52 H264PROFILE_HIGH10PROFILE = 4, 52 H264PROFILE_HIGH10PROFILE = 4,
53 H264PROFILE_HIGH422PROFILE = 5, 53 H264PROFILE_HIGH422PROFILE = 5,
54 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6, 54 H264PROFILE_HIGH444PREDICTIVEPROFILE = 6,
55 H264PROFILE_SCALABLEBASELINE = 7, 55 H264PROFILE_SCALABLEBASELINE = 7,
56 H264PROFILE_SCALABLEHIGH = 8, 56 H264PROFILE_SCALABLEHIGH = 8,
57 H264PROFILE_STEREOHIGH = 9, 57 H264PROFILE_STEREOHIGH = 9,
58 H264PROFILE_MULTIVIEWHIGH = 10, 58 H264PROFILE_MULTIVIEWHIGH = 10,
59 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH, 59 H264PROFILE_MAX = H264PROFILE_MULTIVIEWHIGH,
60 VP8PROFILE_MIN = 11, 60 VP8PROFILE_MIN = 11,
61 VP8PROFILE_MAIN = VP8PROFILE_MIN, 61 VP8PROFILE_ANY = VP8PROFILE_MIN,
62 VP8PROFILE_MAX = VP8PROFILE_MAIN, 62 VP8PROFILE_MAX = VP8PROFILE_ANY,
63 VP9PROFILE_MIN = 12, 63 VP9PROFILE_MIN = 12,
64 VP9PROFILE_MAIN = VP9PROFILE_MIN, 64 VP9PROFILE_ANY = VP9PROFILE_MIN,
65 VP9PROFILE_MAX = VP9PROFILE_MAIN, 65 VP9PROFILE_MAX = VP9PROFILE_ANY,
66 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX, 66 VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_MAX,
67 }; 67 };
68 68
69 class MEDIA_EXPORT VideoDecoderConfig { 69 class MEDIA_EXPORT VideoDecoderConfig {
70 public: 70 public:
71 // Constructs an uninitialized object. Clients should call Initialize() with 71 // Constructs an uninitialized object. Clients should call Initialize() with
72 // appropriate values before using. 72 // appropriate values before using.
73 VideoDecoderConfig(); 73 VideoDecoderConfig();
74 74
75 // Constructs an initialized object. It is acceptable to pass in NULL for 75 // Constructs an initialized object. It is acceptable to pass in NULL for
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 bool is_encrypted_; 150 bool is_encrypted_;
151 151
152 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler 152 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler
153 // generated copy constructor and assignment operator. Since the extra data is 153 // generated copy constructor and assignment operator. Since the extra data is
154 // typically small, the performance impact is minimal. 154 // typically small, the performance impact is minimal.
155 }; 155 };
156 156
157 } // namespace media 157 } // namespace media
158 158
159 #endif // MEDIA_BASE_VIDEO_DECODER_CONFIG_H_ 159 #endif // MEDIA_BASE_VIDEO_DECODER_CONFIG_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_video_decoder_impl.cc ('k') | media/cast/sender/external_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698