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/test/test_video_renderer.h" | 5 #include "remoting/test/test_video_renderer.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
15 #include "base/thread_task_runner_handle.h" | |
16 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "remoting/codec/video_decoder.h" | 17 #include "remoting/codec/video_decoder.h" |
18 #include "remoting/codec/video_decoder_verbatim.h" | 18 #include "remoting/codec/video_decoder_verbatim.h" |
19 #include "remoting/codec/video_decoder_vpx.h" | 19 #include "remoting/codec/video_decoder_vpx.h" |
20 #include "remoting/proto/video.pb.h" | 20 #include "remoting/proto/video.pb.h" |
21 #include "remoting/test/rgb_value.h" | 21 #include "remoting/test/rgb_value.h" |
22 #include "remoting/test/video_frame_writer.h" | 22 #include "remoting/test/video_frame_writer.h" |
23 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 23 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
24 #include "third_party/webrtc/modules/desktop_capture/shared_desktop_frame.h" | 24 #include "third_party/webrtc/modules/desktop_capture/shared_desktop_frame.h" |
25 | 25 |
26 namespace { | 26 namespace { |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 DCHECK(thread_checker_.CalledOnValidThread()); | 374 DCHECK(thread_checker_.CalledOnValidThread()); |
375 | 375 |
376 video_decode_task_runner_->PostTask( | 376 video_decode_task_runner_->PostTask( |
377 FROM_HERE, | 377 FROM_HERE, |
378 base::Bind(&Core::save_frame_data_to_disk, base::Unretained(core_.get()), | 378 base::Bind(&Core::save_frame_data_to_disk, base::Unretained(core_.get()), |
379 save_frame_data_to_disk)); | 379 save_frame_data_to_disk)); |
380 } | 380 } |
381 | 381 |
382 } // namespace test | 382 } // namespace test |
383 } // namespace remoting | 383 } // namespace remoting |
OLD | NEW |