| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/files/memory_mapped_file.h" | 14 #include "base/files/memory_mapped_file.h" |
| 15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ptr_util.h" | 17 #include "base/memory/ptr_util.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/memory/scoped_vector.h" | 19 #include "base/memory/scoped_vector.h" |
| 20 #include "base/message_loop/message_loop.h" | 20 #include "base/message_loop/message_loop.h" |
| 21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
| 22 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
| 23 #include "base/thread_task_runner_handle.h" | |
| 24 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
| 25 #include "base/threading/thread_checker.h" | 24 #include "base/threading/thread_checker.h" |
| 25 #include "base/threading/thread_task_runner_handle.h" |
| 26 #include "base/time/time.h" | 26 #include "base/time/time.h" |
| 27 #include "chromecast/base/task_runner_impl.h" | 27 #include "chromecast/base/task_runner_impl.h" |
| 28 #include "chromecast/media/cma/base/decoder_buffer_adapter.h" | 28 #include "chromecast/media/cma/base/decoder_buffer_adapter.h" |
| 29 #include "chromecast/media/cma/base/decoder_config_adapter.h" | 29 #include "chromecast/media/cma/base/decoder_config_adapter.h" |
| 30 #include "chromecast/media/cma/test/frame_segmenter_for_test.h" | 30 #include "chromecast/media/cma/test/frame_segmenter_for_test.h" |
| 31 #include "chromecast/public/cast_media_shlib.h" | 31 #include "chromecast/public/cast_media_shlib.h" |
| 32 #include "chromecast/public/media/cast_decoder_buffer.h" | 32 #include "chromecast/public/media/cast_decoder_buffer.h" |
| 33 #include "chromecast/public/media/decoder_config.h" | 33 #include "chromecast/public/media/decoder_config.h" |
| 34 #include "chromecast/public/media/media_pipeline_backend.h" | 34 #include "chromecast/public/media/media_pipeline_backend.h" |
| 35 #include "chromecast/public/media/media_pipeline_device_params.h" | 35 #include "chromecast/public/media/media_pipeline_device_params.h" |
| (...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1174 set_sync_type(MediaPipelineDeviceParams::kModeIgnorePtsAndVSync); | 1174 set_sync_type(MediaPipelineDeviceParams::kModeIgnorePtsAndVSync); |
| 1175 ConfigureForFile("bear-640x360.webm"); | 1175 ConfigureForFile("bear-640x360.webm"); |
| 1176 PauseBeforeEos(); | 1176 PauseBeforeEos(); |
| 1177 AddEffectsStreams(); | 1177 AddEffectsStreams(); |
| 1178 Start(); | 1178 Start(); |
| 1179 message_loop->Run(); | 1179 message_loop->Run(); |
| 1180 } | 1180 } |
| 1181 | 1181 |
| 1182 } // namespace media | 1182 } // namespace media |
| 1183 } // namespace chromecast | 1183 } // namespace chromecast |
| OLD | NEW |