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

Side by Side Diff: chromecast/media/cma/test/mock_frame_provider.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/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698