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

Side by Side Diff: chromecast/media/cma/adapter/video_pipeline_device.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add V1 adapter Created 5 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
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 #ifndef CHROMECAST_PUBLIC_MEDIA_VIDEO_PIPELINE_DEVICE_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_ADAPTER_VIDEO_PIPELINE_DEVICE_H_
6 #define CHROMECAST_PUBLIC_MEDIA_VIDEO_PIPELINE_DEVICE_H_ 6 #define CHROMECAST_MEDIA_CMA_ADAPTER_VIDEO_PIPELINE_DEVICE_H_
7 7
8 #include "media_component_device.h" 8 #include "media_component_device.h"
9 9
10 namespace chromecast { 10 namespace chromecast {
11 struct Size; 11 struct Size;
12 12
13 namespace media { 13 namespace media {
14 struct VideoConfig; 14 struct VideoConfig;
15 15
16 // Interface for platform-specific video pipeline backend. 16 // Interface for platform-specific video pipeline backend.
(...skipping 23 matching lines...) Expand all
40 // Provides the video configuration. 40 // Provides the video configuration.
41 // Called before switching from |kStateUninitialized| to |kStateIdle|. 41 // Called before switching from |kStateUninitialized| to |kStateIdle|.
42 // Afterwards, this can be invoked any time the configuration changes. 42 // Afterwards, this can be invoked any time the configuration changes.
43 // Returns true if the configuration is a supported configuration. 43 // Returns true if the configuration is a supported configuration.
44 virtual bool SetConfig(const VideoConfig& config) = 0; 44 virtual bool SetConfig(const VideoConfig& config) = 0;
45 }; 45 };
46 46
47 } // namespace media 47 } // namespace media
48 } // namespace chromecast 48 } // namespace chromecast
49 49
50 #endif // CHROMECAST_MEDIA_CMA_BACKEND_VIDEO_PIPELINE_DEVICE_H_ 50 #endif // CHROMECAST_MEDIA_CMA_ADAPTER_VIDEO_PIPELINE_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698