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