| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "media/cast/test/linux_output_window.h" | 5 #include "media/cast/test/linux_output_window.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "media/base/video_frame.h" | 8 #include "media/base/video_frame.h" |
| 9 #include "third_party/libyuv/include/libyuv/convert.h" | 9 #include "third_party/libyuv/include/libyuv/convert.h" |
| 10 #include "ui/gfx/size.h" | 10 #include "ui/gfx/geometry/size.h" |
| 11 | 11 |
| 12 namespace media { | 12 namespace media { |
| 13 namespace cast { | 13 namespace cast { |
| 14 namespace test { | 14 namespace test { |
| 15 | 15 |
| 16 LinuxOutputWindow::LinuxOutputWindow(int x_pos, | 16 LinuxOutputWindow::LinuxOutputWindow(int x_pos, |
| 17 int y_pos, | 17 int y_pos, |
| 18 int width, | 18 int width, |
| 19 int height, | 19 int height, |
| 20 const std::string& name) { | 20 const std::string& name) { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 video_frame->coded_size().height(), | 144 video_frame->coded_size().height(), |
| 145 true); | 145 true); |
| 146 | 146 |
| 147 // Very important for the image to update properly! | 147 // Very important for the image to update properly! |
| 148 XSync(display_, false); | 148 XSync(display_, false); |
| 149 } | 149 } |
| 150 | 150 |
| 151 } // namespace test | 151 } // namespace test |
| 152 } // namespace cast | 152 } // namespace cast |
| 153 } // namespace media | 153 } // namespace media |
| OLD | NEW |