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 "remoting/client/software_video_renderer.h" | 5 #include "remoting/client/software_video_renderer.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
13 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
14 #include "remoting/client/frame_consumer.h" | 16 #include "remoting/client/frame_consumer.h" |
15 #include "remoting/codec/video_encoder_verbatim.h" | 17 #include "remoting/codec/video_encoder_verbatim.h" |
16 #include "remoting/proto/video.pb.h" | 18 #include "remoting/proto/video.pb.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 175 |
174 EXPECT_FALSE(callback_called[frame_index]); | 176 EXPECT_FALSE(callback_called[frame_index]); |
175 done_callback.Run(); | 177 done_callback.Run(); |
176 EXPECT_TRUE(callback_called[frame_index]); | 178 EXPECT_TRUE(callback_called[frame_index]); |
177 | 179 |
178 EXPECT_TRUE(CompareFrames(*test_frames[frame_index], *decoded_frame)); | 180 EXPECT_TRUE(CompareFrames(*test_frames[frame_index], *decoded_frame)); |
179 } | 181 } |
180 } | 182 } |
181 | 183 |
182 } // namespace remoting | 184 } // namespace remoting |
OLD | NEW |