| 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 #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 Loading... |
| 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_ |
| OLD | NEW |