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> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
10 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
11 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
12 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
13 #include "remoting/codec/video_decoder.h" | 16 #include "remoting/codec/video_decoder.h" |
14 #include "remoting/codec/video_decoder_verbatim.h" | 17 #include "remoting/codec/video_decoder_verbatim.h" |
15 #include "remoting/codec/video_decoder_vpx.h" | 18 #include "remoting/codec/video_decoder_vpx.h" |
16 #include "remoting/proto/video.pb.h" | 19 #include "remoting/proto/video.pb.h" |
17 #include "remoting/test/rgb_value.h" | 20 #include "remoting/test/rgb_value.h" |
18 #include "remoting/test/video_frame_writer.h" | 21 #include "remoting/test/video_frame_writer.h" |
19 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 22 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 DCHECK(thread_checker_.CalledOnValidThread()); | 368 DCHECK(thread_checker_.CalledOnValidThread()); |
366 | 369 |
367 video_decode_task_runner_->PostTask( | 370 video_decode_task_runner_->PostTask( |
368 FROM_HERE, | 371 FROM_HERE, |
369 base::Bind(&Core::save_frame_data_to_disk, base::Unretained(core_.get()), | 372 base::Bind(&Core::save_frame_data_to_disk, base::Unretained(core_.get()), |
370 save_frame_data_to_disk)); | 373 save_frame_data_to_disk)); |
371 } | 374 } |
372 | 375 |
373 } // namespace test | 376 } // namespace test |
374 } // namespace remoting | 377 } // namespace remoting |
OLD | NEW |