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 "chromecast/media/cma/test/mock_frame_provider.h" | 5 #include "chromecast/media/cma/test/mock_frame_provider.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "chromecast/media/cma/base/decoder_buffer_base.h" | 12 #include "chromecast/media/base/decoder_buffer_base.h" |
13 #include "chromecast/media/cma/test/frame_generator_for_test.h" | 13 #include "chromecast/media/cma/test/frame_generator_for_test.h" |
14 #include "media/base/audio_decoder_config.h" | 14 #include "media/base/audio_decoder_config.h" |
15 #include "media/base/decoder_buffer.h" | 15 #include "media/base/decoder_buffer.h" |
16 #include "media/base/media_util.h" | 16 #include "media/base/media_util.h" |
17 #include "media/base/video_decoder_config.h" | 17 #include "media/base/video_decoder_config.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
20 #include "ui/gfx/geometry/size.h" | 20 #include "ui/gfx/geometry/size.h" |
21 | 21 |
22 namespace chromecast { | 22 namespace chromecast { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 44100, | 91 44100, |
92 ::media::EmptyExtraData(), | 92 ::media::EmptyExtraData(), |
93 false); | 93 false); |
94 } | 94 } |
95 | 95 |
96 read_cb.Run(buffer, audio_config, video_config); | 96 read_cb.Run(buffer, audio_config, video_config); |
97 } | 97 } |
98 | 98 |
99 } // namespace media | 99 } // namespace media |
100 } // namespace chromecast | 100 } // namespace chromecast |
OLD | NEW |