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

Side by Side Diff: chromecast/media/cma/backend/media_pipeline_device.h

Issue 622853002: Chromecast: adds interfaces for hardware layer of CMA pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-decrypt-context
Patch Set: damien comments Created 6 years, 2 months 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace chromecast {
12 namespace media {
13 class AudioPipelineDevice;
14 class MediaClockDevice;
15 class MediaPipelineDeviceParams;
16 class VideoPipelineDevice;
17
18 // MediaPipelineDevice is the owner of the underlying audio/video/clock
19 // devices.
20 class MediaPipelineDevice {
21 public:
22 MediaPipelineDevice();
23 virtual ~MediaPipelineDevice();
24
25 virtual AudioPipelineDevice* GetAudioPipelineDevice() const = 0;
26
27 virtual VideoPipelineDevice* GetVideoPipelineDevice() const = 0;
28
29 virtual MediaClockDevice* GetMediaClockDevice() const = 0;
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(MediaPipelineDevice);
33 };
34
35 // Factory to create a MediaPipelineDevice.
36 scoped_ptr<MediaPipelineDevice> CreateMediaPipelineDevice(
37 const MediaPipelineDeviceParams& params);
38
39 } // namespace media
40 } // namespace chromecast
41
42 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
OLDNEW
« no previous file with comments | « chromecast/media/cma/backend/media_component_device.cc ('k') | chromecast/media/cma/backend/media_pipeline_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698