| 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/threading/thread_task_runner_handle.h" |
| 11 #include "chromecast/media/cma/base/coded_frame_provider.h" | 11 #include "chromecast/media/cma/base/coded_frame_provider.h" |
| 12 #include "chromecast/media/cma/base/decoder_buffer_base.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 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 dummy_msg->content_size())); | 207 dummy_msg->content_size())); |
| 208 if (!msg) | 208 if (!msg) |
| 209 return false; | 209 return false; |
| 210 | 210 |
| 211 DecoderBufferBaseMarshaller::Write(buffer, msg.get()); | 211 DecoderBufferBaseMarshaller::Write(buffer, msg.get()); |
| 212 return true; | 212 return true; |
| 213 } | 213 } |
| 214 | 214 |
| 215 } // namespace media | 215 } // namespace media |
| 216 } // namespace chromecast | 216 } // namespace chromecast |
| OLD | NEW |