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 <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
| 13 #include "base/macros.h" |
11 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
12 #include "media/base/video_codecs.h" | 15 #include "media/base/video_codecs.h" |
13 #include "media/base/video_types.h" | 16 #include "media/base/video_types.h" |
14 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
15 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
16 | 19 |
17 namespace media { | 20 namespace media { |
18 | 21 |
19 MEDIA_EXPORT VideoCodec | 22 MEDIA_EXPORT VideoCodec |
20 VideoCodecProfileToVideoCodec(VideoCodecProfile profile); | 23 VideoCodecProfileToVideoCodec(VideoCodecProfile profile); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bool is_encrypted_; | 114 bool is_encrypted_; |
112 | 115 |
113 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler | 116 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler |
114 // generated copy constructor and assignment operator. Since the extra data is | 117 // generated copy constructor and assignment operator. Since the extra data is |
115 // typically small, the performance impact is minimal. | 118 // typically small, the performance impact is minimal. |
116 }; | 119 }; |
117 | 120 |
118 } // namespace media | 121 } // namespace media |
119 | 122 |
120 #endif // MEDIA_BASE_VIDEO_DECODER_CONFIG_H_ | 123 #endif // MEDIA_BASE_VIDEO_DECODER_CONFIG_H_ |
OLD | NEW |