| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |