OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "chromecast/media/base/media_caps.h" | 5 #include "chromecast/media/base/media_caps.h" |
6 | 6 |
| 7 #include "base/logging.h" |
7 #include "chromecast/public/avsettings.h" | 8 #include "chromecast/public/avsettings.h" |
8 | 9 |
9 namespace chromecast { | 10 namespace chromecast { |
10 namespace media { | 11 namespace media { |
11 | 12 |
12 unsigned int MediaCapabilities::g_hdmi_codecs = 0; | 13 unsigned int MediaCapabilities::g_hdmi_codecs = 0; |
13 int MediaCapabilities::g_hdcp_version = 0; | 14 int MediaCapabilities::g_hdcp_version = 0; |
14 int MediaCapabilities::g_supported_eotfs = 0; | 15 int MediaCapabilities::g_supported_eotfs = 0; |
15 int MediaCapabilities::g_dolby_vision_flags = 0; | 16 int MediaCapabilities::g_dolby_vision_flags = 0; |
16 bool MediaCapabilities::g_cur_mode_supports_hdr = false; | 17 bool MediaCapabilities::g_cur_mode_supports_hdr = false; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 bool MediaCapabilities::CurrentHdmiModeSupportsDolbyVision() { | 106 bool MediaCapabilities::CurrentHdmiModeSupportsDolbyVision() { |
106 return g_cur_mode_supports_dv; | 107 return g_cur_mode_supports_dv; |
107 } | 108 } |
108 | 109 |
109 gfx::Size MediaCapabilities::GetScreenResolution() { | 110 gfx::Size MediaCapabilities::GetScreenResolution() { |
110 return g_screen_resolution; | 111 return g_screen_resolution; |
111 } | 112 } |
112 | 113 |
113 } // namespace media | 114 } // namespace media |
114 } // namespace chromecast | 115 } // namespace chromecast |
OLD | NEW |