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/ipc_streamer/av_streamer_proxy.h" | 5 #include "chromecast/media/cma/ipc_streamer/av_streamer_proxy.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 "chromecast/media/base/decoder_buffer_base.h" |
11 #include "chromecast/media/cma/base/coded_frame_provider.h" | 12 #include "chromecast/media/cma/base/coded_frame_provider.h" |
12 #include "chromecast/media/cma/base/decoder_buffer_base.h" | |
13 #include "chromecast/media/cma/ipc/media_memory_chunk.h" | 13 #include "chromecast/media/cma/ipc/media_memory_chunk.h" |
14 #include "chromecast/media/cma/ipc/media_message.h" | 14 #include "chromecast/media/cma/ipc/media_message.h" |
15 #include "chromecast/media/cma/ipc/media_message_fifo.h" | 15 #include "chromecast/media/cma/ipc/media_message_fifo.h" |
16 #include "chromecast/media/cma/ipc/media_message_type.h" | 16 #include "chromecast/media/cma/ipc/media_message_type.h" |
17 #include "chromecast/media/cma/ipc_streamer/audio_decoder_config_marshaller.h" | 17 #include "chromecast/media/cma/ipc_streamer/audio_decoder_config_marshaller.h" |
18 #include "chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.h" | 18 #include "chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.h" |
19 #include "chromecast/media/cma/ipc_streamer/video_decoder_config_marshaller.h" | 19 #include "chromecast/media/cma/ipc_streamer/video_decoder_config_marshaller.h" |
20 | 20 |
21 namespace chromecast { | 21 namespace chromecast { |
22 namespace media { | 22 namespace media { |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 dummy_msg->content_size())); | 213 dummy_msg->content_size())); |
214 if (!msg) | 214 if (!msg) |
215 return false; | 215 return false; |
216 | 216 |
217 DecoderBufferBaseMarshaller::Write(buffer, msg.get()); | 217 DecoderBufferBaseMarshaller::Write(buffer, msg.get()); |
218 return true; | 218 return true; |
219 } | 219 } |
220 | 220 |
221 } // namespace media | 221 } // namespace media |
222 } // namespace chromecast | 222 } // namespace chromecast |
OLD | NEW |