| 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 <list> | 5 #include <list> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
| 13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "chromecast/media/cma/base/decoder_buffer_base.h" | |
| 16 #include "chromecast/media/cma/ipc/media_memory_chunk.h" | 15 #include "chromecast/media/cma/ipc/media_memory_chunk.h" |
| 17 #include "chromecast/media/cma/ipc/media_message_fifo.h" | 16 #include "chromecast/media/cma/ipc/media_message_fifo.h" |
| 18 #include "chromecast/media/cma/ipc_streamer/av_streamer_proxy.h" | 17 #include "chromecast/media/cma/ipc_streamer/av_streamer_proxy.h" |
| 19 #include "chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h" | 18 #include "chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h" |
| 20 #include "chromecast/media/cma/test/frame_generator_for_test.h" | 19 #include "chromecast/media/cma/test/frame_generator_for_test.h" |
| 21 #include "chromecast/media/cma/test/mock_frame_consumer.h" | 20 #include "chromecast/media/cma/test/mock_frame_consumer.h" |
| 22 #include "chromecast/media/cma/test/mock_frame_provider.h" | 21 #include "chromecast/media/cma/test/mock_frame_provider.h" |
| 22 #include "chromecast/public/media/cast_decoder_buffer.h" |
| 23 #include "media/base/audio_decoder_config.h" | 23 #include "media/base/audio_decoder_config.h" |
| 24 #include "media/base/decoder_buffer.h" | 24 #include "media/base/decoder_buffer.h" |
| 25 #include "media/base/video_decoder_config.h" | 25 #include "media/base/video_decoder_config.h" |
| 26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
| 27 | 27 |
| 28 namespace chromecast { | 28 namespace chromecast { |
| 29 namespace media { | 29 namespace media { |
| 30 | 30 |
| 31 namespace { | 31 namespace { |
| 32 | 32 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 message_loop->PostDelayedTask( | 313 message_loop->PostDelayedTask( |
| 314 FROM_HERE, | 314 FROM_HERE, |
| 315 base::Bind(&AvStreamerTest::FlushThenStop, base::Unretained(this)), | 315 base::Bind(&AvStreamerTest::FlushThenStop, base::Unretained(this)), |
| 316 base::TimeDelta::FromMilliseconds(10)); | 316 base::TimeDelta::FromMilliseconds(10)); |
| 317 | 317 |
| 318 message_loop->Run(); | 318 message_loop->Run(); |
| 319 } | 319 } |
| 320 | 320 |
| 321 } // namespace media | 321 } // namespace media |
| 322 } // namespace chromecast | 322 } // namespace chromecast |
| OLD | NEW |