| 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 <stdint.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 | 10 |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 10 #include "media/base/video_frame.h" | 12 #include "media/base/video_frame.h" |
| 11 #include "third_party/libyuv/include/libyuv/convert.h" | 13 #include "third_party/libyuv/include/libyuv/convert.h" |
| 12 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
| 13 | 15 |
| 14 namespace media { | 16 namespace media { |
| 15 namespace cast { | 17 namespace cast { |
| 16 namespace test { | 18 namespace test { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 image_->height, | 157 image_->height, |
| 156 true); | 158 true); |
| 157 | 159 |
| 158 // Very important for the image to update properly! | 160 // Very important for the image to update properly! |
| 159 XSync(display_, false); | 161 XSync(display_, false); |
| 160 } | 162 } |
| 161 | 163 |
| 162 } // namespace test | 164 } // namespace test |
| 163 } // namespace cast | 165 } // namespace cast |
| 164 } // namespace media | 166 } // namespace media |
| OLD | NEW |