Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.cc

Issue 1494713002: [Chromecast] Move CastAudioDecoder out to chromecast/media/cma/decoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/decoder_buffer_base_marshaller.h" 5 #include "chromecast/media/cma/ipc_streamer/decoder_buffer_base_marshaller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chromecast/media/base/decoder_buffer_base.h"
8 #include "chromecast/media/cma/base/cast_decrypt_config_impl.h" 9 #include "chromecast/media/cma/base/cast_decrypt_config_impl.h"
9 #include "chromecast/media/cma/base/decoder_buffer_base.h"
10 #include "chromecast/media/cma/ipc/media_message.h" 10 #include "chromecast/media/cma/ipc/media_message.h"
11 #include "chromecast/media/cma/ipc/media_message_type.h" 11 #include "chromecast/media/cma/ipc/media_message_type.h"
12 #include "chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h" 12 #include "chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h"
13 #include "chromecast/public/media/cast_decrypt_config.h" 13 #include "chromecast/public/media/cast_decrypt_config.h"
14 #include "media/base/decoder_buffer.h" 14 #include "media/base/decoder_buffer.h"
15 #include "media/base/decrypt_config.h" 15 #include "media/base/decrypt_config.h"
16 16
17 namespace chromecast { 17 namespace chromecast {
18 namespace media { 18 namespace media {
19 19
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 scoped_refptr<DecoderBufferBase> DecoderBufferBaseMarshaller::Read( 199 scoped_refptr<DecoderBufferBase> DecoderBufferBaseMarshaller::Read(
200 scoped_ptr<MediaMessage> msg) { 200 scoped_ptr<MediaMessage> msg) {
201 scoped_refptr<DecoderBufferFromMsg> buffer( 201 scoped_refptr<DecoderBufferFromMsg> buffer(
202 new DecoderBufferFromMsg(msg.Pass())); 202 new DecoderBufferFromMsg(msg.Pass()));
203 buffer->Initialize(); 203 buffer->Initialize();
204 return buffer; 204 return buffer;
205 } 205 }
206 206
207 } // namespace media 207 } // namespace media
208 } // namespace chromecast 208 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698